Diff of the two buildlogs: -- --- b1/build.log 2025-07-25 19:44:41.522639684 +0000 +++ b2/build.log 2025-07-25 19:46:41.366783344 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jul 25 07:42:38 -12 2025 -I: pbuilder-time-stamp: 1753472558 +I: Current time: Fri Aug 28 16:07:44 +14 2026 +I: pbuilder-time-stamp: 1787882864 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking openseachest_25.05.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3180920/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3450754/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 28 02:07 /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/3450754/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3450754/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='experimental' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=experimental + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='a6886c098e5e4dd38ebd98aacb87cb19' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3180920' - PS1='# ' - PS2='> ' + INVOCATION_ID=0e971e749ccb4b49a75a83549027a246 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3450754 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.rwdOfXd5/pbuilderrc_cusL --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rwdOfXd5/b1 --logfile b1/build.log openseachest_25.05.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rwdOfXd5/pbuilderrc_xHir --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rwdOfXd5/b2 --logfile b2/build.log openseachest_25.05.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3180920/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3450754/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -163,7 +195,7 @@ Get: 54 http://deb.debian.org/debian unstable/main arm64 python3-zipp all 3.21.0-1 [10.6 kB] Get: 55 http://deb.debian.org/debian unstable/main arm64 python3-setuptools all 78.1.1-0.1 [738 kB] Get: 56 http://deb.debian.org/debian unstable/main arm64 meson all 1.7.0-1 [639 kB] -Fetched 19.2 MB in 0s (78.0 MB/s) +Fetched 19.2 MB in 0s (140 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19963 files and directories currently installed.) @@ -359,8 +391,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jul 25 19:43:11 UTC 2025. -Universal Time is now: Fri Jul 25 19:43:11 UTC 2025. +Local time is now: Fri Aug 28 02:08:07 UTC 2026. +Universal Time is now: Fri Aug 28 02:08:07 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -414,7 +446,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/openseachest-25.05.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../openseachest_25.05.1-1_source.changes +I: user script /srv/workspace/pbuilder/3450754/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for experimental +I: user script /srv/workspace/pbuilder/3450754/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/openseachest-25.05.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../openseachest_25.05.1-1_source.changes dpkg-buildpackage: info: source package openseachest dpkg-buildpackage: info: source version 25.05.1-1 dpkg-buildpackage: info: source distribution experimental @@ -893,14 +929,11 @@ [1/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_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/156] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c +[2/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -c ../subprojects/opensea-common/src/env_detect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[3/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -c ../subprojects/opensea-common/src/constraint_handling.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/constraint_handling.h:16, - from ../subprojects/opensea-common/src/constraint_handling.c:14: +In file included from ../subprojects/opensea-common/include/env_detect.h:15, + from ../subprojects/opensea-common/src/env_detect.c:13: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -1033,50 +1066,11 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-common/src/constraint_handling.c:83:26: note: in expansion of macro ‘M_ATTR_UNUSED’ - 83 | void safe_ignore_handler(M_ATTR_UNUSED const char* M_RESTRICT msg, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-common/src/constraint_handling.c:84:26: note: in expansion of macro ‘M_ATTR_UNUSED’ - 84 | M_ATTR_UNUSED void* M_RESTRICT ptr, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-common/src/constraint_handling.c:85:26: note: in expansion of macro ‘M_ATTR_UNUSED’ - 85 | M_ATTR_UNUSED errno_t error) - | ^~~~~~~~~~~~~ -[4/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/error_translation.h:15, - from ../subprojects/opensea-common/src/error_translation.c:13: -../subprojects/opensea-common/src/error_translation.c: In function ‘print_Errno_To_Screen’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-common/src/error_translation.c:86:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 86 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ERROR_STRING_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[5/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -c ../subprojects/opensea-common/src/prng.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[6/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -c ../subprojects/opensea-common/src/sleep.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[7/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -c ../subprojects/opensea-common/src/precision_timer.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[8/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -c ../subprojects/opensea-common/src/env_detect.c +[3/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o -c ../subprojects/opensea-common/src/constraint_handling.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/env_detect.h:15, - from ../subprojects/opensea-common/src/env_detect.c:13: +In file included from ../subprojects/opensea-common/include/constraint_handling.h:16, + from ../subprojects/opensea-common/src/constraint_handling.c:14: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -1209,7 +1203,63 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -[9/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -c ../subprojects/opensea-common/src/sort_and_search.c +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-common/src/constraint_handling.c:83:26: note: in expansion of macro ‘M_ATTR_UNUSED’ + 83 | void safe_ignore_handler(M_ATTR_UNUSED const char* M_RESTRICT msg, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-common/src/constraint_handling.c:84:26: note: in expansion of macro ‘M_ATTR_UNUSED’ + 84 | M_ATTR_UNUSED void* M_RESTRICT ptr, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-common/src/constraint_handling.c:85:26: note: in expansion of macro ‘M_ATTR_UNUSED’ + 85 | M_ATTR_UNUSED errno_t error) + | ^~~~~~~~~~~~~ +[4/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/error_translation.h:15, + from ../subprojects/opensea-common/src/error_translation.c:13: +../subprojects/opensea-common/src/error_translation.c: In function ‘print_Errno_To_Screen’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-common/src/error_translation.c:86:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 86 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ERROR_STRING_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[5/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o -c ../subprojects/opensea-common/src/prng.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[6/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o -c ../subprojects/opensea-common/src/precision_timer.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[7/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -c ../subprojects/opensea-common/src/pattern_utils.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[8/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -c ../subprojects/opensea-common/src/secured_env_vars.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/secured_env_vars.h:16, + from ../subprojects/opensea-common/src/secured_env_vars.c:14: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ + 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/secured_env_vars.c:159:1: note: in expansion of macro ‘M_NODISCARD’ + 159 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar) + | ^~~~~~~~~~~ +[9/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o -c ../subprojects/opensea-common/src/sleep.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [10/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -c ../subprojects/opensea-common/src/bit_manip.c @@ -1319,39 +1369,25 @@ ../subprojects/opensea-common/src/bit_manip.c:120:45: note: in expansion of macro ‘M_ATTR_UNUSED’ 120 | M_ATTR_UNUSED size_t outputsize, | ^~~~~~~~~~~~~ -[11/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -c ../subprojects/opensea-common/src/pattern_utils.c +[11/156] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -MF subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o.d -o subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -c ../subprojects/wingetopt/src/getopt.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[12/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o -c ../subprojects/opensea-common/src/secured_env_vars.c +[12/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o -c ../subprojects/opensea-common/src/sort_and_search.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/secured_env_vars.h:16, - from ../subprojects/opensea-common/src/secured_env_vars.c:14: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ - 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/secured_env_vars.c:159:1: note: in expansion of macro ‘M_NODISCARD’ - 159 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar) - | ^~~~~~~~~~~ -[13/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -c ../subprojects/opensea-common/src/safe_bsearch.c +[13/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -c ../subprojects/opensea-common/src/safe_qsort.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[14/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -c ../subprojects/opensea-common/src/safe_strtok.c +[14/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -c ../subprojects/opensea-common/src/memory_safety.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[15/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -c ../subprojects/opensea-common/src/safe_lsearch.c +[15/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o -c ../subprojects/opensea-common/src/safe_bsearch.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[16/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o -c ../subprojects/opensea-common/src/memory_safety.c +[16/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o -c ../subprojects/opensea-common/src/safe_strtok.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[17/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o -c ../subprojects/opensea-common/src/safe_qsort.c +[17/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o -c ../subprojects/opensea-common/src/safe_lsearch.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [18/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -c ../subprojects/opensea-common/src/unit_conversion.c @@ -1491,7 +1527,109 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -[19/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -c ../subprojects/opensea-common/src/secure_file.c +[19/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -c ../subprojects/opensea-common/src/type_conversion.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../subprojects/opensea-common/include/type_conversion.h:15, + from ../subprojects/opensea-common/src/type_conversion.c:13: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +[20/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -c ../subprojects/opensea-common/src/secure_file.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/secure_file.h:16, @@ -1775,12 +1913,11 @@ ../subprojects/opensea-common/src/secure_file.c:1419:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1419 | DECLARE_ZERO_INIT_ARRAY(char, path, OPENSEA_PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -[20/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o -c ../subprojects/opensea-common/src/type_conversion.c +[21/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -c ../subprojects/opensea-transport/src/asmedia_nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../subprojects/opensea-common/include/type_conversion.h:15, - from ../subprojects/opensea-common/src/type_conversion.c:13: +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-transport/src/asmedia_nvme_helper.c:19: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -1877,7 +2014,55 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -[21/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -c ../subprojects/opensea-common/src/validate_format.c +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PASSTHROUGH_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASM_NVMe_Cmd’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:480:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 480 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmCDB, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:481:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmPayload, ASM_NVMP_DWORDS_DATA_PACKET_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:564:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 564 | DECLARE_ZERO_INIT_ARRAY(uint8_t, completionData, ASM_NVMP_RESPONSE_DATA_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Shutdown’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:612:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 612 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Reset_Bridge’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:630:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 630 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Relink_Bridge’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/asmedia_nvme_helper.c:648:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 648 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[22/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o -c ../subprojects/opensea-common/src/validate_format.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/src/validate_format.c:15: @@ -2077,7 +2262,7 @@ ../subprojects/opensea-common/src/validate_format.c:858:21: note: in expansion of macro ‘M_VALIDATE_FORMAT_RETURN_VAL’ 858 | M_VALIDATE_FORMAT_RETURN_VAL( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[22/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -c ../subprojects/opensea-common/src/posix_secure_file.c +[23/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -c ../subprojects/opensea-common/src/posix_secure_file.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/io_utils.h:19, @@ -2316,7 +2501,7 @@ ../subprojects/opensea-common/src/posix_secure_file.c:113:1: note: in expansion of macro ‘M_NODISCARD’ 113 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file) | ^~~~~~~~~~~ -[23/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -c ../subprojects/opensea-common/src/time_utils.c +[24/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o -c ../subprojects/opensea-common/src/time_utils.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -2550,160 +2735,143 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -[24/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o -c ../subprojects/opensea-transport/src/asmedia_nvme_helper.c +[25/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/asmedia_nvme_helper.c:19: +In file included from ../subprojects/opensea-common/include/io_utils.h:19, + from ../subprojects/opensea-common/src/io_utils.c:17: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASMedia_Basic_NVMe_Passthrough_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PASSTHROUGH_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘send_ASM_NVMe_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:480:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 480 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmCDB, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:481:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 481 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmPayload, ASM_NVMP_DWORDS_DATA_PACKET_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:564:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 564 | DECLARE_ZERO_INIT_ARRAY(uint8_t, completionData, ASM_NVMP_RESPONSE_DATA_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Shutdown’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:612:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 612 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Reset_Bridge’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:630:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 630 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c: In function ‘asm_nvme_Relink_Bridge’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/asmedia_nvme_helper.c:648:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 648 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[25/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -c ../subprojects/opensea-transport/src/ciss_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ciss_helper.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -2800,212 +2968,166 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ + 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:698:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 698 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:710:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 710 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1412:1: note: in expansion of macro ‘M_NODISCARD’ + 1412 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1447:1: note: in expansion of macro ‘M_NODISCARD’ + 1447 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1482:1: note: in expansion of macro ‘M_NODISCARD’ + 1482 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1507:1: note: in expansion of macro ‘M_NODISCARD’ + 1507 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1532:1: note: in expansion of macro ‘M_NODISCARD’ + 1532 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1557:1: note: in expansion of macro ‘M_NODISCARD’ + 1557 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1592:1: note: in expansion of macro ‘M_NODISCARD’ + 1592 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1627:1: note: in expansion of macro ‘M_NODISCARD’ + 1627 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1658:1: note: in expansion of macro ‘M_NODISCARD’ + 1658 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1689:1: note: in expansion of macro ‘M_NODISCARD’ + 1689 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1720:1: note: in expansion of macro ‘M_NODISCARD’ + 1720 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1759:1: note: in expansion of macro ‘M_NODISCARD’ + 1759 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1789:1: note: in expansion of macro ‘M_NODISCARD’ + 1789 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1819:1: note: in expansion of macro ‘M_NODISCARD’ + 1819 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1851:1: note: in expansion of macro ‘M_DEPRECATED’ + 1851 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1856:1: note: in expansion of macro ‘M_NODISCARD’ + 1856 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1881:1: note: in expansion of macro ‘M_NODISCARD’ + 1881 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1911:1: note: in expansion of macro ‘M_NODISCARD’ + 1911 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1941:1: note: in expansion of macro ‘M_NODISCARD’ + 1941 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:1998:1: note: in expansion of macro ‘M_NODISCARD’ + 1998 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c:2032:1: note: in expansion of macro ‘M_NODISCARD’ + 2032 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/include/ciss_helper_func.h:57:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 57 | M_ATTR_UNUSED uint64_t flags, - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 250 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 367 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1446:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1446 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1565:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1565 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ciss_helper.c:1665:42: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1665 | M_ATTR_UNUSED uint64_t flags, - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1672:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1672 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: +../subprojects/opensea-common/src/io_utils.c:2061:1: note: in expansion of macro ‘M_NODISCARD’ + 2061 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/io_utils.h:20: +../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1810:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1810 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-common/src/io_utils.c:2612:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2612 | DECLARE_ZERO_INIT_ARRAY(char, line, DATA_LINE_BUFFER_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1841:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1841 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ [26/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o -c ../subprojects/opensea-common/src/posix_env_detect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition @@ -3295,11 +3417,14 @@ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../subprojects/opensea-transport/src/intel_rst_helper.c:1126: warning: ISO C forbids an empty translation unit [-Wpedantic] -[28/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c +[28/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -c ../subprojects/opensea-common/src/string_utils.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[29/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -c ../subprojects/opensea-transport/src/cypress_legacy_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: + from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -3397,18 +3522,37 @@ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:177:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); +../subprojects/opensea-transport/src/cypress_legacy_helper.c:78:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 78 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[29/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -c ../subprojects/opensea-transport/src/cypress_legacy_helper.c +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:80:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[30/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o -c ../subprojects/opensea-transport/src/ciss_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: + from ../subprojects/opensea-transport/src/ciss_helper.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -3505,38 +3649,6 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:78:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 78 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:80:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[30/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/io_utils.h:19, - from ../subprojects/opensea-common/src/io_utils.c:17: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -3672,6 +3784,85 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/include/ciss_helper_func.h:57:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 57 | M_ATTR_UNUSED uint64_t flags, + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:250:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 250 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:367:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 367 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1446:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1446 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1565:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1565 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ciss_helper.c:1665:42: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1665 | M_ATTR_UNUSED uint64_t flags, + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1672:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1672 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1810:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1810 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1841:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1841 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[31/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ ../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ @@ -3765,174 +3956,15 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secured_env_vars.h:49:5: note: in expansion of macro ‘M_NODISCARD’ - 49 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RO(1) M_NULL_TERM_STRING(1) M_PARAM_WO(2) eEnvVarResult - | ^~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:698:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 698 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:710:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 710 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1412:1: note: in expansion of macro ‘M_NODISCARD’ - 1412 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1447:1: note: in expansion of macro ‘M_NODISCARD’ - 1447 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1482:1: note: in expansion of macro ‘M_NODISCARD’ - 1482 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1507:1: note: in expansion of macro ‘M_NODISCARD’ - 1507 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1532:1: note: in expansion of macro ‘M_NODISCARD’ - 1532 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1557:1: note: in expansion of macro ‘M_NODISCARD’ - 1557 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1592:1: note: in expansion of macro ‘M_NODISCARD’ - 1592 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1627:1: note: in expansion of macro ‘M_NODISCARD’ - 1627 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1658:1: note: in expansion of macro ‘M_NODISCARD’ - 1658 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1689:1: note: in expansion of macro ‘M_NODISCARD’ - 1689 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1720:1: note: in expansion of macro ‘M_NODISCARD’ - 1720 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1759:1: note: in expansion of macro ‘M_NODISCARD’ - 1759 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1789:1: note: in expansion of macro ‘M_NODISCARD’ - 1789 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1819:1: note: in expansion of macro ‘M_NODISCARD’ - 1819 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1851:1: note: in expansion of macro ‘M_DEPRECATED’ - 1851 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1856:1: note: in expansion of macro ‘M_NODISCARD’ - 1856 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1881:1: note: in expansion of macro ‘M_NODISCARD’ - 1881 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1911:1: note: in expansion of macro ‘M_NODISCARD’ - 1911 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1941:1: note: in expansion of macro ‘M_NODISCARD’ - 1941 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1998:1: note: in expansion of macro ‘M_NODISCARD’ - 1998 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:2032:1: note: in expansion of macro ‘M_NODISCARD’ - 2032 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:2061:1: note: in expansion of macro ‘M_NODISCARD’ - 2061 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/io_utils.h:20: -../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/io_utils.c:2612:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2612 | DECLARE_ZERO_INIT_ARRAY(char, line, DATA_LINE_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[31/156] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o -c ../subprojects/opensea-common/src/string_utils.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[32/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -../subprojects/opensea-transport/src/of_nvme_helper.c:582: warning: ISO C forbids an empty translation unit [-Wpedantic] -[33/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -c ../subprojects/opensea-transport/src/jmicron_nvme_helper.c +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:177:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[32/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -c ../subprojects/opensea-transport/src/jmicron_nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -4217,125 +4249,11 @@ ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:389:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 389 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[34/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -c ../subprojects/opensea-transport/src/realtek_nvme_helper.c +[33/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/include/common_public.h:16, - from ../subprojects/opensea-transport/include/nvme_helper.h:15, - from ../subprojects/opensea-transport/include/realtek_nvme_helper.h:18, - from ../subprojects/opensea-transport/src/realtek_nvme_helper.c:18: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/realtek_nvme_helper.c: In function ‘send_Realtek_NVMe_Cmd’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/realtek_nvme_helper.c:198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekCDB, REALTEK_NVME_CDB_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/realtek_nvme_helper.c:199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekPayload, REALTEK_NVME_CMD_PAYLOAD_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[35/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -c ../subprojects/opensea-transport/src/nec_legacy_helper.c +../subprojects/opensea-transport/src/of_nvme_helper.c:582: warning: ISO C forbids an empty translation unit [-Wpedantic] +[34/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -c ../subprojects/opensea-transport/src/nec_legacy_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -4463,11 +4381,14 @@ ../subprojects/opensea-transport/src/nec_legacy_helper.c:139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[36/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -c ../subprojects/opensea-transport/src/cmds.c +[35/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o -c ../subprojects/opensea-transport/src/realtek_nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/cmds.c:16: + from ../subprojects/opensea-transport/include/common_public.h:16, + from ../subprojects/opensea-transport/include/nvme_helper.h:15, + from ../subprojects/opensea-transport/include/realtek_nvme_helper.h:18, + from ../subprojects/opensea-transport/src/realtek_nvme_helper.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -4565,39 +4486,24 @@ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:747:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 747 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:889:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 889 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: +../subprojects/opensea-transport/src/realtek_nvme_helper.c: In function ‘send_Realtek_NVMe_Cmd’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cmds.c:979:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 979 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: +../subprojects/opensea-transport/src/realtek_nvme_helper.c:198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekCDB, REALTEK_NVME_CDB_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cmds.c:1623:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[37/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c +../subprojects/opensea-transport/src/realtek_nvme_helper.c:199:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 199 | DECLARE_ZERO_INIT_ARRAY(uint8_t, realtekPayload, REALTEK_NVME_CMD_PAYLOAD_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[36/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -c ../subprojects/opensea-transport/src/cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: + from ../subprojects/opensea-transport/src/cmds.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -4695,39 +4601,35 @@ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:101:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 101 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c:747:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 747 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: +../subprojects/opensea-transport/src/cmds.c:889:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 889 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c:979:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 979 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[38/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -c ../subprojects/opensea-transport/src/ata_legacy_cmds.c +../subprojects/opensea-transport/src/cmds.c:1623:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[37/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -c ../subprojects/opensea-transport/src/ata_legacy_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -4990,11 +4892,11 @@ ../subprojects/opensea-transport/src/ata_legacy_cmds.c:315:43: note: in expansion of macro ‘M_ATTR_UNUSED’ 315 | M_ATTR_UNUSED uint16_t sectorCount, | ^~~~~~~~~~~~~ -[39/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -c ../subprojects/opensea-transport/src/nvme_helper.c +[38/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/nvme_helper.c:14: + from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -5091,169 +4993,51 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:591:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 591 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:592:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 592 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[40/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c +../subprojects/opensea-transport/src/psp_legacy_helper.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 143 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:144:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 144 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:175:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 175 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[39/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: + from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -5351,46 +5135,39 @@ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/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/prolific_legacy_helper.c:101:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 101 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:102:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 102 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:143:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 143 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:103:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 103 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:144:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 144 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:131:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:175:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 175 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[41/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -c ../subprojects/opensea-transport/src/raid_scan_helper.c +[40/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -c ../subprojects/opensea-transport/src/raid_scan_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -5635,11 +5412,11 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -[42/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -c ../subprojects/opensea-transport/src/sata_helper_func.c +[41/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -c ../subprojects/opensea-transport/src/nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/sata_helper_func.c:16: + from ../subprojects/opensea-transport/src/nvme_helper.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -5880,7 +5657,21 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -[43/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_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 +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/nvme_helper.c:591:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 591 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/nvme_helper.c:592:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 592 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[42/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o -c ../subprojects/opensea-transport/src/nvme_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -6125,11 +5916,11 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -[44/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c +[43/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -c ../subprojects/opensea-transport/src/sata_helper_func.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: + from ../subprojects/opensea-transport/src/sata_helper_func.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -6226,272 +6017,264 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ti_legacy_helper.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[45/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -c ../subprojects/opensea-transport/src/usb_hacks.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/usb_hacks.c:18: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +[44/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: +../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/usb_hacks.c:48:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 48 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[46/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -c ../subprojects/opensea-transport/src/ata_helper.c +../subprojects/opensea-transport/src/ti_legacy_helper.c:84:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 84 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[45/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o -c ../subprojects/opensea-transport/src/usb_hacks.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ata_helper.c:13: + from ../subprojects/opensea-transport/src/usb_hacks.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -6733,32 +6516,18 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:346:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 346 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘initial_Identify_Device’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: +../subprojects/opensea-transport/src/usb_hacks.c: In function ‘set_ATA_Passthrough_Type_By_Trial_And_Error’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1807:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1807 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[47/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c +../subprojects/opensea-transport/src/usb_hacks.c:48:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 48 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[46/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -c ../subprojects/opensea-transport/src/common_public.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/buffer_test.c:16: + from ../subprojects/opensea-transport/src/common_public.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -6999,26 +6768,138 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1251:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1251 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1255:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1255 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:1259:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 1259 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:75:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: +../subprojects/opensea-transport/src/common_public.c:1271:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1271 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:97:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[48/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -c ../subprojects/opensea-transport/src/common_public.c +../subprojects/opensea-transport/src/common_public.c:1364:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1364 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/common_public.c:1366:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1366 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Samsung_HDD’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/common_public.c:2019:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 2019 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: +../subprojects/opensea-transport/src/common_public.c:3473:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 3473 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, + | ^~~~~~~~~~~~ +[47/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/common_public.c:14: + from ../subprojects/opensea-operations/src/buffer_test.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -7259,138 +7140,26 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘scan_And_Print_Devs’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1251:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1251 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1255:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1255 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:1259:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 1259 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/common_public.c:1271:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1271 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, 50); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/common_public.c:1364:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1364 | DECLARE_ZERO_INIT_ARRAY(char, printable_sn, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/buffer_test.c:75:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/common_public.c:1366:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1366 | DECLARE_ZERO_INIT_ARRAY(char, displayHandle, SCAN_DISPLAY_HANDLE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Samsung_HDD’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/common_public.c:2019:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 2019 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/common_public.c: In function ‘is_Removable_Media’: -../subprojects/opensea-transport/src/common_public.c:3473:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 3473 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, - | ^~~~~~~~~~~~ -[49/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -c ../subprojects/opensea-operations/src/ata_Security.c +../subprojects/opensea-operations/src/buffer_test.c:97:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[48/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -c ../subprojects/opensea-transport/src/ata_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/ata_Security.c:17: + from ../subprojects/opensea-transport/src/ata_helper.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -7632,58 +7401,28 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:40:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 40 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityBuf, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:54:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 54 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:80:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: +../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1215:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1215 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c:346:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 346 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c: In function ‘initial_Identify_Device’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1282:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1282 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1318:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1318 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); +../subprojects/opensea-transport/src/ata_helper.c:1807:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1807 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1323 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[50/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c +[49/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -8139,7 +7878,7 @@ ../subprojects/opensea-transport/src/csmi_helper.c:6418:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 6418 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -[51/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -c ../subprojects/opensea-operations/src/cdl.c +[50/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o -c ../subprojects/opensea-operations/src/cdl.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-operations/include/operations_Common.h:18, @@ -8615,11 +8354,11 @@ ../subprojects/opensea-operations/src/cdl.c:1490:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1490 | DECLARE_ZERO_INIT_ARRAY(char, policyString, SUPPORTED_POLICY_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[52/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -c ../subprojects/opensea-operations/src/defect.c +[51/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -c ../subprojects/opensea-operations/src/ata_Security.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/defect.c:16: + from ../subprojects/opensea-operations/src/ata_Security.c:17: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -8860,125 +8599,63 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:856:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 856 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:857:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 857 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:932:35: note: in expansion of macro ‘M_ATTR_UNUSED’ - 932 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:933:35: note: in expansion of macro ‘M_ATTR_UNUSED’ - 933 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:1260:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1260 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/defect.c:1261:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1261 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -[53/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -c ../subprojects/opensea-operations/src/depopulate.c +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:40:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 40 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityBuf, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:54:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 54 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:80:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 80 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:236:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 236 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1215:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1215 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1282:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1282 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1318:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1318 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1323 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[52/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -c ../subprojects/opensea-transport/src/sg_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/depopulate.c:16: + from ../subprojects/opensea-transport/src/sg_helper.c:27: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -9207,110 +8884,232 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/include/ciss_helper_func.h:57:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 57 | M_ATTR_UNUSED uint64_t flags, + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_List’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:325:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 325 | DECLARE_ZERO_INIT_ARRAY(char, lineBuf, GETMNTENT_R_LINE_BUF_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: +../subprojects/opensea-transport/src/sg_helper.c:384:1: note: in expansion of macro ‘M_NODISCARD’ + 384 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, + | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-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-transport/src/sg_helper.c:524:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 524 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, DRIVER_VERSION_LIST_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:107:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 107 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: +../subprojects/opensea-transport/src/sg_helper.c:647:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 647 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_USB_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-transport/src/sg_helper.c:742:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 742 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors_2’: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_1394_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:331:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 331 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c:916:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 916 | DECLARE_ZERO_INIT_ARRAY(char, fullFWPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_SCSI_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:333:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 333 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 981 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_SCSI_Device_File_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 336 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: +../subprojects/opensea-transport/src/sg_helper.c:1106:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1106 | DECLARE_ZERO_INIT_ARRAY(char, fullPathBuffer, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:610:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 610 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: +../subprojects/opensea-transport/src/sg_helper.c:1182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1182 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:872:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-transport/src/sg_helper.c:1222:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1222 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: +../subprojects/opensea-transport/src/sg_helper.c: In function ‘map_Block_To_Generic_Handle’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1041:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-transport/src/sg_helper.c:1388:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1388 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1117:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1117 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); +../subprojects/opensea-transport/src/sg_helper.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1415 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:1424:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1424 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1155:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1155 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c:1472:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1472 | DECLARE_ZERO_INIT_ARRAY(char, mapLink, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Lin_Device’: +../subprojects/opensea-transport/src/sg_helper.c:1902:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 1902 | printf("%s: SG_GET_VERSION_NUM on %s failed version=%d\n", __FUNCTION__, filename, k); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘send_sg_io’: +../subprojects/opensea-transport/src/sg_helper.c:2159:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] + 2159 | printf("%s Didn't understand direction\n", __FUNCTION__); + | ^~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Device_List’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1213:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1213 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: +../subprojects/opensea-transport/src/sg_helper.c:2743:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2743 | DECLARE_ZERO_INIT_ARRAY(char, name, 80); // Because get device needs char + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘linux_NVMe_Reset’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1335:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1335 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[54/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c +../subprojects/opensea-transport/src/sg_helper.c:3262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3262 | DECLARE_ZERO_INIT_ARRAY(char, controllerHandle, 40); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: In function ‘pci_Read_Bar_Reg’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/sg_helper.c:3403:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3403 | DECLARE_ZERO_INIT_ARRAY(char, sysfsPath, PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/sg_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3435:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3435 | eReturnValues os_Read(M_ATTR_UNUSED tDevice* device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3436:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3436 | M_ATTR_UNUSED uint64_t lba, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3437:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3437 | M_ATTR_UNUSED bool forceUnitAccess, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3438:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3438 | M_ATTR_UNUSED uint8_t* ptrData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3439:23: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3439 | M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3444:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3444 | eReturnValues os_Write(M_ATTR_UNUSED tDevice* device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3445:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3445 | M_ATTR_UNUSED uint64_t lba, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3446:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3446 | M_ATTR_UNUSED bool forceUnitAccess, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3447:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3447 | M_ATTR_UNUSED uint8_t* ptrData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3448:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3448 | M_ATTR_UNUSED uint32_t dataSize) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3453:25: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3453 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice* device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3453:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3453 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice* device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3453:84: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3453 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice* device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3458:24: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3458 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/sg_helper.c:3643:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3643 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +[53/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -c ../subprojects/opensea-transport/src/scsi_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/firmware_download.c:16: + from ../subprojects/opensea-transport/src/scsi_helper.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -9551,361 +9350,82 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘get_Sense_Data_Fields’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/scsi_helper.c:1281:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1281 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-transport/src/scsi_helper.c:1369:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 1369 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:868:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 868 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-transport/src/scsi_helper.c:2251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2251 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2252 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2253:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2253 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2488:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2488 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘seagate_Serial_Number_Cleanup’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1010:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1010 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); +../subprojects/opensea-transport/src/scsi_helper.c:2657:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2657 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1); // making bigger than needed for now. + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:2673:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2673 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1391:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); +../subprojects/opensea-transport/src/scsi_helper.c:2674:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2674 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/scsi_helper.c:3132:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1637:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1637 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[55/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -c ../subprojects/opensea-operations/src/host_erase.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/host_erase.c:17: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -[56/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -c ../subprojects/opensea-operations/src/dst.c +../subprojects/opensea-transport/src/scsi_helper.c:3457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3457 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, + | ^~~~~~~~~~~~~~~~~~~~~~~ +[54/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -c ../subprojects/opensea-operations/src/defect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/dst.c:16: + from ../subprojects/opensea-operations/src/defect.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -10224,147 +9744,43 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:77:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 77 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temp_buf, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:395:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 395 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:458:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:482:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 482 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:513:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 513 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Selective_Self_Test_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:530:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:755:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 755 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1063:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1063 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1148:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1148 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1994:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1994 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2047:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2047 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2185:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2185 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2290:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2290 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2374:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2374 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2381:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2381 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2396:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2396 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2401:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2401 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2402:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2402 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[57/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -c ../subprojects/opensea-transport/src/scsi_cmds.c +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:856:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 856 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:857:37: note: in expansion of macro ‘M_ATTR_UNUSED’ + 857 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:932:35: note: in expansion of macro ‘M_ATTR_UNUSED’ + 932 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:933:35: note: in expansion of macro ‘M_ATTR_UNUSED’ + 933 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:1260:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1260 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/defect.c:1261:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1261 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +[55/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -c ../subprojects/opensea-transport/src/scsi_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -11251,11 +10667,11 @@ ../subprojects/opensea-transport/src/scsi_cmds.c:5245:40: note: accessing argument 7 of a function declared with attribute ‘access (write_only, 7, 6)’ 5245 | uint8_t* ptrData) | ~~~~~~~~~^~~~~~~ -[58/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -c ../subprojects/opensea-transport/src/sg_helper.c +[56/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -c ../subprojects/opensea-operations/src/depopulate.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/sg_helper.c:27: + from ../subprojects/opensea-operations/src/depopulate.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -11484,232 +10900,110 @@ ../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/include/ciss_helper_func.h:57:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 57 | M_ATTR_UNUSED uint64_t flags, - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Partition_List’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:325:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 325 | DECLARE_ZERO_INIT_ARRAY(char, lineBuf, GETMNTENT_R_LINE_BUF_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-transport/src/sg_helper.c:384:1: note: in expansion of macro ‘M_NODISCARD’ - 384 | M_NODISCARD static bool get_Driver_Version_Info_From_String(const char* driververstr, - | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Driver_Version_Info_From_Path’: +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:524:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 524 | DECLARE_ZERO_INIT_ARRAY(uint32_t, versionList, DRIVER_VERSION_LIST_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_ATA_Info’: +../subprojects/opensea-operations/src/depopulate.c:39:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:647:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 647 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_USB_Info’: +../subprojects/opensea-operations/src/depopulate.c:107:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 107 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:742:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 742 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); +../subprojects/opensea-operations/src/depopulate.c:130:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 130 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_1394_Info’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors_2’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:916:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 916 | DECLARE_ZERO_INIT_ARRAY(char, fullFWPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_SYS_FS_SCSI_Info’: +../subprojects/opensea-operations/src/depopulate.c:331:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 331 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:981:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 981 | DECLARE_ZERO_INIT_ARRAY(char, fullPciPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_SCSI_Device_File_Info’: +../subprojects/opensea-operations/src/depopulate.c:333:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 333 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1106:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1106 | DECLARE_ZERO_INIT_ARRAY(char, fullPathBuffer, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Linux_SYS_FS_Info’: +../subprojects/opensea-operations/src/depopulate.c:336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 336 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1182 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c:610:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 610 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1222:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1222 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); +../subprojects/opensea-operations/src/depopulate.c:872:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘map_Block_To_Generic_Handle’: +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1388:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1388 | DECLARE_ZERO_INIT_ARRAY(char, incomingHandleClassPath, PATH_MAX); +../subprojects/opensea-operations/src/depopulate.c:1041:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1041 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1415:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1415 | DECLARE_ZERO_INIT_ARRAY(char, inHandleLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1424:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1424 | DECLARE_ZERO_INIT_ARRAY(char, classPath, PATH_MAX); +../subprojects/opensea-operations/src/depopulate.c:1117:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1117 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:1472:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1472 | DECLARE_ZERO_INIT_ARRAY(char, mapLink, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Lin_Device’: -../subprojects/opensea-transport/src/sg_helper.c:1902:76: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 1902 | printf("%s: SG_GET_VERSION_NUM on %s failed version=%d\n", __FUNCTION__, filename, k); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘send_sg_io’: -../subprojects/opensea-transport/src/sg_helper.c:2159:56: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] - 2159 | printf("%s Didn't understand direction\n", __FUNCTION__); - | ^~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘get_Device_List’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:2743:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2743 | DECLARE_ZERO_INIT_ARRAY(char, name, 80); // Because get device needs char - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘linux_NVMe_Reset’: +../subprojects/opensea-operations/src/depopulate.c:1155:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1155 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:3262:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3262 | DECLARE_ZERO_INIT_ARRAY(char, controllerHandle, 40); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: In function ‘pci_Read_Bar_Reg’: +../subprojects/opensea-operations/src/depopulate.c:1213:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1213 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/sg_helper.c:3403:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3403 | DECLARE_ZERO_INIT_ARRAY(char, sysfsPath, PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/sg_helper.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3435:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3435 | eReturnValues os_Read(M_ATTR_UNUSED tDevice* device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3436:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3436 | M_ATTR_UNUSED uint64_t lba, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3437:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3437 | M_ATTR_UNUSED bool forceUnitAccess, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3438:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3438 | M_ATTR_UNUSED uint8_t* ptrData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3439:23: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3439 | M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3444:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3444 | eReturnValues os_Write(M_ATTR_UNUSED tDevice* device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3445:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3445 | M_ATTR_UNUSED uint64_t lba, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3446:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3446 | M_ATTR_UNUSED bool forceUnitAccess, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3447:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3447 | M_ATTR_UNUSED uint8_t* ptrData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3448:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3448 | M_ATTR_UNUSED uint32_t dataSize) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3453:25: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3453 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice* device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3453:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3453 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice* device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3453:84: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3453 | eReturnValues os_Verify(M_ATTR_UNUSED tDevice* device, M_ATTR_UNUSED uint64_t lba, M_ATTR_UNUSED uint32_t range) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3458:24: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3458 | eReturnValues os_Flush(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/sg_helper.c:3643:37: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3643 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -[59/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o -c ../subprojects/opensea-transport/src/scsi_helper.c +../subprojects/opensea-operations/src/depopulate.c:1335:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1335 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[57/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -c ../subprojects/opensea-operations/src/host_erase.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/scsi_helper.c:13: + from ../subprojects/opensea-operations/src/host_erase.c:17: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -11950,78 +11244,357 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘get_Sense_Data_Fields’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/scsi_helper.c:1281:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1281 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/scsi_helper.c:1369:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 1369 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ +[58/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/firmware_download.c:16: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘set_Passthrough_Hacks_By_Inquiry_Data’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2251:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2251 | DECLARE_ZERO_INIT_ARRAY(char, vendorID, INQ_DATA_T10_VENDOR_ID_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2252:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2252 | DECLARE_ZERO_INIT_ARRAY(char, productID, INQ_DATA_PRODUCT_ID_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2253:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2253 | DECLARE_ZERO_INIT_ARRAY(char, revision, INQ_DATA_PRODUCT_REV_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2488:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2488 | DECLARE_ZERO_INIT_ARRAY(char, internalModel, MODEL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘seagate_Serial_Number_Cleanup’: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2657:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2657 | DECLARE_ZERO_INIT_ARRAY(char, zeroes, SERIAL_NUM_LEN + 1); // making bigger than needed for now. +../subprojects/opensea-operations/src/firmware_download.c:868:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 868 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2673:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2673 | DECLARE_ZERO_INIT_ARRAY(char, currentSerialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:2674:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2674 | DECLARE_ZERO_INIT_ARRAY(char, newSerialNumber, SERIAL_NUM_LEN + 1); +../subprojects/opensea-operations/src/firmware_download.c:1010:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1010 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/scsi_helper.c: In function ‘fill_In_Device_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3132:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, asmtInq, 38); +../subprojects/opensea-operations/src/firmware_download.c:1391:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/scsi_helper.c:3457:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3457 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, - | ^~~~~~~~~~~~~~~~~~~~~~~ -[60/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -c ../subprojects/opensea-operations/src/nvme_operations.c +../subprojects/opensea-operations/src/firmware_download.c:1637:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1637 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[59/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o -c ../subprojects/opensea-operations/src/nvme_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -12325,11 +11898,11 @@ ../subprojects/opensea-operations/src/nvme_operations.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 712 | DECLARE_ZERO_INIT_ARRAY(char, fwRev, 9); | ^~~~~~~~~~~~~~~~~~~~~~~ -[61/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -c ../subprojects/opensea-operations/src/generic_tests.c +[60/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -c ../subprojects/opensea-transport/src/ata_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/generic_tests.c:16: + from ../subprojects/opensea-transport/src/ata_cmds.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -12570,132 +12143,104 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:59:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 59 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:60:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 60 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:273:34: note: in expansion of macro ‘M_ATTR_UNUSED’ - 273 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:274:34: note: in expansion of macro ‘M_ATTR_UNUSED’ - 274 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 278 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:532:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 532 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:533:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 533 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 912 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 941 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 970 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1088:36: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1088 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/ata_cmds.c:507:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 507 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1089:36: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1089 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/ata_cmds.c:513:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 513 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1234:31: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1234 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/ata_cmds.c:536:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 536 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1235:31: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1235 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/ata_cmds.c:542:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 542 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1488:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1488 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/ata_cmds.c:548:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 548 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1489:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1489 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] +../subprojects/opensea-transport/src/ata_cmds.c:554:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 554 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1636:27: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1636 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c:560:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 560 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1637:27: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1637 | M_ATTR_UNUSED void* updateData, - | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c:1476:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1476 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1748:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1748 | M_ATTR_UNUSED custom_Update updateFunction, - | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c:1525:33: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1525 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-operations/src/generic_tests.c:1749:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1749 | M_ATTR_UNUSED void* updateData) - | ^~~~~~~~~~~~~ -[62/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -c ../subprojects/opensea-operations/src/format.c +../subprojects/opensea-transport/src/ata_cmds.c:1575:32: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1575 | M_ATTR_UNUSED uint16_t sectorCount, + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/include/ata_helper_func.h:15, + from ../subprojects/opensea-transport/src/ata_cmds.c:27: +In function ‘create_ata_dma_read_lba_cmd’, + inlined from ‘ata_Read_DMA’ at ../subprojects/opensea-transport/src/ata_cmds.c:1481:47: +../subprojects/opensea-transport/include/ata_helper.h:1247:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 1247 | return create_ata_dma_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1248 | sectorCount, lba, ptrdata, dataSize); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_DMA’: +../subprojects/opensea-transport/src/ata_cmds.c:1475:51: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ + 1475 | uint8_t* ptrData, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +In function ‘create_ata_pio_read_lba_cmd’, + inlined from ‘ata_Read_Multiple’ at ../subprojects/opensea-transport/src/ata_cmds.c:1530:47: +../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1051 | sectorCount, lba, ptrdata, dataSize); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Multiple’: +../subprojects/opensea-transport/src/ata_cmds.c:1524:56: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ + 1524 | uint8_t* ptrData, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +In function ‘create_ata_pio_read_lba_cmd’, + inlined from ‘ata_Read_Sectors’ at ../subprojects/opensea-transport/src/ata_cmds.c:1580:47: +../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] + 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1051 | sectorCount, lba, ptrdata, dataSize); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Sectors’: +../subprojects/opensea-transport/src/ata_cmds.c:1574:55: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ + 1574 | uint8_t* ptrData, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +[61/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -c ../subprojects/opensea-operations/src/format.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -13060,11 +12605,11 @@ ../subprojects/opensea-operations/src/format.c:1384:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1384 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[63/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -c ../subprojects/opensea-operations/src/sanitize.c +[62/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -c ../subprojects/opensea-operations/src/generic_tests.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/sanitize.c:16: + from ../subprojects/opensea-operations/src/generic_tests.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -13305,39 +12850,136 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ - 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) - | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:59:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 59 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:60:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 60 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:273:34: note: in expansion of macro ‘M_ATTR_UNUSED’ + 273 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:274:34: note: in expansion of macro ‘M_ATTR_UNUSED’ + 274 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: +../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); +../subprojects/opensea-operations/src/generic_tests.c:278:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 278 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: +../subprojects/opensea-operations/src/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:532:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 532 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:533:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 533 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 160 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sanitize.c: In function ‘get_ATA_Sanitize_Device_Features’: +../subprojects/opensea-operations/src/generic_tests.c:912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 912 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sanitize.c:279:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 279 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/generic_tests.c:941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 941 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/generic_tests.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 970 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -[64/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -c ../subprojects/opensea-operations/src/sas_phy.c +../subprojects/opensea-operations/src/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1088:36: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1088 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1089:36: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1089 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1234:31: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1234 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1235:31: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1235 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1488:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1488 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1489:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1489 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1636:27: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1636 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1637:27: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1637 | M_ATTR_UNUSED void* updateData, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1748:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1748 | M_ATTR_UNUSED custom_Update updateFunction, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1749:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1749 | M_ATTR_UNUSED void* updateData) + | ^~~~~~~~~~~~~ +[63/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -c ../subprojects/opensea-operations/src/dst.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/sas_phy.c:16: + from ../subprojects/opensea-operations/src/dst.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -13578,33 +13220,229 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: +../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/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/dst.c:77:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 77 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temp_buf, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘start_SAS_Test_Pattern’: +../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); +../subprojects/opensea-operations/src/dst.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sas_phy.c:134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); +../subprojects/opensea-operations/src/dst.c:395:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 395 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:458:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 458 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:482:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 482 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:513:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 513 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Selective_Self_Test_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:530:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 530 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:670:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:712:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 712 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -[65/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -c ../subprojects/opensea-transport/src/ata_cmds.c +../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:755:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 755 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1063:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1063 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1148:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1148 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1994:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1994 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2047:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2047 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2185:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2185 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2290:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2290 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2374:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2374 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2381:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2381 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2396:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2396 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2401:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2401 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2402:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2402 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[64/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -c ../subprojects/opensea-operations/src/sanitize.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-transport/src/ata_cmds.c:16: + from ../subprojects/opensea-operations/src/sanitize.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -13845,108 +13683,39 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_SMART_Command’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:507:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 507 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:513:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 513 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:536:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 536 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:542:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 542 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:548:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 548 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:554:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 554 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:560:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 560 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:1476:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1476 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:1525:33: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1525 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ata_cmds.c:1575:32: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1575 | M_ATTR_UNUSED uint16_t sectorCount, - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/include/ata_helper_func.h:15, - from ../subprojects/opensea-transport/src/ata_cmds.c:27: -In function ‘create_ata_dma_read_lba_cmd’, - inlined from ‘ata_Read_DMA’ at ../subprojects/opensea-transport/src/ata_cmds.c:1481:47: -../subprojects/opensea-transport/include/ata_helper.h:1247:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 1247 | return create_ata_dma_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1248 | sectorCount, lba, ptrdata, dataSize); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_DMA’: -../subprojects/opensea-transport/src/ata_cmds.c:1475:51: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ - 1475 | uint8_t* ptrData, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -In function ‘create_ata_pio_read_lba_cmd’, - inlined from ‘ata_Read_Multiple’ at ../subprojects/opensea-transport/src/ata_cmds.c:1530:47: -../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1051 | sectorCount, lba, ptrdata, dataSize); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Multiple’: -../subprojects/opensea-transport/src/ata_cmds.c:1524:56: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ - 1524 | uint8_t* ptrData, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -In function ‘create_ata_pio_read_lba_cmd’, - inlined from ‘ata_Read_Sectors’ at ../subprojects/opensea-transport/src/ata_cmds.c:1580:47: -../subprojects/opensea-transport/include/ata_helper.h:1050:16: warning: ‘ptrData’ may be used uninitialized [-Wmaybe-uninitialized] - 1050 | return create_ata_pio_lba_cmd(device, opcode, ext, M_ACCESS_ENUM(eDataTransferDirection, XFER_DATA_IN), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1051 | sectorCount, lba, ptrdata, dataSize); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_cmds.c: In function ‘ata_Read_Sectors’: -../subprojects/opensea-transport/src/ata_cmds.c:1574:55: note: accessing argument 3 of a function declared with attribute ‘access (write_only, 3, 5)’ - 1574 | uint8_t* ptrData, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -[66/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -c ../subprojects/opensea-operations/src/sector_repair.c +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ + 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) + | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_NVMe_Sanitize_Progress’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sanitize.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sanitizeStatusLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_SCSI_Sanitize_Progress’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sanitize.c:160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 160 | DECLARE_ZERO_INIT_ARRAY(uint8_t, req_sense_buf, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sanitize.c: In function ‘get_ATA_Sanitize_Device_Features’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sanitize.c:279:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 279 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[65/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -c ../subprojects/opensea-operations/src/sas_phy.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/sector_repair.c:15: + from ../subprojects/opensea-operations/src/sas_phy.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -14188,14 +13957,28 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: +../subprojects/opensea-operations/src/sas_phy.c: In function ‘is_SAS_Phy_Diagnostic_Page_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sector_repair.c:490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, - | ^~~~~~~~~~~~~~~~~~~~~~~ -[67/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -c ../subprojects/opensea-operations/src/set_max_lba.c +../subprojects/opensea-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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sas_phy.c:120:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 120 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/sas_phy.c: In function ‘stop_SAS_Test_Pattern’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sas_phy.c:134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[66/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o -c ../subprojects/opensea-operations/src/set_max_lba.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -14540,6 +14323,259 @@ ../subprojects/opensea-operations/src/set_max_lba.c:509:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 509 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +[67/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o -c ../subprojects/opensea-operations/src/sector_repair.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/sector_repair.c:15: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/sector_repair.c: In function ‘get_Automatic_Reallocation_Support’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sector_repair.c:490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteErrorRecoveryMP, + | ^~~~~~~~~~~~~~~~~~~~~~~ [68/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -c ../subprojects/opensea-operations/src/reservations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition @@ -14930,11 +14966,11 @@ ../subprojects/opensea-operations/src/reservations.c:1997:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1997 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[69/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -c ../subprojects/opensea-operations/src/writesame.c +[69/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -c ../subprojects/opensea-operations/src/operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/writesame.c:16: + from ../subprojects/opensea-operations/src/operations.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -15175,17 +15211,245 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ + 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) + | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:495:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 495 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:770:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 770 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:856:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 856 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:857:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 857 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 918 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:919:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 919 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:998:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 998 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1066:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1066 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1165:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1165 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1223:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1223 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1434:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1434 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1526:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1526 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1547:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1547 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:1793:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2682:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2682 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘show_SCSI_Mode_Page’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2895:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2895 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:2942:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2942 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘get_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:3012:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3012 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:3347:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3347 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/operations.c:3348:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3348 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/operations.c: At top level: ../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 224 | # define M_ATTR_UNUSED [[maybe_unused]] | ^ -../subprojects/opensea-operations/src/writesame.c:33:30: note: in expansion of macro ‘M_ATTR_UNUSED’ - 33 | M_ATTR_UNUSED uint64_t startingLBA, - | ^~~~~~~~~~~~~ -[70/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -c ../subprojects/opensea-operations/src/trim_unmap.c +../subprojects/opensea-operations/src/operations.c:3711:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3711 | eOSFeatureSupported is_SMART_Check_Operation_Supported(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/operations.c:3784:61: note: in expansion of macro ‘M_ATTR_UNUSED’ + 3784 | eOSFeatureSupported is_ATA_Secure_Erase_Operation_Supported(M_ATTR_UNUSED tDevice* device) + | ^~~~~~~~~~~~~ +[70/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -c ../subprojects/opensea-operations/src/power_control.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/trim_unmap.c:15: + from ../subprojects/opensea-operations/src/power_control.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -15426,26 +15690,162 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: +../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../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/power_control.c:667:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 667 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:255:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 255 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, - | ^~~~~~~~~~~~~~~~~~~~~~~ -[71/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -c ../subprojects/opensea-operations/src/zoned_operations.c +../subprojects/opensea-operations/src/power_control.c:728:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 728 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:729:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 729 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:730:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 730 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:731:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 731 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:732:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 732 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:1522:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1522 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2121:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2121 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Initiated_Interface_Power_State_Transitions’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2613:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Automatic_Partial_To_Slumber_Transtisions’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/power_control.c:2686:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2686 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[71/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o -c ../subprojects/opensea-operations/src/writesame.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/zoned_operations.c:14: + from ../subprojects/opensea-operations/src/writesame.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -15686,45 +16086,17 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:39:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 176 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:200:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 200 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 235 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/zoned_operations.c:285:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 285 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[72/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -c ../subprojects/opensea-operations/src/power_control.c +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/writesame.c:33:30: note: in expansion of macro ‘M_ATTR_UNUSED’ + 33 | M_ATTR_UNUSED uint64_t startingLBA, + | ^~~~~~~~~~~~~ +[72/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o -c ../subprojects/opensea-operations/src/zoned_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/power_control.c:16: + from ../subprojects/opensea-operations/src/zoned_operations.c:14: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -15965,162 +16337,45 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/power_control.c: In function ‘convert_NVM_Latency_To_HR_Time_Str’: +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘get_Number_Of_Zones’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:667:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 667 | DECLARE_ZERO_INIT_ARRAY(char, units, NVM_LAT_UNIT_STR_LEN); +../subprojects/opensea-operations/src/zoned_operations.c:39:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportZones, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_NVM_Power_States’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:728:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 728 | DECLARE_ZERO_INIT_ARRAY(char, maxPowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:729:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 729 | DECLARE_ZERO_INIT_ARRAY(char, idlePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:730:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 730 | DECLARE_ZERO_INIT_ARRAY(char, activePowerWatts, NVM_POWER_WATTS_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:731:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 731 | DECLARE_ZERO_INIT_ARRAY(char, entryTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptor’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:732:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 732 | DECLARE_ZERO_INIT_ARRAY(char, exitTime, NVM_POWER_ENT_EX_TIME_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘print_Power_Consumption_Identifiers’: +../subprojects/opensea-operations/src/zoned_operations.c:176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 176 | DECLARE_ZERO_INIT_ARRAY(char, zoneTypeString, ZONE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:1522:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1522 | DECLARE_ZERO_INIT_ARRAY(char, unitBuff, POWER_CONSUMPTION_UNIT_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘scsi_Get_EPC_Settings’: +../subprojects/opensea-operations/src/zoned_operations.c:200:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 200 | DECLARE_ZERO_INIT_ARRAY(char, zoneCondition, ZONE_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2052:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2052 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcVPDPage, VPD_POWER_CONDITION_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c:235:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 235 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ZONE_ATTR_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/zoned_operations.c: In function ‘print_Zone_Descriptors’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/power_control.c:2121:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2121 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); +../subprojects/opensea-operations/src/zoned_operations.c:285:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 285 | DECLARE_ZERO_INIT_ARRAY(char, showingZones, SHOWING_ZONES_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Initiated_Interface_Power_State_Transitions’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:2613:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2613 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/power_control.c: In function ‘sata_Set_Device_Automatic_Partial_To_Slumber_Transtisions’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/power_control.c:2686:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2686 | DECLARE_ZERO_INIT_ARRAY(uint8_t, iddata, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[73/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o -c ../subprojects/opensea-operations/src/operations.c +[73/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -c ../subprojects/opensea-operations/src/trim_unmap.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/operations.c:16: + from ../subprojects/opensea-operations/src/trim_unmap.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -16361,247 +16616,27 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:218:5: note: in expansion of macro ‘M_DEPRECATED’ - 218 | M_DEPRECATED M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) M_NONNULL_IF_NONZERO_PARAM(4, 5) - | ^~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_Is_NV_Cache_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:495:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 495 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extInq, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘is_Write_After_Erase_Required’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:751:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 751 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:770:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 770 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logicalBlockProvisioning, VPD_LOGICAL_BLOCK_PROVISIONING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:856:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 856 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:857:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 857 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:918:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 918 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeWarning, MAX_ERASE_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:919:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 919 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:998:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 998 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1066:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1066 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1165:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1165 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1223:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1223 | DECLARE_ZERO_INIT_ARRAY(char, osSupportWarning, MAX_OS_SUPPORT_WARNING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Supported_Erase_Methods’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1434:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1434 | DECLARE_ZERO_INIT_ARRAY(char, eraseDataCapabilities, ERASE_SANITIZATION_CAPABILITIES_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘set_Sense_Data_Format’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1526:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1526 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePage, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1547:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1547 | DECLARE_ZERO_INIT_ARRAY(uint8_t, controlModePageDefaults, MODE_PARAMETER_HEADER_10_LEN + 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘scsi_MP_Reset_To_Defaults_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:1793:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1793 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Mode_Page’: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:2682:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2682 | DECLARE_ZERO_INIT_ARRAY(char, pageName, SCSI_MODE_PAGE_NAME_MAX_LENGTH); +../subprojects/opensea-operations/src/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 ‘show_SCSI_Mode_Page’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2895:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2895 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:2942:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2942 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeData, 2); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘get_LUN_Count’: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/operations.c:3012:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3012 | DECLARE_ZERO_INIT_ARRAY(uint8_t, luns, 4); +../subprojects/opensea-operations/src/trim_unmap.c:255:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 255 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: In function ‘print_Write_Read_Verify_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:3347:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3347 | DECLARE_ZERO_INIT_ARRAY(char, capUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/operations.c:3348:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3348 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/operations.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/operations.c:3711:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3711 | eOSFeatureSupported is_SMART_Check_Operation_Supported(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/operations.c:3784:61: note: in expansion of macro ‘M_ATTR_UNUSED’ - 3784 | eOSFeatureSupported is_ATA_Secure_Erase_Operation_Supported(M_ATTR_UNUSED tDevice* device) - | ^~~~~~~~~~~~~ [74/156] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -[75/156] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -[76/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -c ../subprojects/opensea-operations/src/sata_phy.c +[75/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -c ../subprojects/opensea-operations/src/logs.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/sata_phy.c:16: + from ../subprojects/opensea-operations/src/logs.c:13: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -16842,28 +16877,198 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/logs.c:332:47: note: in expansion of macro ‘M_ATTR_UNUSED’ + 332 | static bool use_6B_SCSI_Mode(tDevice* device, M_ATTR_UNUSED uint8_t modePage, uint8_t subpage) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘ata_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2517:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2517 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2524:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2524 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2848:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2848 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2855:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2855 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:2862:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 2862 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:3130:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 3130 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:3137:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 3137 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/logs.c:3144:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 3144 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/sata_phy.c: In function ‘reinitialize_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:127:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/logs.c:3363:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3363 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:159:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 159 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: +../subprojects/opensea-operations/src/logs.c:3429:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3429 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/sata_phy.c:190:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 190 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); +../subprojects/opensea-operations/src/logs.c:3975:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3975 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4089:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4089 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4123:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4123 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4277:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4277 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4321:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4321 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/logs.c:4378:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4378 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[76/156] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_constraint_handling.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_sort_and_search.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_qsort.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_bsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_lsearch.c.o subprojects/opensea-common/libopensea-common.a.p/src_safe_strtok.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o [77/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -c ../subprojects/opensea-operations/src/seagate_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition @@ -17273,14 +17478,11 @@ ../subprojects/opensea-operations/src/seagate_operations.c:3319:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 3319 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); | ^~~~~~~~~~~~~~~~~~~~~~~ -[78/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_EULA.c.o -MF openSeaChest_Basics.p/src_EULA.c.o.d -o openSeaChest_Basics.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[79/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -c ../subprojects/opensea-operations/src/ata_device_config_overlay.c +[78/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -c ../subprojects/opensea-operations/src/sata_phy.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: + from ../subprojects/opensea-operations/src/sata_phy.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -17522,25 +17724,32 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: +../subprojects/opensea-operations/src/sata_phy.c: In function ‘reinitialize_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:109:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); +../subprojects/opensea-operations/src/sata_phy.c:127:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: +../subprojects/opensea-operations/src/sata_phy.c: In function ‘get_SATA_Phy_Event_Counters’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_device_config_overlay.c:374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); +../subprojects/opensea-operations/src/sata_phy.c:159:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 159 | DECLARE_ZERO_INIT_ARRAY(uint8_t, phyEventLog, ATA_LOG_PAGE_LEN_BYTES); | ^~~~~~~~~~~~~~~~~~~~~~~ -[80/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -c ../subprojects/opensea-operations/src/partition_info.c +../subprojects/opensea-operations/src/sata_phy.c: In function ‘print_SATA_Phy_Event_Counters’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/sata_phy.c:190:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 190 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[79/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o -c ../subprojects/opensea-operations/src/ata_device_config_overlay.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/partition_info.c:18: + from ../subprojects/opensea-operations/src/ata_device_config_overlay.c:15: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -17782,31 +17991,28 @@ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Identify’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:640:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 640 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + RSIZE_T_C(1)); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: +../subprojects/opensea-operations/src/ata_device_config_overlay.c:109:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_device_config_overlay.c: In function ‘dco_Set’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/partition_info.c:841:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 841 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[81/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_EULA.c.o -MF openSeaChest_Configure.p/src_EULA.c.o.d -o openSeaChest_Configure.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[82/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_EULA.c.o -MF openSeaChest_Defect.p/src_EULA.c.o.d -o openSeaChest_Defect.p/src_EULA.c.o -c ../src/EULA.c +../subprojects/opensea-operations/src/ata_device_config_overlay.c:374:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 374 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[80/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_EULA.c.o -MF openSeaChest_Basics.p/src_EULA.c.o.d -o openSeaChest_Basics.p/src_EULA.c.o -c ../src/EULA.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[83/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o -c ../subprojects/opensea-operations/src/logs.c +[81/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o -c ../subprojects/opensea-operations/src/partition_info.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/logs.c:13: + from ../subprojects/opensea-operations/src/partition_info.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -18047,197 +18253,27 @@ ../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/logs.c:332:47: note: in expansion of macro ‘M_ATTR_UNUSED’ - 332 | static bool use_6B_SCSI_Mode(tDevice* device, M_ATTR_UNUSED uint8_t modePage, uint8_t subpage) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘ata_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2517:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2517 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2524:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2524 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘scsi_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2848:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2848 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2855:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2855 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:2862:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 2862 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘nvme_Pull_Telemetry_Log’: -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:3130:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 3130 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:3137:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 3137 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/logs.c:3144:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 3144 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Logs’: +../subprojects/opensea-operations/src/partition_info.c: In function ‘fill_GPT_Data’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:3363:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3363 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logPage, 4); +../subprojects/opensea-operations/src/partition_info.c:640:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 640 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + RSIZE_T_C(1)); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘format_print_ata_logs_info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3429:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3429 | DECLARE_ZERO_INIT_ARRAY(char, access, ATA_LOG_ACCESS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Supported_NVMe_Logs’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:3975:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3975 | DECLARE_ZERO_INIT_ARRAY(char, logName, NVME_LOG_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘print_Supported_SCSI_Error_History_Buffer_IDs’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:4089:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4089 | DECLARE_ZERO_INIT_ARRAY(char, vendorIdentification, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/partition_info.c: In function ‘get_Partition_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/logs.c:4123:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4123 | DECLARE_ZERO_INIT_ARRAY(char, dataFormatString, DATA_FORMAT_STRING_LENGTH); +../subprojects/opensea-operations/src/partition_info.c:841:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 841 | DECLARE_ZERO_INIT_ARRAY(char, gptSignature, GPT_SIGNATURE_STR_LEN + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Log’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:4277:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4277 | DECLARE_ZERO_INIT_ARRAY(char, logFileName, GENERIC_LOG_FILE_NAME_LENGTH + LOG_NUMBER_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_Generic_Error_History’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:4321:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4321 | DECLARE_ZERO_INIT_ARRAY(char, errorHistoryFileName, ERROR_HISTORY_FILENAME_LENGTH + ERROR_HISTORY_POST_FIX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/logs.c: In function ‘pull_FARM_LogPage’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/logs.c:4378:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4378 | DECLARE_ZERO_INIT_ARRAY(char, logType, OPENSEA_PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ +[82/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_EULA.c.o -MF openSeaChest_Configure.p/src_EULA.c.o.d -o openSeaChest_Configure.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[83/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_EULA.c.o -MF openSeaChest_Defect.p/src_EULA.c.o.d -o openSeaChest_Defect.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition [84/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -MF openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o.d -o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -c ../utils/C/openSeaChest/openSeaChest_Basics.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition @@ -18637,376 +18673,7 @@ ../utils/C/openSeaChest/openSeaChest_Basics.c:2289:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2289 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[85/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_EULA.c.o -MF openSeaChest_Erase.p/src_EULA.c.o.d -o openSeaChest_Erase.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[86/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -MF openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o.d -o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -c ../utils/C/openSeaChest/openSeaChest_Defect.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 80 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 81 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 82 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Defect.c:83:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 83 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[87/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -c ../subprojects/opensea-transport/src/sntl_helper.c +[85/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -c ../subprojects/opensea-transport/src/sntl_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -19830,250 +19497,253 @@ ../subprojects/opensea-transport/src/sntl_helper.c:11078:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 11078 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[88/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -c ../subprojects/opensea-operations/src/farm_log.c +[86/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_EULA.c.o -MF openSeaChest_Erase.p/src_EULA.c.o.d -o openSeaChest_Erase.p/src_EULA.c.o -c ../src/EULA.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/farm_log.c:16: +[87/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_openseachest_util_options.c.o -MF openSeaChest_Basics.p/src_openseachest_util_options.c.o.d -o openSeaChest_Basics.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../src/openseachest_util_options.c:16: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -20153,139 +19823,53 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 98 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1133:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1133 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1135:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1135 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1160 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1173 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1189:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1189 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1195:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1195 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/farm_log.c:1200:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1200 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘print_Stat_If_Supported_And_Valid_Date_Of_Assembly’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:2812:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2812 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:2817:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2817 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/farm_log.c: In function ‘print_FARM_Error_Info_Flash_LED_Data’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3368:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3368 | DECLARE_ZERO_INIT_ARRAY(char, fledInfoStr, FLED_INFO_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3369:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3369 | DECLARE_ZERO_INIT_ARRAY(char, rwRetryStr, RWRETRY_INFO_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3370:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3370 | DECLARE_ZERO_INIT_ARRAY(char, timestampStr, FLEDTIMESTAMP_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/farm_log.c:3371:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3371 | DECLARE_ZERO_INIT_ARRAY(char, powerCycleStr, FLED_POWER_CYCLE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[89/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_EULA.c.o -MF openSeaChest_Firmware.p/src_EULA.c.o.d -o openSeaChest_Firmware.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[90/156] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_openseachest_util_options.c.o -MF openSeaChest_Basics.p/src_openseachest_util_options.c.o.d -o openSeaChest_Basics.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[88/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -MF openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o.d -o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -c ../utils/C/openSeaChest/openSeaChest_Defect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../src/openseachest_util_options.c:16: + from ../utils/C/openSeaChest/openSeaChest_Defect.c:17: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -20610,43 +20194,47 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../utils/C/openSeaChest/openSeaChest_Defect.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[91/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_openseachest_util_options.c.o -MF openSeaChest_Defect.p/src_openseachest_util_options.c.o.d -o openSeaChest_Defect.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../utils/C/openSeaChest/openSeaChest_Defect.c:80:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 80 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:81:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 81 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 82 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Defect.c:83:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 83 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[89/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_EULA.c.o -MF openSeaChest_Firmware.p/src_EULA.c.o.d -o openSeaChest_Firmware.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[90/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_openseachest_util_options.c.o -MF openSeaChest_Configure.p/src_openseachest_util_options.c.o.d -o openSeaChest_Configure.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -21011,250 +20599,250 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[92/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_openseachest_util_options.c.o -MF openSeaChest_Erase.p/src_openseachest_util_options.c.o.d -o openSeaChest_Erase.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[91/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o -c ../subprojects/opensea-operations/src/farm_log.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/farm_log.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -21334,52 +20922,132 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/farm_log.c: In function ‘addDataSetEntry’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../subprojects/opensea-operations/src/farm_log.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 98 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_DATASET_SIGNATURE_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[93/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_EULA.c.o -MF openSeaChest_Format.p/src_EULA.c.o.d -o openSeaChest_Format.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[94/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -c ../subprojects/opensea-operations/src/drive_info.c +../subprojects/opensea-operations/src/farm_log.c: In function ‘pull_FARM_Combined_Log’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1132:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, header, FARMC_LOG_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1133:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1133 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmCurrentHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1134:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1134 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmFactoryHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1135:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1135 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmTimeSeriesHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1137:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1137 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmLongSavedHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1138:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmStickyHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1139:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, farmWorkLoadTraceHeader, FARMC_LOG_DATA_SET_HEADER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1160:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1160 | DECLARE_ZERO_INIT_ARRAY(char, signature, FARM_SIGNATURE_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1173 | DECLARE_ZERO_INIT_ARRAY(char, interfaceType, 4 + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1189:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1189 | DECLARE_ZERO_INIT_ARRAY(char, modelNumber, MODEL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1195:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1195 | DECLARE_ZERO_INIT_ARRAY(char, serialNumber, SERIAL_NUM_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:1200:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1200 | DECLARE_ZERO_INIT_ARRAY(char, firmwareVersion, FW_REV_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘print_Stat_If_Supported_And_Valid_Date_Of_Assembly’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:2812:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2812 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:2817:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2817 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/farm_log.c: In function ‘print_FARM_Error_Info_Flash_LED_Data’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3368:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3368 | DECLARE_ZERO_INIT_ARRAY(char, fledInfoStr, FLED_INFO_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3369:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3369 | DECLARE_ZERO_INIT_ARRAY(char, rwRetryStr, RWRETRY_INFO_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3370:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3370 | DECLARE_ZERO_INIT_ARRAY(char, timestampStr, FLEDTIMESTAMP_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/farm_log.c:3371:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3371 | DECLARE_ZERO_INIT_ARRAY(char, powerCycleStr, FLED_POWER_CYCLE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[92/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -c ../subprojects/opensea-operations/src/drive_info.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -22014,372 +21682,10 @@ ../subprojects/opensea-operations/src/drive_info.c:9002:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 9002 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[95/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/src_openseachest_util_options.c.o -MF openSeaChest_Configure.p/src_openseachest_util_options.c.o.d -o openSeaChest_Configure.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[93/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_EULA.c.o -MF openSeaChest_Format.p/src_EULA.c.o.d -o openSeaChest_Format.p/src_EULA.c.o -c ../src/EULA.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[96/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -MF openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o.d -o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -c ../utils/C/openSeaChest/openSeaChest_Firmware.c +[94/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -MF openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o.d -o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -c ../utils/C/openSeaChest/openSeaChest_Firmware.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -22705,983 +22011,78 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1197:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1197 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 115 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:121:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 121 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:122:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 122 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1317 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:123:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 123 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:124:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 124 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:125:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 125 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1359:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1359 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:126:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ - 126 | CHILD_NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~ -[97/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_EULA.c.o -MF openSeaChest_GenericTests.p/src_EULA.c.o.d -o openSeaChest_GenericTests.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[98/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_EULA.c.o -MF openSeaChest_Info.p/src_EULA.c.o.d -o openSeaChest_Info.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[99/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/smart.c:16: -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ - 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ - 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ - 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ - 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ - 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ - 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ - 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ - 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ - 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ - 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ - 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ - 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ - 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Raw’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1095:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1095 | DECLARE_ZERO_INIT_ARRAY(char, flags, ATA_SMART_RAW_ATTRIBUTES_FLAGS_STRING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Hybrid’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1224:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1224 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1225 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1226:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1226 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1227:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1227 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1228:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1228 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1229:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1229 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:1374:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1374 | DECLARE_ZERO_INIT_ARRAY(char, dataUnitBuffer, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_SMART_Status_From_SCT_Log’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:2830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘ata_SMART_Check’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3005:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3005 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3072:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3072 | DECLARE_ZERO_INIT_ARRAY(char, whenWarnedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘translate_SCSI_SMART_Sense_To_String’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3182 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3213:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3213 | DECLARE_ZERO_INIT_ARRAY(char, failureReason, SCSI_FAILURE_REASON_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘nvme_SMART_Check’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3596:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3596 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartLogPage, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘is_SMART_Check_Supported’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3772:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3772 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3804:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3804 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3845:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3845 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3875:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3875 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:3912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3912 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4283:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4283 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4579:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4579 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4608:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4608 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:4644:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4644 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5075:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5075 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5242:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5242 | 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:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:5705:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5705 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:5714:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5714 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/smart.c:5719:9: note: in expansion of macro ‘M_FALLTHROUGH’ - 5719 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:5873:38: note: in expansion of macro ‘M_ATTR_UNUSED’ - 5873 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:5878:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 5878 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6021:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6021 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6025:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6025 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6031 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6071:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6071 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6163:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6163 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6164:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6164 | M_ATTR_UNUSED uint16_t features, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6165:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6165 | M_ATTR_UNUSED uint16_t count, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6167:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6167 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6172:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6172 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6244:32: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6244 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6248:32: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6248 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6253:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6253 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:6431:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6431 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6536:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6536 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6540:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6540 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6553:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6553 | DECLARE_ZERO_INIT_ARRAY(char, sanitizeSignatureValid, SANITIZE_SIGNATURE_VALID_LENGTH); +../include/openseachest_util_options.h:1197:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1197 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6635:34: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6635 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6639:34: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6639 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6676:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6676 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6742:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6742 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6743:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6743 | M_ATTR_UNUSED uint16_t features, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6745:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6745 | M_ATTR_UNUSED uint64_t lba, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6746:46: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6746 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 115 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6750:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6750 | DECLARE_ZERO_INIT_ARRAY(char, standbyTimerPeriodString, STANDBY_TIMER_PERIOD_LENGTH); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6823:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6823 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6827:39: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6827 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6924:35: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6924 | M_ATTR_UNUSED uint8_t commandOpCode, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6928:35: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6928 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:6957:40: note: in expansion of macro ‘M_ATTR_UNUSED’ - 6957 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../utils/C/openSeaChest/openSeaChest_Firmware.c:121:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 121 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:6985:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6985 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:122:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 122 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:7013:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7013 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7091:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7091 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7133:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7133 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7186:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7186 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7339:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7339 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7425 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:7672:48: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7672 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7694:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7694 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:7767:49: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7767 | M_ATTR_UNUSED uint8_t device, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7874:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7874 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7941 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7950:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7950 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7959:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7959 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:7991:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7991 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8000:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8000 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8049:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8049 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8058:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8058 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8301:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8301 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:8943:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 8943 | M_ATTR_UNUSED uint16_t count, - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/smart.c:8946:28: note: in expansion of macro ‘M_ATTR_UNUSED’ - 8946 | M_ATTR_UNUSED uint8_t transportSpecific, - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:8957:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8957 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); +../include/openseachest_util_options.h:1317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1317 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:123:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 123 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:8958:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8958 | DECLARE_ZERO_INIT_ARRAY(char, errorMessage, ATA_ERROR_MESSAGE_MAX_LENGTH); +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_Comprehensive_SMART_Error_Log’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9300:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9300 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9400:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9400 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9491:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9491 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/smart.c:9638:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9638 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:124:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 124 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:9684:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9684 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:125:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 125 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/smart.c:9724:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9724 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[100/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_EULA.c.o -MF openSeaChest_Logs.p/src_EULA.c.o.d -o openSeaChest_Logs.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[101/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -MF openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o.d -o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -c ../utils/C/openSeaChest/openSeaChest_Info.c +../include/openseachest_util_options.h:1359:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1359 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:126:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ + 126 | CHILD_NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~ +[95/156] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_openseachest_util_options.c.o -MF openSeaChest_Defect.p/src_openseachest_util_options.c.o.d -o openSeaChest_Defect.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Info.c:18: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -24006,44 +22407,46 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[102/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -c ../subprojects/opensea-transport/src/sat_helper.c +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[96/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_EULA.c.o -MF openSeaChest_GenericTests.p/src_EULA.c.o.d -o openSeaChest_GenericTests.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[97/156] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -c ../subprojects/opensea-transport/src/sat_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/bit_manip.h:16, @@ -25129,11 +23532,12 @@ ../subprojects/opensea-transport/src/sat_helper.c:18821:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 18821 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -[103/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -MF openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o.d -o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -c ../utils/C/openSeaChest/openSeaChest_GenericTests.c +[98/156] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o +[99/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/src_openseachest_util_options.c.o -MF openSeaChest_Erase.p/src_openseachest_util_options.c.o.d -o openSeaChest_Erase.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -25458,48 +23862,146 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[104/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -MF openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o.d -o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -c ../utils/C/openSeaChest/openSeaChest_Format.c +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[100/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_EULA.c.o -MF openSeaChest_Info.p/src_EULA.c.o.d -o openSeaChest_Info.p/src_EULA.c.o -c ../src/EULA.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Format.c:18: +[101/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/smart.c:16: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -25722,156 +24224,583 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Raw’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ +../subprojects/opensea-operations/src/smart.c:1095:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1095 | DECLARE_ZERO_INIT_ARRAY(char, flags, ATA_SMART_RAW_ATTRIBUTES_FLAGS_STRING_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘print_ATA_SMART_Attribute_Hybrid’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1224:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1224 | DECLARE_ZERO_INIT_ARRAY(char, rawDataString, ATTR_HYBRID_RAW_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1225 | DECLARE_ZERO_INIT_ARRAY(char, attributeFlags, ATTR_HYBRID_ATTR_FLAG_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1226:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1226 | DECLARE_ZERO_INIT_ARRAY(char, thresholdValue, ATTR_HYBRID_THRESHOLD_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1227:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1227 | DECLARE_ZERO_INIT_ARRAY(char, otherFlags, ATTR_HYBRID_OTHER_FLAGS_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1228:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1228 | DECLARE_ZERO_INIT_ARRAY(char, nominalValue, ATTR_HYBRID_NOMINAL_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1229:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1229 | DECLARE_ZERO_INIT_ARRAY(char, worstValue, ATTR_HYBRID_WORST_VALUE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:1374:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1374 | DECLARE_ZERO_INIT_ARRAY(char, dataUnitBuffer, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ATA_SMART_Status_From_SCT_Log’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:2830:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2830 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘ata_SMART_Check’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3005:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3005 | DECLARE_ZERO_INIT_ARRAY(char, whenFailedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3072:37: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3072 | DECLARE_ZERO_INIT_ARRAY(char, whenWarnedStr, ATA_SMART_WHEN_FAILED_MAX_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘translate_SCSI_SMART_Sense_To_String’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3182:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3182 | DECLARE_ZERO_INIT_ARRAY(char, impendingFailure, SCSI_IMPENDING_FAILURE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3213:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3213 | DECLARE_ZERO_INIT_ARRAY(char, failureReason, SCSI_FAILURE_REASON_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘nvme_SMART_Check’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3596:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3596 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartLogPage, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 84 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘is_SMART_Check_Supported’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ +../subprojects/opensea-operations/src/smart.c:3772:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3772 | DECLARE_ZERO_INIT_ARRAY(uint8_t, informationalExceptionsModePage, + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Pending_List_Count’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3804:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3804 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3845:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3845 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3875:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3875 | DECLARE_ZERO_INIT_ARRAY(uint8_t, rotatingMediaStatistics, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:3912:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3912 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4283:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4283 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4579:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4579 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4608:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4608 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:4644:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4644 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5075:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5075 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5242:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5242 | 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:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:5705:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5705 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:5714:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5714 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/smart.c:5719:9: note: in expansion of macro ‘M_FALLTHROUGH’ + 5719 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:5873:38: note: in expansion of macro ‘M_ATTR_UNUSED’ + 5873 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_GPL_Log_Command_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:5878:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 5878 | DECLARE_ZERO_INIT_ARRAY(char, logAddressName, GPL_LOG_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 85 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6021:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6021 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6025:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6025 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Download_Command_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ +../subprojects/opensea-operations/src/smart.c:6031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6031 | DECLARE_ZERO_INIT_ARRAY(char, subCommandName, DOWNLOAD_COMMAND_SUBCOMMAND_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 86 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Trusted_Command_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../subprojects/opensea-operations/src/smart.c:6071:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6071 | DECLARE_ZERO_INIT_ARRAY(char, securityProtocolName, TRUSTED_CMD_SECURITY_PROTOCOL_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 87 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6163:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6163 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6164:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6164 | M_ATTR_UNUSED uint16_t features, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6165:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6165 | M_ATTR_UNUSED uint16_t count, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6167:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6167 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Offline_Immediate_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 323 | DECLARE_ZERO_INIT_ARRAY( \ +../subprojects/opensea-operations/src/smart.c:6172:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6172 | DECLARE_ZERO_INIT_ARRAY(char, offlineTestName, SMART_OFFLINE_TEST_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Format.c:97:5: note: in expansion of macro ‘PATTERN_VARS’ - 97 | PATTERN_VARS - | ^~~~~~~~~~~~ -[105/156] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_realtek_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -[106/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -MF openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o.d -o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -c ../utils/C/openSeaChest/openSeaChest_Erase.c +../subprojects/opensea-operations/src/smart.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6244:32: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6244 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6248:32: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6248 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SMART_Log_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6253:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6253 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6431:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6431 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6536:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6536 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6540:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6540 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Sanitize_Command_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6553:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6553 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6635:34: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6635 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6639:34: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6639 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6676:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6676 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6742:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6742 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6743:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6743 | M_ATTR_UNUSED uint16_t features, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6745:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6745 | M_ATTR_UNUSED uint64_t lba, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6746:46: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6746 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Idle_Or_Standby_Command_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6750:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6750 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6823:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6823 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6827:39: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6827 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6924:35: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6924 | M_ATTR_UNUSED uint8_t commandOpCode, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6928:35: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6928 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:6957:40: note: in expansion of macro ‘M_ATTR_UNUSED’ + 6957 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_SATA_Feature_Control_Command_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:6985:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6985 | DECLARE_ZERO_INIT_ARRAY(char, sataFeatureString, SATA_FEATURE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7013:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7013 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7091:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7091 | DECLARE_ZERO_INIT_ARRAY(char, transferMode, TRANSFER_MODE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7133:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7133 | DECLARE_ZERO_INIT_ARRAY(char, apmLevelString, APM_LEVEL_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7186:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7186 | DECLARE_ZERO_INIT_ARRAY(char, wrvModeString, WRV_MODE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7339:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7339 | DECLARE_ZERO_INIT_ARRAY(char, powerConditionString, POWER_CONDITION_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7425 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:7672:48: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7672 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_ZAC_Management_In_Command_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7694:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7694 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:7767:49: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7767 | M_ATTR_UNUSED uint8_t device, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_NCQ_Non_Data_Command_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7874:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7874 | DECLARE_ZERO_INIT_ARRAY(char, abortTypeString, ABORT_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7941:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7941 | DECLARE_ZERO_INIT_ARRAY(char, ncqSetFeaturesString, NCQ_SET_FEATURES_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7950:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7950 | DECLARE_ZERO_INIT_ARRAY(char, ncqZerosExtString, NCQ_ZEROS_EXT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7959:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7959 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:7991:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7991 | DECLARE_ZERO_INIT_ARRAY(char, recieveFPDMAReadLogString, RECEIVE_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8000:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8000 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8049:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8049 | DECLARE_ZERO_INIT_ARRAY(char, sendFPDMAReadLogString, SEND_FPDMA_READ_LOG_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8058:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8058 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8301:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8301 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:8943:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 8943 | M_ATTR_UNUSED uint16_t count, + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/smart.c:8946:28: note: in expansion of macro ‘M_ATTR_UNUSED’ + 8946 | M_ATTR_UNUSED uint8_t transportSpecific, + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/smart.c: In function ‘get_Error_Info’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8957:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8957 | DECLARE_ZERO_INIT_ARRAY(char, statusMessage, ATA_STATUS_MESSAGE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:8958:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8958 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9300:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9300 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9400:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9400 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9491:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9491 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9638:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9638 | DECLARE_ZERO_INIT_ARRAY(char, timestampString, TIMESTRING_MAX_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9684:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9684 | DECLARE_ZERO_INIT_ARRAY(char, commandDescription, ATA_COMMAND_INFO_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/smart.c:9724:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9724 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[102/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_EULA.c.o -MF openSeaChest_Logs.p/src_EULA.c.o.d -o openSeaChest_Logs.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[103/156] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -MF openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o.d -o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -c ../utils/C/openSeaChest/openSeaChest_Erase.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -26291,11 +25220,11 @@ ../utils/C/openSeaChest/openSeaChest_Erase.c:1949:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1949 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[107/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -MF openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o.d -o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -c ../utils/C/openSeaChest/openSeaChest_Configure.c +[104/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -MF openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o.d -o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -c ../utils/C/openSeaChest/openSeaChest_Format.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: + from ../utils/C/openSeaChest/openSeaChest_Format.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -26620,15 +25549,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_Format.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 88 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Format.c:84:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 84 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -26636,8 +25565,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 89 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Format.c:85:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 85 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -26645,8 +25574,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:90:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 90 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Format.c:86:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 86 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -26654,109 +25583,385 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:91:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 91 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Format.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 87 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:2813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2813 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN); \ +../include/openseachest_util_options.h:323:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 323 | DECLARE_ZERO_INIT_ARRAY( \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:127:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ - 127 | SCSI_SET_MP_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:921:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 921 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2256:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2256 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2259:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2259 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2262:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2262 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2265:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2265 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2268:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2268 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2271:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2271 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2274:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2274 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2277:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2277 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2280:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2280 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 140 | # define M_FALLTHROUGH [[fallthrough]] - | ^ -../utils/C/openSeaChest/openSeaChest_Configure.c:2283:25: note: in expansion of macro ‘M_FALLTHROUGH’ - 2283 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Format.c:97:5: note: in expansion of macro ‘PATTERN_VARS’ + 97 | PATTERN_VARS + | ^~~~~~~~~~~~ +[105/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -MF openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o.d -o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -c ../utils/C/openSeaChest/openSeaChest_Info.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_Info.c:18: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3520:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3520 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3521:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3521 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3582:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3582 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_Configure.c:3583:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3583 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[108/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_openseachest_util_options.c.o -MF openSeaChest_Firmware.p/src_openseachest_util_options.c.o.d -o openSeaChest_Firmware.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Info.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[106/156] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_openseachest_util_options.c.o -MF openSeaChest_Firmware.p/src_openseachest_util_options.c.o.d -o openSeaChest_Firmware.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -27121,20 +26326,11 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[109/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_EULA.c.o -MF openSeaChest_NVMe.p/src_EULA.c.o.d -o openSeaChest_NVMe.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[110/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_EULA.c.o -MF openSeaChest_PassthroughTest.p/src_EULA.c.o.d -o openSeaChest_PassthroughTest.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[111/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_EULA.c.o -MF openSeaChest_PowerControl.p/src_EULA.c.o.d -o openSeaChest_PowerControl.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[112/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -MF openSeaChest_GenericTests.p/src_openseachest_util_options.c.o.d -o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[107/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -MF openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o.d -o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -c ../utils/C/openSeaChest/openSeaChest_GenericTests.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../src/openseachest_util_options.c:16: + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -27459,43 +26655,515 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[108/156] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -MF openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o.d -o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -c ../utils/C/openSeaChest/openSeaChest_Configure.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_Configure.c:18: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[113/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -MF openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o.d -o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -c ../utils/C/openSeaChest/openSeaChest_Logs.c +../utils/C/openSeaChest/openSeaChest_Configure.c:88:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 88 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:89:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 89 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:90:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 90 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:91:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 91 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:2813:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2813 | DECLARE_ZERO_INIT_ARRAY(char, SCSI_SET_MP_FILENAME, SCSI_SET_MP_FILENAME_LEN); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:127:5: note: in expansion of macro ‘SCSI_SET_MP_VARS’ + 127 | SCSI_SET_MP_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:921:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 921 | DECLARE_ZERO_INIT_ARRAY(char, pageAndSubpage, PARSE_MP_PAGE_AND_SUBPAGE_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2256:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2256 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2259:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2259 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2262:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2262 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2265:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2265 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2268:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2268 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2271:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2271 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2274:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2274 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2277:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2277 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2280:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2280 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:140:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 140 | # define M_FALLTHROUGH [[fallthrough]] + | ^ +../utils/C/openSeaChest/openSeaChest_Configure.c:2283:25: note: in expansion of macro ‘M_FALLTHROUGH’ + 2283 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3520:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3520 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3521:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3521 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3582:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3582 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Configure.c:3583:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3583 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[109/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_EULA.c.o -MF openSeaChest_NVMe.p/src_EULA.c.o.d -o openSeaChest_NVMe.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[110/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_EULA.c.o -MF openSeaChest_PassthroughTest.p/src_EULA.c.o.d -o openSeaChest_PassthroughTest.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[111/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -MF openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o.d -o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -c ../utils/C/openSeaChest/openSeaChest_Logs.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -27861,6 +27529,12 @@ ../utils/C/openSeaChest/openSeaChest_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ 87 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ +[112/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_EULA.c.o -MF openSeaChest_PowerControl.p/src_EULA.c.o.d -o openSeaChest_PowerControl.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[113/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_EULA.c.o -MF openSeaChest_Raw.p/src_EULA.c.o.d -o openSeaChest_Raw.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition [114/156] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_openseachest_util_options.c.o -MF openSeaChest_Format.p/src_openseachest_util_options.c.o.d -o openSeaChest_Format.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition @@ -28226,7 +27900,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[115/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_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 +[115/156] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -MF openSeaChest_GenericTests.p/src_openseachest_util_options.c.o.d -o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -28591,13 +28265,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[116/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_EULA.c.o -MF openSeaChest_Raw.p/src_EULA.c.o.d -o openSeaChest_Raw.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[117/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_EULA.c.o -MF openSeaChest_Reservations.p/src_EULA.c.o.d -o openSeaChest_Reservations.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[118/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_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 +[116/156] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/src_openseachest_util_options.c.o -MF openSeaChest_Info.p/src_openseachest_util_options.c.o.d -o openSeaChest_Info.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -28962,7 +28630,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[119/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/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 +[117/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -MF openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o.d -o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -c ../utils/C/openSeaChest/openSeaChest_NVMe.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -29334,14 +29002,14 @@ ../utils/C/openSeaChest/openSeaChest_NVMe.c:1335:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1335 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[120/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_EULA.c.o -MF openSeaChest_Security.p/src_EULA.c.o.d -o openSeaChest_Security.p/src_EULA.c.o -c ../src/EULA.c +[118/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_EULA.c.o -MF openSeaChest_Reservations.p/src_EULA.c.o.d -o openSeaChest_Reservations.p/src_EULA.c.o -c ../src/EULA.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[121/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/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 +[119/156] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_openseachest_util_options.c.o -MF openSeaChest_Logs.p/src_openseachest_util_options.c.o.d -o openSeaChest_Logs.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -29666,287 +29334,289 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 77 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 78 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 79 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Reservations.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 80 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[122/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -MF openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o.d -o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[120/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_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 +[121/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -MF openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o.d -o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -c ../utils/C/openSeaChest/openSeaChest_Raw.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ + from ../utils/C/openSeaChest/openSeaChest_Raw.c:18: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -30032,286 +29702,296 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[123/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/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_Raw.c:73:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 73 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 74 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 75 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:76:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 76 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:3174:39: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3174 | #define RAW_CDB_ARRAY_VAR DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Raw.c:96:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ + 96 | RAW_CDB_ARRAY_VAR + | ^~~~~~~~~~~~~~~~~ +[122/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -MF openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o.d -o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -c ../utils/C/openSeaChest/openSeaChest_Reservations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:18: + from ../utils/C/openSeaChest/openSeaChest_Reservations.c:18: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -30397,15 +30077,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_Reservations.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 73 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 77 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -30413,8 +30093,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 74 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 78 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -30422,8 +30102,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 75 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 79 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -30431,26 +30111,17 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:76:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 76 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Reservations.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 80 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:3174:39: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3174 | #define RAW_CDB_ARRAY_VAR DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:96:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ - 96 | RAW_CDB_ARRAY_VAR - | ^~~~~~~~~~~~~~~~~ -[124/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_EULA.c.o -MF openSeaChest_SMART.p/src_EULA.c.o.d -o openSeaChest_SMART.p/src_EULA.c.o -c ../src/EULA.c +[123/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_EULA.c.o -MF openSeaChest_SMART.p/src_EULA.c.o.d -o openSeaChest_SMART.p/src_EULA.c.o -c ../src/EULA.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[125/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -MF openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o.d -o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -c ../utils/C/openSeaChest/openSeaChest_PowerControl.c +[124/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_openseachest_util_options.c.o -MF openSeaChest_NVMe.p/src_openseachest_util_options.c.o.d -o openSeaChest_NVMe.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -30775,83 +30446,43 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 79 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 80 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 81 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 82 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2170:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2170 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2171:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2171 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2274:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2274 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2275:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2275 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:2931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2931 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PowerControl.c:3065:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3065 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[126/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_EULA.c.o -MF openSeaChest_ZBD.p/src_EULA.c.o.d -o openSeaChest_ZBD.p/src_EULA.c.o -c ../src/EULA.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[127/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -MF openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o.d -o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -c ../utils/C/openSeaChest/openSeaChest_Security.c +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[125/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -MF openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o.d -o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -c ../utils/C/openSeaChest/openSeaChest_Security.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -31244,7 +30875,7 @@ ../utils/C/openSeaChest/openSeaChest_Security.c:820:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 820 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -[128/156] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_openseachest_util_options.c.o -MF openSeaChest_NVMe.p/src_openseachest_util_options.c.o.d -o openSeaChest_NVMe.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[126/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -MF openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o.d -o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -31609,7 +31240,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[129/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -MF openSeaChest_PowerControl.p/src_openseachest_util_options.c.o.d -o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[127/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -MF openSeaChest_PowerControl.p/src_openseachest_util_options.c.o.d -o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -31974,11 +31605,14 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[130/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c +[128/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_EULA.c.o -MF openSeaChest_ZBD.p/src_EULA.c.o.d -o openSeaChest_ZBD.p/src_EULA.c.o -c ../src/EULA.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +[129/156] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -MF openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o.d -o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -c ../utils/C/openSeaChest/openSeaChest_PowerControl.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: + from ../utils/C/openSeaChest/openSeaChest_PowerControl.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -32303,15 +31937,15 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: +../utils/C/openSeaChest/openSeaChest_PowerControl.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 77 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:79:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 79 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -32319,8 +31953,8 @@ ../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 78 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:80:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 80 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -32328,8 +31962,8 @@ ../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 79 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:81:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 81 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} @@ -32337,10 +31971,46 @@ ../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 80 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PowerControl.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 82 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[131/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_openseachest_util_options.c.o -MF openSeaChest_Reservations.p/src_openseachest_util_options.c.o.d -o openSeaChest_Reservations.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2170:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2170 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2171:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2171 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2274:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2274 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2275:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2275 | DECLARE_ZERO_INIT_ARRAY(char, modeChangeStrNotSuccess, LEGACY_POWER_MODE_CHANGE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:2931:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2931 | DECLARE_ZERO_INIT_ARRAY(char, partialSlumberString, SEACHEST_POWERCONTROL_PARTIAL_SLUMBER_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PowerControl.c:3065:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3065 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[130/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_openseachest_util_options.c.o -MF openSeaChest_Raw.p/src_openseachest_util_options.c.o.d -o openSeaChest_Raw.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -32705,11 +32375,11 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[132/156] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/src_openseachest_util_options.c.o -MF openSeaChest_Raw.p/src_openseachest_util_options.c.o.d -o openSeaChest_Raw.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[131/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../src/openseachest_util_options.c:16: + from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -33034,47 +32704,192 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[133/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -c ../subprojects/opensea-operations/src/device_statistics.c +../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 77 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 78 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 79 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:80:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 80 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[132/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -MF openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o.d -o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -c ../utils/C/openSeaChest/openSeaChest_SMART.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/bit_manip.h:16, - from ../subprojects/opensea-operations/src/device_statistics.c:16: +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ @@ -33171,6 +32986,138 @@ ../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ + 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:181:5: note: in expansion of macro ‘M_NODISCARD’ + 181 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:273:5: note: in expansion of macro ‘M_NODISCARD’ + 273 | M_NODISCARD M_NONNULL_PARAM_LIST(1) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:284:5: note: in expansion of macro ‘M_NODISCARD’ + 284 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:501:5: note: in expansion of macro ‘M_NODISCARD’ + 501 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_NULL_TERM_STRING(2) M_PARAM_RO(2) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:518:5: note: in expansion of macro ‘M_NODISCARD’ + 518 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:541:5: note: in expansion of macro ‘M_NODISCARD’ + 541 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_WO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:561:5: note: in expansion of macro ‘M_NODISCARD’ + 561 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO_SIZE(2, 3) M_PARAM_WO(6) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:577:5: note: in expansion of macro ‘M_NODISCARD’ + 577 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:584:5: note: in expansion of macro ‘M_NODISCARD’ + 584 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:590:5: note: in expansion of macro ‘M_NODISCARD’ + 590 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) oscoffset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:596:5: note: in expansion of macro ‘M_NODISCARD’ + 596 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RW(1) eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ + 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 83 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 84 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 85 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 86 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_SMART.c:2194:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2194 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[133/156] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_openseachest_util_options.c.o -MF openSeaChest_Reservations.p/src_openseachest_util_options.c.o.d -o openSeaChest_Reservations.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/common_types.h:48, + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -33318,6 +33265,102 @@ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ ../subprojects/opensea-common/include/secure_file.h:164:5: note: in expansion of macro ‘M_NODISCARD’ 164 | M_NODISCARD M_NONNULL_PARAM_LIST(1) | ^~~~~~~~~~~ @@ -33393,232 +33436,53 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/bit_manip.h:17: -../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:999:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 999 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1021:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1021 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1086:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1086 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Statistic_Flags’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8291:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8291 | DECLARE_ZERO_INIT_ARRAY(char, statisticFlags, DEVICE_STATISTIC_FLAGS_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8333:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8333 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8392:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8392 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8456 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8551:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8551 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8607:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8607 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8670:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8670 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8739:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8739 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8794:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8794 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8836:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8836 | DECLARE_ZERO_INIT_ARRAY(char, timestr, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8868:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8868 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Microseconds_Statistic’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8938:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8938 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:8994:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 8994 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9035:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9035 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9036 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9066:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9066 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9157:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9157 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9227:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9227 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9303 | DECLARE_ZERO_INIT_ARRAY(char, flagPad, DEVICE_STATISTIC_FLAGS_LEN + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9439:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9439 | DECLARE_ZERO_INIT_ARRAY(char, rangeID, RANGE_ID_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9454:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9454 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9463:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9463 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9472:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9472 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9481:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9481 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9505:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9505 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 224 | # define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/device_statistics.c:9552:50: note: in expansion of macro ‘M_ATTR_UNUSED’ - 9552 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice* device, ptrDeviceStatistics deviceStats) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘is_ATA_Timestamp_Supported’: +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ + 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:9963:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 9963 | DECLARE_ZERO_INIT_ARRAY(uint8_t, devStats, ATA_LOG_PAGE_LEN_BYTES); +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘set_Date_And_Time_Timestamp’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:10068:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, timestampParam, 12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:10083:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10083 | DECLARE_ZERO_INIT_ARRAY(uint8_t, timestampData, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘ata_Device_Statistics_Reinitialize’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:10139:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ -10139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, devStats, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[134/156] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -[135/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -MF openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o.d -o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -c ../utils/C/openSeaChest/openSeaChest_SMART.c +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[134/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_openseachest_util_options.c.o -MF openSeaChest_Security.p/src_openseachest_util_options.c.o.d -o openSeaChest_Security.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../utils/C/openSeaChest/openSeaChest_SMART.c:19: + from ../src/openseachest_util_options.c:16: ../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 267 | # define M_DEPRECATED [[deprecated]] | ^ @@ -33943,63 +33807,43 @@ ../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1289:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1289 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:83:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 83 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:84:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 84 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1331:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1331 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:85:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 85 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 310 | # define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 160 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 162 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 163 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 164 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 165 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 211 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1345:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1345 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH); \ +../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:86:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 86 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_SMART.c:2194:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2194 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[136/156] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[137/156] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[138/156] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[139/156] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[140/156] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[141/156] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[142/156] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[143/156] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[144/156] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[145/156] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[146/156] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[147/156] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[148/156] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[149/156] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_openseachest_util_options.c.o -MF openSeaChest_Security.p/src_openseachest_util_options.c.o.d -o openSeaChest_Security.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 249 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[135/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_openseachest_util_options.c.o -MF openSeaChest_SMART.p/src_openseachest_util_options.c.o.d -o openSeaChest_SMART.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -34364,8 +34208,7 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[150/156] cc -o openSeaChest_Security openSeaChest_Security.p/src_EULA.c.o openSeaChest_Security.p/src_openseachest_util_options.c.o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[151/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c +[136/156] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -34895,7 +34738,7 @@ ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:8089:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 8089 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[152/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_openseachest_util_options.c.o -MF openSeaChest_ZBD.p/src_openseachest_util_options.c.o.d -o openSeaChest_ZBD.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[137/156] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/src_openseachest_util_options.c.o -MF openSeaChest_ZBD.p/src_openseachest_util_options.c.o.d -o openSeaChest_ZBD.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/common_types.h:48, @@ -35260,250 +35103,250 @@ ../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 249 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[153/156] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_openseachest_util_options.c.o -MF openSeaChest_SMART.p/src_openseachest_util_options.c.o.d -o openSeaChest_SMART.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[138/156] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -c ../subprojects/opensea-operations/src/device_statistics.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/common_types.h:48, - from ../src/openseachest_util_options.c:16: -../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 267 | # define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ - 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/bit_manip.h:16, + from ../subprojects/opensea-operations/src/device_statistics.c:16: ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ + 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ - 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ + 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ - 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ + 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ - 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ + 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ - 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ + 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ + 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ - 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ + 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ + 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ - 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ + 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ - 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ + 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ - 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ + 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ - 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ + 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ - 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ + 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ - 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ + 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ - 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ + 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ - 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ + 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:267:30: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 267 | # define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:41:5: note: in expansion of macro ‘M_DEPRECATED’ + 41 | M_DEPRECATED /*use the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ - 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ - 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:98:5: note: in expansion of macro ‘M_NODISCARD’ + 98 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ - 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:116:5: note: in expansion of macro ‘M_NODISCARD’ + 116 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ - 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:134:5: note: in expansion of macro ‘M_NODISCARD’ + 134 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ - 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) +../subprojects/opensea-common/include/io_utils.h:152:5: note: in expansion of macro ‘M_NODISCARD’ + 152 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ - 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ - 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) +../subprojects/opensea-common/include/io_utils.h:188:5: note: in expansion of macro ‘M_NODISCARD’ + 188 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1624:5: note: in expansion of macro ‘M_NODISCARD’ - 1624 | M_NODISCARD static M_INLINE uint8_t n_swap_8(uint8_t byte) +../subprojects/opensea-common/include/io_utils.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1657:5: note: in expansion of macro ‘M_NODISCARD’ - 1657 | M_NODISCARD static M_INLINE uint16_t b_swap_16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:224:5: note: in expansion of macro ‘M_NODISCARD’ + 224 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1678:5: note: in expansion of macro ‘M_NODISCARD’ - 1678 | M_NODISCARD static M_INLINE uint32_t b_swap_32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:242:5: note: in expansion of macro ‘M_NODISCARD’ + 242 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1706:5: note: in expansion of macro ‘M_NODISCARD’ - 1706 | M_NODISCARD static M_INLINE uint64_t b_swap_64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:260:5: note: in expansion of macro ‘M_NODISCARD’ + 260 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1921:5: note: in expansion of macro ‘M_NODISCARD’ - 1921 | M_NODISCARD static M_INLINE uint16_t be16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:278:5: note: in expansion of macro ‘M_NODISCARD’ + 278 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1940:5: note: in expansion of macro ‘M_NODISCARD’ - 1940 | M_NODISCARD static M_INLINE uint32_t be32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:296:5: note: in expansion of macro ‘M_NODISCARD’ + 296 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1959:5: note: in expansion of macro ‘M_NODISCARD’ - 1959 | M_NODISCARD static M_INLINE uint64_t be64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:314:5: note: in expansion of macro ‘M_NODISCARD’ + 314 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1978:5: note: in expansion of macro ‘M_NODISCARD’ - 1978 | M_NODISCARD static M_INLINE uint16_t host_to_be16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:332:5: note: in expansion of macro ‘M_NODISCARD’ + 332 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:1997:5: note: in expansion of macro ‘M_NODISCARD’ - 1997 | M_NODISCARD static M_INLINE uint32_t host_to_be32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:350:5: note: in expansion of macro ‘M_NODISCARD’ + 350 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2016:5: note: in expansion of macro ‘M_NODISCARD’ - 2016 | M_NODISCARD static M_INLINE uint64_t host_to_be64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:368:5: note: in expansion of macro ‘M_NODISCARD’ + 368 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2035:5: note: in expansion of macro ‘M_NODISCARD’ - 2035 | M_NODISCARD static M_INLINE uint16_t host_to_le16(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:386:5: note: in expansion of macro ‘M_NODISCARD’ + 386 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2054:5: note: in expansion of macro ‘M_NODISCARD’ - 2054 | M_NODISCARD static M_INLINE uint32_t host_to_le32(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:404:5: note: in expansion of macro ‘M_NODISCARD’ + 404 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2073:5: note: in expansion of macro ‘M_NODISCARD’ - 2073 | M_NODISCARD static M_INLINE uint64_t host_to_le64(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:422:5: note: in expansion of macro ‘M_NODISCARD’ + 422 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2092:5: note: in expansion of macro ‘M_NODISCARD’ - 2092 | M_NODISCARD static M_INLINE uint16_t le16_to_host(uint16_t value) +../subprojects/opensea-common/include/io_utils.h:440:5: note: in expansion of macro ‘M_NODISCARD’ + 440 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 4) M_NULL_TERM_STRING(1) M_PARAM_RO(1) M_PARAM_WO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2111:5: note: in expansion of macro ‘M_NODISCARD’ - 2111 | M_NODISCARD static M_INLINE uint32_t le32_to_host(uint32_t value) +../subprojects/opensea-common/include/io_utils.h:539:5: note: in expansion of macro ‘M_NODISCARD’ + 539 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/bit_manip.h:2130:5: note: in expansion of macro ‘M_NODISCARD’ - 2130 | M_NODISCARD static M_INLINE uint64_t le64_to_host(uint64_t value) +../subprojects/opensea-common/include/io_utils.h:552:5: note: in expansion of macro ‘M_NODISCARD’ + 552 | M_NODISCARD M_NONNULL_PARAM_LIST(1, 2) M_PARAM_RW(1) M_PARAM_RO(2) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 310 | # define M_NODISCARD [[nodiscard]] @@ -35583,51 +35426,244 @@ ../subprojects/opensea-common/include/secure_file.h:608:5: note: in expansion of macro ‘M_NODISCARD’ 608 | M_NODISCARD M_NONNULL_PARAM_LIST(1) M_PARAM_RO(1) eSecureFileError | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:221:5: note: in expansion of macro ‘M_NODISCARD’ - 221 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:310:29: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 310 | # define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:80:1: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:160:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 160 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:162:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 162 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:163:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 163 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:164:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 164 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:165:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 165 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:211:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 211 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../subprojects/opensea-common/include/bit_manip.h:17: +../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: ../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:234:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 234 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../subprojects/opensea-operations/src/device_statistics.c:999:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 999 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:249:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 249 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[154/156] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[155/156] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[156/156] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:1021:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1021 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:1086:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1086 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Statistic_Flags’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8291:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8291 | DECLARE_ZERO_INIT_ARRAY(char, statisticFlags, DEVICE_STATISTIC_FLAGS_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8333:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8333 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8392:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8392 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8456:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8456 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8551:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8551 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8607:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8607 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8670:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8670 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8739:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8739 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8794:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8794 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8836:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8836 | DECLARE_ZERO_INIT_ARRAY(char, timestr, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8868:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8868 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Microseconds_Statistic’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8938:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8938 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:8994:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 8994 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9035:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9035 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9036:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9036 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9066:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9066 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9157:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9157 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9227:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9227 | 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:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9303:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9303 | DECLARE_ZERO_INIT_ARRAY(char, flagPad, DEVICE_STATISTIC_FLAGS_LEN + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9439:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9439 | DECLARE_ZERO_INIT_ARRAY(char, rangeID, RANGE_ID_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9454:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9454 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9463:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9463 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9472:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9472 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9481:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9481 | DECLARE_ZERO_INIT_ARRAY(char, policyName, CDL_POLICY_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9505:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9505 | 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:224:31: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 224 | # define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/device_statistics.c:9552:50: note: in expansion of macro ‘M_ATTR_UNUSED’ + 9552 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice* device, ptrDeviceStatistics deviceStats) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘is_ATA_Timestamp_Supported’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:9963:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 9963 | DECLARE_ZERO_INIT_ARRAY(uint8_t, devStats, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘set_Date_And_Time_Timestamp’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:10068:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10068 | DECLARE_ZERO_INIT_ARRAY(uint8_t, timestampParam, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:10083:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10083 | DECLARE_ZERO_INIT_ARRAY(uint8_t, timestampData, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘ata_Device_Statistics_Reinitialize’: +../subprojects/opensea-common/include/common_types.h:740:46: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 740 | type_name array_name[size] = {[0 ...((size) - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:10139:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ +10139 | DECLARE_ZERO_INIT_ARRAY(uint8_t, devStats, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[139/156] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_cdl.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o +[140/156] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[141/156] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[142/156] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[143/156] cc -o openSeaChest_PassthroughTest openSeaChest_PassthroughTest.p/src_EULA.c.o openSeaChest_PassthroughTest.p/src_openseachest_util_options.c.o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[144/156] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[145/156] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[146/156] cc -o openSeaChest_Info openSeaChest_Info.p/src_EULA.c.o openSeaChest_Info.p/src_openseachest_util_options.c.o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[147/156] cc -o openSeaChest_NVMe openSeaChest_NVMe.p/src_EULA.c.o openSeaChest_NVMe.p/src_openseachest_util_options.c.o openSeaChest_NVMe.p/utils_C_openSeaChest_openSeaChest_NVMe.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[148/156] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[149/156] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[150/156] cc -o openSeaChest_Raw openSeaChest_Raw.p/src_EULA.c.o openSeaChest_Raw.p/src_openseachest_util_options.c.o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[151/156] cc -o openSeaChest_Logs openSeaChest_Logs.p/src_EULA.c.o openSeaChest_Logs.p/src_openseachest_util_options.c.o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[152/156] cc -o openSeaChest_PowerControl openSeaChest_PowerControl.p/src_EULA.c.o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o openSeaChest_PowerControl.p/utils_C_openSeaChest_openSeaChest_PowerControl.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[153/156] cc -o openSeaChest_SMART openSeaChest_SMART.p/src_EULA.c.o openSeaChest_SMART.p/src_openseachest_util_options.c.o openSeaChest_SMART.p/utils_C_openSeaChest_openSeaChest_SMART.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[154/156] cc -o openSeaChest_Reservations openSeaChest_Reservations.p/src_EULA.c.o openSeaChest_Reservations.p/src_openseachest_util_options.c.o openSeaChest_Reservations.p/utils_C_openSeaChest_openSeaChest_Reservations.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[155/156] cc -o openSeaChest_Security openSeaChest_Security.p/src_EULA.c.o openSeaChest_Security.p/src_openseachest_util_options.c.o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[156/156] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-25.05.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group dh_auto_test cd obj-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=12 meson test --verbose No tests defined. @@ -35692,8 +35728,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'openseachest-dbgsym' in '../openseachest-dbgsym_25.05.1-1_arm64.deb'. dpkg-deb: building package 'openseachest' in '../openseachest_25.05.1-1_arm64.deb'. +dpkg-deb: building package 'openseachest-dbgsym' in '../openseachest-dbgsym_25.05.1-1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../openseachest_25.05.1-1_arm64.buildinfo dpkg-genchanges --build=binary -O../openseachest_25.05.1-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -35701,12 +35737,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/3450754/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3450754/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/3180920 and its subdirectories -I: Current time: Fri Jul 25 07:44:40 -12 2025 -I: pbuilder-time-stamp: 1753472680 +I: removing directory /srv/workspace/pbuilder/3450754 and its subdirectories +I: Current time: Fri Aug 28 16:09:39 +14 2026 +I: pbuilder-time-stamp: 1787882979