Diff of the two buildlogs: -- --- b1/build.log 2024-10-27 18:13:41.661576872 +0000 +++ b2/build.log 2024-10-27 18:18:34.399140925 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Oct 27 06:08:23 -12 2024 -I: pbuilder-time-stamp: 1730052503 +I: Current time: Mon Oct 28 08:14:37 +14 2024 +I: pbuilder-time-stamp: 1730052877 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking openseachest_24.08.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4200/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6911/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 27 18:14 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/6911/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6911/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e544935380d44dcf9aefd72bd7eca73a' - 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='4200' - PS1='# ' - PS2='> ' + INVOCATION_ID=09a4fc207bfb4f6282fb6ef71ea61f0a + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=6911 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.JbCyT7FH/pbuilderrc_ow7A --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.JbCyT7FH/b1 --logfile b1/build.log openseachest_24.08.1-1.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.JbCyT7FH/pbuilderrc_caDi --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.JbCyT7FH/b2 --logfile b2/build.log openseachest_24.08.1-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64a 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4200/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/6911/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -174,7 +206,7 @@ Get: 62 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.20.2-1 [10.3 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 75.2.0-1 [731 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf meson all 1.6.0-1 [628 kB] -Fetched 27.5 MB in 1s (47.3 MB/s) +Fetched 27.5 MB in 1s (49.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (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 ... 19667 files and directories currently installed.) @@ -401,8 +433,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Oct 27 18:10:05 UTC 2024. -Universal Time is now: Sun Oct 27 18:10:05 UTC 2024. +Local time is now: Sun Oct 27 18:15:21 UTC 2024. +Universal Time is now: Sun Oct 27 18:15:21 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -459,7 +491,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/openseachest-24.08.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../openseachest_24.08.1-1_source.changes +I: user script /srv/workspace/pbuilder/6911/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/6911/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/openseachest-24.08.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../openseachest_24.08.1-1_source.changes dpkg-buildpackage: info: source package openseachest dpkg-buildpackage: info: source version 24.08.1-1 dpkg-buildpackage: info: source distribution unstable @@ -486,7 +522,7 @@ C compiler for the host machine: cc (gcc 14.2.0 "cc (Debian 14.2.0-7) 14.2.0") C linker for the host machine: cc ld.bfd 2.43.1 Host machine cpu family: arm -Host machine cpu: arm +Host machine cpu: armv7l Checking if "_FORTIFY_SOURCE override" compiles: YES Compiler for C supports arguments -Wshadow=compatible-local: YES Compiler for C supports arguments -Wvla: YES @@ -927,8 +963,20 @@ Found ninja-1.12.1 at /usr/bin/ninja dh_auto_build - cd obj-arm-linux-gnueabihf && LC_ALL=C.UTF-8 ninja -j3 -v -[1/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 + cd obj-arm-linux-gnueabihf && LC_ALL=C.UTF-8 ninja -j4 -v +[1/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o -c ../subprojects/opensea-common/src/error_translation.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/error_translation.h:18, + from ../subprojects/opensea-common/src/error_translation.c:16: +../subprojects/opensea-common/src/error_translation.c: In function ‘print_Errno_To_Screen’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-common/src/error_translation.c:85:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 85 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ERROR_STRING_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[2/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o -c ../subprojects/opensea-common/src/env_detect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/env_detect.h:20, @@ -1065,37 +1113,25 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ -[2/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -c ../subprojects/opensea-common/src/bit_manip.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -[3/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[3/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -In file included from ../subprojects/opensea-common/include/error_translation.h:18, - from ../subprojects/opensea-common/src/error_translation.c:16: -../subprojects/opensea-common/src/error_translation.c: In function ‘print_Errno_To_Screen’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-common/src/error_translation.c:85:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 85 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ERROR_STRING_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[4/148] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[4/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o -c ../subprojects/opensea-common/src/bit_manip.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[5/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[5/148] cc -Isubprojects/wingetopt/libwingetopt.a.p -Isubprojects/wingetopt -I../subprojects/wingetopt -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_STD_INT -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[6/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[6/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[7/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o -c ../subprojects/opensea-common/src/pattern_utils.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -[8/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[8/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[9/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[9/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [10/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -1118,89 +1154,11 @@ [11/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[12/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[12/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/secure_file.h:20, - from ../subprojects/opensea-common/src/secure_file.c:18: -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/env_detect.h:20, + from ../subprojects/opensea-common/src/io_utils.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -1336,70 +1294,246 @@ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:107:1: note: in expansion of macro ‘M_NODISCARD’ - 107 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList, fileAttributes* expectedFileInfo, fileUniqueIDInfo* uniqueIdInfo /*optional*/) +../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ + 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); + | ^~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:711:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 711 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-common/src/io_utils.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ + 723 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/src/io_utils.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1283:1: note: in expansion of macro ‘M_NODISCARD’ + 1283 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:545:1: note: in expansion of macro ‘M_NODISCARD’ - 545 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo) +../subprojects/opensea-common/src/io_utils.c:1350:1: note: in expansion of macro ‘M_NODISCARD’ + 1350 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:578:1: note: in expansion of macro ‘M_NODISCARD’ - 578 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/) +../subprojects/opensea-common/src/io_utils.c:1417:1: note: in expansion of macro ‘M_NODISCARD’ + 1417 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:652:1: note: in expansion of macro ‘M_NODISCARD’ - 652 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/) +../subprojects/opensea-common/src/io_utils.c:1439:1: note: in expansion of macro ‘M_NODISCARD’ + 1439 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:717:1: note: in expansion of macro ‘M_NODISCARD’ - 717 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition) +../subprojects/opensea-common/src/io_utils.c:1461:1: note: in expansion of macro ‘M_NODISCARD’ + 1461 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:752:1: note: in expansion of macro ‘M_NODISCARD’ - 752 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) +../subprojects/opensea-common/src/io_utils.c:1483:1: note: in expansion of macro ‘M_NODISCARD’ + 1483 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long long* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:775:1: note: in expansion of macro ‘M_NODISCARD’ - 775 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo) +../subprojects/opensea-common/src/io_utils.c:1551:1: note: in expansion of macro ‘M_NODISCARD’ + 1551 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:842:1: note: in expansion of macro ‘M_NODISCARD’ - 842 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) +../subprojects/opensea-common/src/io_utils.c:1618:1: note: in expansion of macro ‘M_NODISCARD’ + 1618 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int* outputInteger) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/secure_file.c:881:1: note: in expansion of macro ‘M_NODISCARD’ - 881 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) +../subprojects/opensea-common/src/io_utils.c:1646:1: note: in expansion of macro ‘M_NODISCARD’ + 1646 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, char** unit, eAllowedUnitInput unittype, short* outputInteger) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/secure_file.h:19: -../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1674:1: note: in expansion of macro ‘M_NODISCARD’ + 1674 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, char** unit, eAllowedUnitInput unittype, char* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1702:1: note: in expansion of macro ‘M_NODISCARD’ + 1702 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1738:1: note: in expansion of macro ‘M_NODISCARD’ + 1738 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float* outputFloat) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1784:1: note: in expansion of macro ‘M_NODISCARD’ + 1784 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double* outputFloat) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1830:1: note: in expansion of macro ‘M_NODISCARD’ + 1830 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double* outputFloat) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1877:1: note: in expansion of macro ‘M_DEPRECATED’ + 1877 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1882:1: note: in expansion of macro ‘M_NODISCARD’ + 1882 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1904:1: note: in expansion of macro ‘M_NODISCARD’ + 1904 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1928:1: note: in expansion of macro ‘M_NODISCARD’ + 1928 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:1952:1: note: in expansion of macro ‘M_NODISCARD’ + 1952 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int64_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2006:1: note: in expansion of macro ‘M_NODISCARD’ + 2006 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int32_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2037:1: note: in expansion of macro ‘M_NODISCARD’ + 2037 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int16_t* outputInteger) + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/src/io_utils.c:2060:1: note: in expansion of macro ‘M_NODISCARD’ + 2060 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int8_t* outputInteger) + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-common/include/env_detect.h:21: +../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/secure_file.c:886:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 886 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[13/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o -c ../subprojects/opensea-common/src/io_utils.c +../subprojects/opensea-common/src/io_utils.c:2365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2365 | DECLARE_ZERO_INIT_ARRAY(char, lineBuff, LINE_BUF_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[13/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o -c ../subprojects/opensea-common/src/secure_file.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/env_detect.h:20, - from ../subprojects/opensea-common/src/io_utils.c:18: +In file included from ../subprojects/opensea-common/include/secure_file.h:20, + from ../subprojects/opensea-common/src/secure_file.c:18: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -1535,167 +1669,66 @@ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/include/secured_env_vars.h:37:5: note: in expansion of macro ‘M_NODISCARD’ - 37 | M_NODISCARD eEnvVarResult get_Environment_Variable(const char* environmentVariableName, char** envVar); - | ^~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: In function ‘get_Console_Color_Capabilities’: -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:711:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 711 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-common/src/io_utils.c:723:13: note: in expansion of macro ‘M_FALLTHROUGH’ - 723 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/src/io_utils.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1283:1: note: in expansion of macro ‘M_NODISCARD’ - 1283 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1350:1: note: in expansion of macro ‘M_NODISCARD’ - 1350 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1417:1: note: in expansion of macro ‘M_NODISCARD’ - 1417 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1439:1: note: in expansion of macro ‘M_NODISCARD’ - 1439 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1461:1: note: in expansion of macro ‘M_NODISCARD’ - 1461 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char* strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1483:1: note: in expansion of macro ‘M_NODISCARD’ - 1483 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long long* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1551:1: note: in expansion of macro ‘M_NODISCARD’ - 1551 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1618:1: note: in expansion of macro ‘M_NODISCARD’ - 1618 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1646:1: note: in expansion of macro ‘M_NODISCARD’ - 1646 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char* strToConvert, char** unit, eAllowedUnitInput unittype, short* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1674:1: note: in expansion of macro ‘M_NODISCARD’ - 1674 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char* strToConvert, char** unit, eAllowedUnitInput unittype, char* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1702:1: note: in expansion of macro ‘M_NODISCARD’ - 1702 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t* outputInteger) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1738:1: note: in expansion of macro ‘M_NODISCARD’ - 1738 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float* outputFloat) - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1784:1: note: in expansion of macro ‘M_NODISCARD’ - 1784 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double* outputFloat) +../subprojects/opensea-common/src/secure_file.c:107:1: note: in expansion of macro ‘M_NODISCARD’ + 107 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList, fileAttributes* expectedFileInfo, fileUniqueIDInfo* uniqueIdInfo /*optional*/) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1830:1: note: in expansion of macro ‘M_NODISCARD’ - 1830 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double* outputFloat) +../subprojects/opensea-common/src/secure_file.c:545:1: note: in expansion of macro ‘M_NODISCARD’ + 545 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo) | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/src/io_utils.c:1877:1: note: in expansion of macro ‘M_DEPRECATED’ - 1877 | M_DEPRECATED bool get_And_Validate_Integer_Input(const char* strToConvert, uint64_t* outputInteger) - | ^~~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1882:1: note: in expansion of macro ‘M_NODISCARD’ - 1882 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t* outputInteger) +../subprojects/opensea-common/src/secure_file.c:578:1: note: in expansion of macro ‘M_NODISCARD’ + 578 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1904:1: note: in expansion of macro ‘M_NODISCARD’ - 1904 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t* outputInteger) +../subprojects/opensea-common/src/secure_file.c:652:1: note: in expansion of macro ‘M_NODISCARD’ + 652 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1928:1: note: in expansion of macro ‘M_NODISCARD’ - 1928 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t* outputInteger) +../subprojects/opensea-common/src/secure_file.c:717:1: note: in expansion of macro ‘M_NODISCARD’ + 717 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:1952:1: note: in expansion of macro ‘M_NODISCARD’ - 1952 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int64_t* outputInteger) +../subprojects/opensea-common/src/secure_file.c:752:1: note: in expansion of macro ‘M_NODISCARD’ + 752 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:2006:1: note: in expansion of macro ‘M_NODISCARD’ - 2006 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int32_t* outputInteger) +../subprojects/opensea-common/src/secure_file.c:775:1: note: in expansion of macro ‘M_NODISCARD’ + 775 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:2037:1: note: in expansion of macro ‘M_NODISCARD’ - 2037 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int16_t* outputInteger) +../subprojects/opensea-common/src/secure_file.c:842:1: note: in expansion of macro ‘M_NODISCARD’ + 842 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo) | ^~~~~~~~~~~ ../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 239 | #define M_NODISCARD [[nodiscard]] | ^ -../subprojects/opensea-common/src/io_utils.c:2060:1: note: in expansion of macro ‘M_NODISCARD’ - 2060 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char* strToConvert, char** unit, eAllowedUnitInput unittype, int8_t* outputInteger) +../subprojects/opensea-common/src/secure_file.c:881:1: note: in expansion of macro ‘M_NODISCARD’ + 881 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction) | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-common/include/env_detect.h:21: -../subprojects/opensea-common/src/io_utils.c: In function ‘internal_Print_Data_Buffer’: +In file included from ../subprojects/opensea-common/include/secure_file.h:19: +../subprojects/opensea-common/src/secure_file.c: In function ‘secure_Delete_File_By_Name’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-common/src/io_utils.c:2365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2365 | DECLARE_ZERO_INIT_ARRAY(char, lineBuff, LINE_BUF_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[14/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[15/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +../subprojects/opensea-common/src/secure_file.c:886:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 886 | DECLARE_ZERO_INIT_ARRAY(char, fullpath, 4096); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[14/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -MF subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o.d -o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o -c ../subprojects/opensea-common/src/unit_conversion.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/env_detect.h:20, @@ -1833,6 +1866,9 @@ ../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); | ^~~~~~~~~~~ +[15/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [16/148] cc -Isubprojects/opensea-common/libopensea-common.a.p -Isubprojects/opensea-common -I../subprojects/opensea-common -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -DHAVE_SECURE_GETENV -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -2610,12 +2646,11 @@ ../subprojects/opensea-transport/src/asmedia_nvme_helper.c:632:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 632 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, ASMEDIA_NVME_PACKET_CDB_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[22/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[22/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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/env_detect.h:20, - from ../subprojects/opensea-common/include/string_utils.h:19, - from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:18: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/ciss_helper.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -2760,11 +2795,74 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[23/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ + 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/ciss_helper.c:17: +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 317 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:426:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 426 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1555 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1651:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1651 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-transport/src/ciss_helper.c:1747:70: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1747 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList) + | ^~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1753:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1753 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1880 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ciss_helper.c:1909:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1909 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[23/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o -c ../subprojects/opensea-transport/src/ata_legacy_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ata_helper.c:14: +In file included from ../subprojects/opensea-common/include/env_detect.h:20, + from ../subprojects/opensea-common/include/string_utils.h:19, + from ../subprojects/opensea-transport/src/ata_legacy_cmds.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -2909,26 +3007,11 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/ata_helper.c:13: -../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ata_helper.c:1489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[24/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[24/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o -c ../subprojects/opensea-transport/src/ata_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/ciss_helper.c:18: + from ../subprojects/opensea-transport/src/ata_helper.c:14: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3073,69 +3156,99 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/include/ciss_helper_func.h:51:74: note: in expansion of macro ‘M_ATTR_UNUSED’ - 51 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList); - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/ciss_helper.c:17: -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘is_Supported_ciss_Dev’: +In file included from ../subprojects/opensea-transport/src/ata_helper.c:13: +../subprojects/opensea-transport/src/ata_helper.c: In function ‘send_ATA_SCT_Read_Write_Long’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:317:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 317 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-transport/src/ata_helper.c:261:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 261 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readWriteLongCommandSector, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘ciss_Scsi_Report_Physical_LUNs’: +../subprojects/opensea-transport/src/ata_helper.c: In function ‘fill_In_ATA_Drive_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:426:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 426 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device’: +../subprojects/opensea-transport/src/ata_helper.c:1489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logBuffer, ATA_LOG_PAGE_LEN_BYTES); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[25/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -c ../subprojects/opensea-transport/src/cmds.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/cmds.c:16: +../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1555:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1555 | DECLARE_ZERO_INIT_ARRAY(char, osHandle, OS_CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_Physical_LUN_Count’: +../subprojects/opensea-transport/src/cmds.c:682:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 682 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1651:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1651 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, 12); +../subprojects/opensea-transport/src/cmds.c:801:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 801 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-transport/src/ciss_helper.c:1747:70: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1747 | eReturnValues get_CISS_RAID_Device_Count(uint32_t * numberOfDevices, M_ATTR_UNUSED uint64_t flags, ptrRaidHandleToScan *beginningOfList) - | ^~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_Count’: +../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1753:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1753 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/ciss_helper.c: In function ‘get_CISS_RAID_Device_List’: +../subprojects/opensea-transport/src/cmds.c:885:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1880:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1880 | DECLARE_ZERO_INIT_ARRAY(char, deviceName, CISS_HANDLE_MAX_LENGTH); +../subprojects/opensea-transport/src/cmds.c:1461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +[26/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: +../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/ciss_helper.c:1909:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1909 | DECLARE_ZERO_INIT_ARRAY(char, handle, CISS_HANDLE_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[25/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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-transport/src/csmi_legacy_pt_cdb_helper.c:170:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 170 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[27/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o -c ../subprojects/opensea-transport/src/cypress_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:73:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 73 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:74:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 74 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:75:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/cypress_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[28/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -c ../subprojects/opensea-transport/src/intel_rst_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +../subprojects/opensea-transport/src/intel_rst_helper.c:1041: warning: ISO C forbids an empty translation unit [-Wpedantic] +[29/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o -c ../subprojects/opensea-transport/src/ata_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -3333,84 +3446,37 @@ ../subprojects/opensea-transport/src/ata_cmds.c:643:9: note: in expansion of macro ‘M_FALLTHROUGH’ 643 | M_FALLTHROUGH; | ^~~~~~~~~~~~~ -[26/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o -c ../subprojects/opensea-transport/src/cmds.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/cmds.c:16: -../subprojects/opensea-transport/src/cmds.c: In function ‘write_Same’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:682:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 682 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroPattern, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Psuedo_Uncorrectable_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:801:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 801 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘is_Write_Flagged_Uncorrectable_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:885:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 885 | DECLARE_ZERO_INIT_ARRAY(uint8_t, extendedInquiryData, VPD_EXTENDED_INQUIRY_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cmds.c: In function ‘get_SCSI_DPO_FUA_Support’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/cmds.c:1461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cachingMP, MODE_PARAMETER_HEADER_10_LEN + MP_CACHING_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[27/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o -c ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:16: -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c: In function ‘send_CSMI_Legacy_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/csmi_legacy_pt_cdb_helper.c:170:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 170 | DECLARE_ZERO_INIT_ARRAY(uint8_t, csmiCDB, CSMI_PASSTHROUGH_CDB_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[28/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[30/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o -c ../subprojects/opensea-transport/src/nec_legacy_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/cypress_legacy_helper.c:15: -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘get_RTFRs_From_Cypress_Legacy’: +In file included from ../subprojects/opensea-transport/src/nec_legacy_helper.c:15: +../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:73:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 73 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/nec_legacy_helper.c:108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:74:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 74 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 8); +../subprojects/opensea-transport/src/nec_legacy_helper.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:75:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/nec_legacy_helper.c:110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c: In function ‘send_Cypress_Legacy_Passthrough_Command’: +../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/cypress_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cypressCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/nec_legacy_helper.c:136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[29/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o -c ../subprojects/opensea-transport/src/intel_rst_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -../subprojects/opensea-transport/src/intel_rst_helper.c:1041: warning: ISO C forbids an empty translation unit [-Wpedantic] -[30/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[31/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o -c ../subprojects/opensea-transport/src/jmicron_nvme_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -3599,37 +3665,359 @@ ../subprojects/opensea-transport/src/jmicron_nvme_helper.c:364:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 364 | DECLARE_ZERO_INIT_ARRAY(uint8_t, jmPayload, JMICRON_NVME_CMD_PAYLOAD_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[31/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[32/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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-transport/src/nec_legacy_helper.c:15: -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘get_RTFRs_From_NEC_Legacy’: +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/nvme_cmds.c:17: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +[33/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +../subprojects/opensea-transport/src/of_nvme_helper.c:586: warning: ISO C forbids an empty translation unit [-Wpedantic] +[34/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o -c ../subprojects/opensea-transport/src/nvme_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-transport/src/nvme_helper.c:15: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-transport/src/nvme_helper.c:14: +../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:108:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); +../subprojects/opensea-transport/src/nvme_helper.c:577:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 577 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/nvme_helper.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 578 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[35/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:109:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 109 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 11); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 98 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:110:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 110 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:99:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 99 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c: In function ‘send_NEC_Legacy_Passthrough_Command’: +../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-transport/src/nec_legacy_helper.c:136:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 136 | DECLARE_ZERO_INIT_ARRAY(uint8_t, necCDB, CDB_LEN_16); +../subprojects/opensea-transport/src/prolific_legacy_helper.c:127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); | ^~~~~~~~~~~~~~~~~~~~~~~ -[32/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -c ../subprojects/opensea-transport/src/common_public.c +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/prolific_legacy_helper.c:128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[36/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o -c ../subprojects/opensea-transport/src/common_public.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -3768,11 +4156,54 @@ ../subprojects/opensea-transport/src/common_public.c:3362:80: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 3362 | printf("Calling from file : %s function : %s line : %li \n", __FILE__, __FUNCTION__, C_CAST(long int, __LINE__)); | ^~~~~~~~~~~~ -[33/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[37/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/psp_legacy_helper.c:173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 173 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[38/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -c ../subprojects/opensea-transport/src/raid_scan_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/nvme_cmds.c:17: + from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -3917,94 +4348,11 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -[34/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o -c ../subprojects/opensea-transport/src/of_nvme_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -../subprojects/opensea-transport/src/of_nvme_helper.c:586: warning: ISO C forbids an empty translation unit [-Wpedantic] -[35/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o -c ../subprojects/opensea-transport/src/prolific_legacy_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/prolific_legacy_helper.c:15: -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘get_RTFRs_From_Prolific_Legacy’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:97:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 97 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:98:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 98 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:99:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 99 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c: In function ‘send_Prolific_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:127:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 127 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificLowCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/prolific_legacy_helper.c:128:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 128 | DECLARE_ZERO_INIT_ARRAY(uint8_t, prolificHighCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[36/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o -c ../subprojects/opensea-transport/src/psp_legacy_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/psp_legacy_helper.c:15: -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘enable_Disable_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:33:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 33 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_12); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:34:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 34 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘get_RTFRs_From_PSP_Legacy’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:140:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 140 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:141:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 141 | DECLARE_ZERO_INIT_ARRAY(uint8_t, returnData, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:142:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 142 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c: In function ‘send_PSP_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/psp_legacy_helper.c:173:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 173 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pspCDB, PSP_EXT_COMMAND_CDB_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[37/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[39/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -c ../subprojects/opensea-transport/src/sata_helper_func.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/nvme_helper.c:15: + from ../subprojects/opensea-transport/src/sata_helper_func.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -4149,21 +4497,7 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-transport/src/nvme_helper.c:14: -../subprojects/opensea-transport/src/nvme_helper.c: In function ‘print_NVMe_Cmd_Result_Verbose’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:577:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 577 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeTypeString, NVME_STATUS_CODE_TYPE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/nvme_helper.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 578 | DECLARE_ZERO_INIT_ARRAY(char, statusCodeString, NVME_STATUS_CODE_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[38/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[40/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o -c ../subprojects/opensea-transport/src/csmi_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -4523,304 +4857,6 @@ ../subprojects/opensea-transport/src/csmi_helper.c:5663:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 5663 | DECLARE_ZERO_INIT_ARRAY(uint8_t, statusFIS, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -[39/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o -c ../subprojects/opensea-transport/src/raid_scan_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/raid_scan_helper.c:16: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -[40/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o -c ../subprojects/opensea-transport/src/sata_helper_func.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-transport/src/sata_helper_func.c:17: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ [41/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 @@ -5041,7 +5077,18 @@ ../subprojects/opensea-transport/src/scsi_helper.c:3308:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 3308 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportLuns, REPORT_LUNS_MIN_LENGTH);//only really need first 4 bytes, but this will make sure we get the length, hopefully without error | ^~~~~~~~~~~~~~~~~~~~~~~ -[42/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[42/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: +../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-transport/src/ti_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[43/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o -c ../subprojects/opensea-transport/src/scsi_cmds.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -5814,17 +5861,6 @@ ../subprojects/opensea-transport/src/scsi_cmds.c:4898:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 4898 | DECLARE_ZERO_INIT_ARRAY(uint8_t, cdb, CDB_LEN_6); | ^~~~~~~~~~~~~~~~~~~~~~~ -[43/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o -c ../subprojects/opensea-transport/src/ti_legacy_helper.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-transport/src/ti_legacy_helper.c:15: -../subprojects/opensea-transport/src/ti_legacy_helper.c: In function ‘send_TI_Legacy_Passthrough_Command’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-transport/src/ti_legacy_helper.c:79:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 79 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tiCDB, CDB_LEN_16); - | ^~~~~~~~~~~~~~~~~~~~~~~ [44/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 @@ -5982,7 +6018,366 @@ ../subprojects/opensea-transport/src/usb_hacks.c:46:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 46 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[45/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[45/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o -c ../subprojects/opensea-operations/src/ata_Security.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/ata_Security.c:18: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/ata_Security.c:17: +../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:40:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 40 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityBuf, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:52:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 52 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:75:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:210:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 210 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1116:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1116 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1177:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/ata_Security.c:1209:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1209 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[46/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/buffer_test.c:17: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/buffer_test.c:16: +../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/buffer_test.c:56:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 56 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/buffer_test.c:108:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[47/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o -c ../subprojects/opensea-transport/src/sg_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -6340,11 +6735,11 @@ ../subprojects/opensea-transport/src/sg_helper.c:3187:37: note: in expansion of macro ‘M_ATTR_UNUSED’ 3187 | eReturnValues os_Erase_Boot_Sectors(M_ATTR_UNUSED tDevice* device) | ^~~~~~~~~~~~~ -[46/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[48/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o -c ../subprojects/opensea-operations/src/depopulate.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/ata_Security.c:18: + from ../subprojects/opensea-operations/src/depopulate.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -6489,217 +6884,112 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/ata_Security.c:17: -../subprojects/opensea-operations/src/ata_Security.c: In function ‘sat_ATA_Security_Protocol_Supported’: +In file included from ../subprojects/opensea-operations/src/depopulate.c:16: +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/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-operations/src/depopulate.c:39:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:52:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 52 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, SAT_SECURITY_INFO_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘get_ATA_Security_Info’: +../subprojects/opensea-operations/src/depopulate.c:72:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 72 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:75:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 75 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataSecurityInfo, 16); +../subprojects/opensea-operations/src/depopulate.c:111:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 249 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:210:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 210 | DECLARE_ZERO_INIT_ARRAY(uint8_t, securityPage, 512); +../subprojects/opensea-operations/src/depopulate.c:251:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 251 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/ata_Security.c: In function ‘run_ATA_Security_Erase’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1116:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1116 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c:254:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 254 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1177:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1177 | DECLARE_ZERO_INIT_ARRAY(uint8_t, validateCompletion, SPC3_SENSE_LEN); +../subprojects/opensea-operations/src/depopulate.c:489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/ata_Security.c:1209:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1209 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ataVPDPage, VPD_ATA_INFORMATION_LEN); +../subprojects/opensea-operations/src/depopulate.c:718:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 718 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:872:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[47/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o -c ../subprojects/opensea-operations/src/buffer_test.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/buffer_test.c:17: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/buffer_test.c:16: -../subprojects/opensea-operations/src/buffer_test.c: In function ‘are_Buffer_Commands_Available’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:56:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 56 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCommandData, 16); +../subprojects/opensea-operations/src/depopulate.c:913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/buffer_test.c: In function ‘get_Buffer_Size’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/buffer_test.c:108:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 108 | DECLARE_ZERO_INIT_ARRAY(uint8_t, bufferSizeData, 4); +../subprojects/opensea-operations/src/depopulate.c:935:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 935 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 970 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1003:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); | ^~~~~~~~~~~~~~~~~~~~~~~ -[48/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -c ../subprojects/opensea-operations/src/defect.c +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1025:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1025 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/depopulate.c:1138:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[49/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o -c ../subprojects/opensea-operations/src/defect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -6979,7 +7269,7 @@ ../subprojects/opensea-operations/src/defect.c:1059:184: note: in expansion of macro ‘M_ATTR_UNUSED’ 1059 | eReturnValues corrupt_LBAs(tDevice *device, uint64_t startingLBA, uint64_t range, bool readCorruptedLBAs, uint16_t numberOfBytesToCorrupt, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) | ^~~~~~~~~~~~~ -[49/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[50/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o -c ../subprojects/opensea-transport/src/sntl_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -7707,11 +7997,11 @@ ../subprojects/opensea-transport/src/sntl_helper.c:10132:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 10132 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, SNTL_SENSE_KEY_SPECIFIC_DESCRIPTOR_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[50/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[51/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o -c ../subprojects/opensea-operations/src/dst.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/depopulate.c:17: + from ../subprojects/opensea-operations/src/dst.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -7856,112 +8146,479 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/depopulate.c:16: -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulation_Feature_Supported’: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/dst.c:16: +../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:39:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 39 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/dst.c:77:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 77 | DECLARE_ZERO_INIT_ARRAY(uint8_t, temp_buf, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:118:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 118 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, 564);//strange size for the log, but it's what I see in the spec - TJE + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 340 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:72:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 72 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); +../subprojects/opensea-operations/src/dst.c:413:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 413 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:111:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 111 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); +../subprojects/opensea-operations/src/dst.c:432:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 432 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Number_Of_Descriptors’: +../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:129:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 129 | DECLARE_ZERO_INIT_ARRAY(uint8_t, getPhysicalElementCount, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘show_Physical_Element_Descriptors’: +../subprojects/opensea-operations/src/dst.c:461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_Selective_Self_Test_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:249:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 249 | DECLARE_ZERO_INIT_ARRAY(char, statusString, PHYSICAL_ELEMENT_STATUS_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/dst.c:478:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 478 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:251:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 251 | DECLARE_ZERO_INIT_ARRAY(char, capacityString, PHYSICAL_ELEMENT_CAPACITY_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c:615:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:254:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 254 | DECLARE_ZERO_INIT_ARRAY(char, rebuildAllowed, PHYSICAL_ELEMENT_REBUILD_ALLOWED_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘get_Depopulate_Progress’: +../subprojects/opensea-operations/src/dst.c:657:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 657 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:489:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 489 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Depopulate_Physical_Element’: +../subprojects/opensea-operations/src/dst.c:696:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 696 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:718:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 718 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/dst.c:979:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 979 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:1058:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1058 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Depopulate_And_Modify_Zones_Supported’: +../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:872:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 872 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c:1806:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1806 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:913:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 913 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); +../subprojects/opensea-operations/src/dst.c:1850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:935:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 935 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); +../subprojects/opensea-operations/src/dst.c:1972:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1972 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2070:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2070 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/dst.c:2153:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2153 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘is_Repopulate_Feature_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:970:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 970 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c:2160:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2160 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1003:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1003 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reportOpCodes, 20); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/dst.c:2174:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2174 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1025:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1025 | DECLARE_ZERO_INIT_ARRAY(uint8_t, blockDeviceCharacteristics, VPD_BLOCK_DEVICE_CHARACTERISTICS_LEN); +../subprojects/opensea-operations/src/dst.c:2179:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2179 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/depopulate.c: In function ‘perform_Repopulate_Physical_Element’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/depopulate.c:1138:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1138 | DECLARE_ZERO_INIT_ARRAY(uint8_t, currentSettings, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/dst.c:2180:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2180 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[52/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/firmware_download.c:17: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/firmware_download.c:16: +../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:760:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:884:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 884 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:1324:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/firmware_download.c:1554:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1554 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); | ^~~~~~~~~~~~~~~~~~~~~~~ -[51/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[53/148] cc -Isubprojects/opensea-transport/libopensea-transport.a.p -Isubprojects/opensea-transport -I../subprojects/opensea-transport -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-common/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DENABLE_CSMI -DENABLE_CISS -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -DSEA_NVME_IOCTL_H -MD -MQ subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -MF subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o.d -o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o -c ../subprojects/opensea-transport/src/sat_helper.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -8945,11 +9602,11 @@ ../subprojects/opensea-transport/src/sat_helper.c:16723:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 16723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseKeySpecificDescriptor, 8); | ^~~~~~~~~~~~~~~~~~~~~~~ -[52/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[54/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o -c ../subprojects/opensea-operations/src/format.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/dst.c:17: + from ../subprojects/opensea-operations/src/format.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9172,151 +9829,67 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/dst.c:16: -../subprojects/opensea-operations/src/dst.c: In function ‘ata_Get_DST_Progress’: +In file included from ../subprojects/opensea-operations/src/format.c:16: +../subprojects/opensea-operations/src/format.c: In function ‘is_Format_Unit_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/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/format.c:37:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 37 | DECLARE_ZERO_INIT_ARRAY(uint8_t, formatSupportData, 10); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘nvme_Get_DST_Progress’: +../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:118:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 118 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeSelfTestLogBuf, 564);//strange size for the log, but it's what I see in the spec - TJE +../subprojects/opensea-operations/src/format.c:85:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 85 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Progress’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:340:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 340 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Self_Test_Supported’: +../subprojects/opensea-operations/src/format.c: In function ‘run_Format_Unit’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:413:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 413 | DECLARE_ZERO_INIT_ARRAY(uint8_t, selfTestResultsLog, LP_SELF_TEST_RESULTS_LEN); +../subprojects/opensea-operations/src/format.c:322:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterData, 24); | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:432:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 432 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Conveyence_Self_Test_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:461:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 461 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/format.c:780:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 780 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_Selective_Self_Test_Supported’: +../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:478:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 478 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartReadData, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/format.c:831:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 831 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘is_ATA_SMART_Offline_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:615:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 615 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SMART_Offline_Status’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:657:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 657 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_SMART_Offline’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:696:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 696 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘run_DST’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:979:25: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 979 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1058:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1058 | DECLARE_ZERO_INIT_ARRAY(char, statusTranslation, MAX_DST_STATUS_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_SCSI_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1806:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1806 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dstLog, LP_SELF_TEST_RESULTS_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘get_NVMe_DST_Log_Entries’: +../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:1850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, nvmeDSTLog, 564); +../subprojects/opensea-operations/src/format.c:875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 875 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/dst.c: In function ‘print_DST_Log_Entries’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:1972:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1972 | DECLARE_ZERO_INIT_ARRAY(char, selfTestRunString, SELF_TEST_RUN_STRING_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2070:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2070 | DECLARE_ZERO_INIT_ARRAY(char, status, SELF_TEST_EXECUTION_STATUS_MAX_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2153:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2153 | DECLARE_ZERO_INIT_ARRAY(char, percentRemainingString, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2160:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2160 | DECLARE_ZERO_INIT_ARRAY(char, errorLBAString, SELF_TEST_ERROR_LBA_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/format.c:1317:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1317 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/dst.c:2174:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2174 | DECLARE_ZERO_INIT_ARRAY(char, senseInfoString, SELF_TEST_SENSE_INFO_STRING_MAX_LENGTH); +../subprojects/opensea-operations/src/format.c:1318:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1318 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2179:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2179 | DECLARE_ZERO_INIT_ARRAY(char, sctVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/dst.c:2180:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2180 | DECLARE_ZERO_INIT_ARRAY(char, scVal, NVM_STATUS_CODE_STR_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[53/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o -c ../subprojects/opensea-operations/src/firmware_download.c +[55/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -c ../subprojects/opensea-operations/src/host_erase.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/firmware_download.c:17: + from ../subprojects/opensea-operations/src/host_erase.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9461,116 +10034,11 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/firmware_download.c:16: -../subprojects/opensea-operations/src/firmware_download.c: In function ‘get_Supported_FWDL_Modes’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:760:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 760 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedCapabilities, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:884:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 884 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareLog, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1324:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1324 | DECLARE_ZERO_INIT_ARRAY(uint8_t, offsetReq, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/firmware_download.c: In function ‘show_Supported_FWDL_Modes’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/firmware_download.c:1554:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1554 | DECLARE_ZERO_INIT_ARRAY(char, slotRevision, 14); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[54/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[56/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -c ../subprojects/opensea-operations/src/generic_tests.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/format.c:17: + from ../subprojects/opensea-operations/src/generic_tests.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -9715,141 +10183,132 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/format.c:16: -../subprojects/opensea-operations/src/format.c: In function ‘is_Format_Unit_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:37:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 37 | DECLARE_ZERO_INIT_ARRAY(uint8_t, formatSupportData, 10); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘get_Format_Progress’: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:49:157: note: in expansion of macro ‘M_ATTR_UNUSED’ + 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:49:201: note: in expansion of macro ‘M_ATTR_UNUSED’ + 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:204:79: note: in expansion of macro ‘M_ATTR_UNUSED’ + 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:204:123: note: in expansion of macro ‘M_ATTR_UNUSED’ + 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/generic_tests.c:16: +../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:85:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 85 | DECLARE_ZERO_INIT_ARRAY(uint8_t, senseData, SPC3_SENSE_LEN); +../subprojects/opensea-operations/src/generic_tests.c:207:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 207 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘run_Format_Unit’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:322:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 322 | DECLARE_ZERO_INIT_ARRAY(uint8_t, modeParameterData, 24); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘is_Set_Sector_Configuration_Supported’: +../subprojects/opensea-operations/src/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:436:84: note: in expansion of macro ‘M_ATTR_UNUSED’ + 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:436:128: note: in expansion of macro ‘M_ATTR_UNUSED’ + 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:780:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 780 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/generic_tests.c:792:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 792 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘get_Number_Of_Supported_Sector_Sizes’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:831:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 831 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedBlockLengthsData, 4); +../subprojects/opensea-operations/src/generic_tests.c:821:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 821 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘ata_Get_Supported_Formats’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/format.c:875:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 875 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sectorConfigurationLog, LEGACY_DRIVE_SEC_SIZE); +../subprojects/opensea-operations/src/generic_tests.c:849:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 849 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/format.c: In function ‘show_Supported_Formats’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:1317:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1317 | DECLARE_ZERO_INIT_ARRAY(char, perf, PERF_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/format.c:1318:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1318 | DECLARE_ZERO_INIT_ARRAY(char, metaSize, META_STRING_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[55/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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/generic_tests.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:896:197: note: in expansion of macro ‘M_ATTR_UNUSED’ + 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:896:241: note: in expansion of macro ‘M_ATTR_UNUSED’ + 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1028:200: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1028:244: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1248:102: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1248:146: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1374:99: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1374:143: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1474:189: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/generic_tests.c:1474:233: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) + | ^~~~~~~~~~~~~ +[57/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o -c ../subprojects/opensea-operations/src/drive_info.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -10363,429 +10822,6 @@ ../subprojects/opensea-operations/src/drive_info.c:7883:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 7883 | DECLARE_ZERO_INIT_ARRAY(char, cacheUnit, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[56/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o -c ../subprojects/opensea-operations/src/generic_tests.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/generic_tests.c:17: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:49:157: note: in expansion of macro ‘M_ATTR_UNUSED’ - 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:49:201: note: in expansion of macro ‘M_ATTR_UNUSED’ - 49 | eReturnValues sequential_RWV(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint64_t sectorCount, uint64_t *failingLBA, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:204:79: note: in expansion of macro ‘M_ATTR_UNUSED’ - 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:204:123: note: in expansion of macro ‘M_ATTR_UNUSED’ - 204 | eReturnValues short_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/generic_tests.c:16: -../subprojects/opensea-operations/src/generic_tests.c: In function ‘short_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:207:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 207 | DECLARE_ZERO_INIT_ARRAY(char, message, 256); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:436:84: note: in expansion of macro ‘M_ATTR_UNUSED’ - 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:436:128: note: in expansion of macro ‘M_ATTR_UNUSED’ - 436 | eReturnValues two_Minute_Generic_Test(tDevice *device, eRWVCommandType rwvCommand, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: In function ‘two_Minute_Generic_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:792:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 792 | DECLARE_ZERO_INIT_ARRAY(char, odDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:821:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 821 | DECLARE_ZERO_INIT_ARRAY(char, idDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/generic_tests.c:849:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 849 | DECLARE_ZERO_INIT_ARRAY(char, randomDataRateUnits, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/generic_tests.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:896:197: note: in expansion of macro ‘M_ATTR_UNUSED’ - 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:896:241: note: in expansion of macro ‘M_ATTR_UNUSED’ - 896 | eReturnValues user_Sequential_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t range, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1028:200: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1028:244: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1028 | eReturnValues user_Timed_Test(tDevice *device, eRWVCommandType rwvCommand, uint64_t startingLBA, uint64_t timeInSeconds, uint16_t errorLimit, bool stopOnError, bool repairOnTheFly, bool repairAtEnd, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1248:102: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1248:146: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1248 | eReturnValues butterfly_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1374:99: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1374:143: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1374 | eReturnValues random_Test(tDevice *device, eRWVCommandType rwvcommand, uint64_t timeLimitSeconds, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData, bool hideLBACounter) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1474:189: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/generic_tests.c:1474:233: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1474 | eReturnValues read_Write_Or_Verify_Timed_Test(tDevice *device, eRWVCommandType testMode, uint32_t timePerTestSeconds, uint16_t *numberOfCommandTimeouts, uint16_t *numberOfCommandFailures, M_ATTR_UNUSED custom_Update updateFunction, M_ATTR_UNUSED void *updateData) - | ^~~~~~~~~~~~~ -[57/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o -c ../subprojects/opensea-operations/src/host_erase.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/host_erase.c:17: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ [58/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 @@ -11711,301 +11747,7 @@ ../subprojects/opensea-operations/src/operations.c:2795:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2795 | DECLARE_ZERO_INIT_ARRAY(char, metUnitarry, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[61/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -c ../subprojects/opensea-operations/src/reservations.c -: warning: "_FORTIFY_SOURCE" redefined -: note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/reservations.c:19: -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ - 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ - 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ - 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ - 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ - 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ - 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ - 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ - 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ - 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ - 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ - 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ - 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ - 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ - 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ - 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ - 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ - 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ - 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ - 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ - 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ - 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); - | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/reservations.c:18: -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:131:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, capabilities, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Registration_Key_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:573:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 573 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:581:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 581 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:688:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 688 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reservationKeys, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:696:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 696 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘show_Reservations’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:893:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 893 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:896:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 896 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘get_Full_Status_Key_Count’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1010:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1010 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘show_Full_Status’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1303:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1303 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1305:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1305 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘register_Key’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1476:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1476 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘unregister_Key’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1510:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1521:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1521 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘acquire_Reservation’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1540:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1540 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1583:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1583 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘release_Reservation’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1627:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1627 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1670:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘clear_Reservations’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1714:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1714 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, 8); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/reservations.c: In function ‘preempt_Reservation’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1742:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1742 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, PR_OUT_BASIC_MIN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[62/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[61/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o -c ../subprojects/opensea-operations/src/sanitize.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -12188,7 +11930,7 @@ ../subprojects/opensea-operations/src/sanitize.c:336:17: note: in expansion of macro ‘M_FALLTHROUGH’ 336 | M_FALLTHROUGH; | ^~~~~~~~~~~~~ -[63/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[62/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o -c ../subprojects/opensea-operations/src/power_control.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -12474,7 +12216,7 @@ ../subprojects/opensea-operations/src/power_control.c:2198:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2198 | DECLARE_ZERO_INIT_ARRAY(uint8_t, epcModePage, MP_POWER_CONDITION_LEN + MODE_PARAMETER_HEADER_10_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[64/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[63/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o -c ../subprojects/opensea-operations/src/sas_phy.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -12645,6 +12387,300 @@ ../subprojects/opensea-operations/src/sas_phy.c:115:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 115 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sasDiagPage, 32); | ^~~~~~~~~~~~~~~~~~~~~~~ +[64/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o -c ../subprojects/opensea-operations/src/reservations.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/reservations.c:19: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-common/include/io_utils.h:50:5: note: in expansion of macro ‘M_DEPRECATED’ + 50 | M_DEPRECATED /*user the bit width specific versions instead!*/ + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:69:5: note: in expansion of macro ‘M_NODISCARD’ + 69 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:70:5: note: in expansion of macro ‘M_NODISCARD’ + 70 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:71:5: note: in expansion of macro ‘M_NODISCARD’ + 71 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:72:5: note: in expansion of macro ‘M_NODISCARD’ + 72 | M_NODISCARD bool get_And_Validate_Integer_Input_Uint8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, uint8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:74:5: note: in expansion of macro ‘M_NODISCARD’ + 74 | M_NODISCARD bool get_And_Validate_Integer_Input_Int64(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int64_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:75:5: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool get_And_Validate_Integer_Input_Int32(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int32_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:76:5: note: in expansion of macro ‘M_NODISCARD’ + 76 | M_NODISCARD bool get_And_Validate_Integer_Input_Int16(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int16_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:77:5: note: in expansion of macro ‘M_NODISCARD’ + 77 | M_NODISCARD bool get_And_Validate_Integer_Input_Int8(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int8_t * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:79:5: note: in expansion of macro ‘M_NODISCARD’ + 79 | M_NODISCARD bool get_And_Validate_Integer_Input_ULL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:80:5: note: in expansion of macro ‘M_NODISCARD’ + 80 | M_NODISCARD bool get_And_Validate_Integer_Input_UL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:81:5: note: in expansion of macro ‘M_NODISCARD’ + 81 | M_NODISCARD bool get_And_Validate_Integer_Input_UI(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:82:5: note: in expansion of macro ‘M_NODISCARD’ + 82 | M_NODISCARD bool get_And_Validate_Integer_Input_US(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:83:5: note: in expansion of macro ‘M_NODISCARD’ + 83 | M_NODISCARD bool get_And_Validate_Integer_Input_UC(const char * strToConvert, char** unit, eAllowedUnitInput unittype, unsigned char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:85:5: note: in expansion of macro ‘M_NODISCARD’ + 85 | M_NODISCARD bool get_And_Validate_Integer_Input_LL(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:86:5: note: in expansion of macro ‘M_NODISCARD’ + 86 | M_NODISCARD bool get_And_Validate_Integer_Input_L(const char * strToConvert, char** unit, eAllowedUnitInput unittype, long * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:87:5: note: in expansion of macro ‘M_NODISCARD’ + 87 | M_NODISCARD bool get_And_Validate_Integer_Input_I(const char * strToConvert, char** unit, eAllowedUnitInput unittype, int * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:88:5: note: in expansion of macro ‘M_NODISCARD’ + 88 | M_NODISCARD bool get_And_Validate_Integer_Input_S(const char * strToConvert, char** unit, eAllowedUnitInput unittype, short * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:89:5: note: in expansion of macro ‘M_NODISCARD’ + 89 | M_NODISCARD bool get_And_Validate_Integer_Input_C(const char * strToConvert, char** unit, eAllowedUnitInput unittype, char * outputInteger); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD bool get_And_Validate_Float_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, float * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:92:5: note: in expansion of macro ‘M_NODISCARD’ + 92 | M_NODISCARD bool get_And_Validate_Double_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool get_And_Validate_LDouble_Input(const char* strToConvert, char** unit, eAllowedUnitInput unittype, long double * outputFloat); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:129:5: note: in expansion of macro ‘M_NODISCARD’ + 129 | M_NODISCARD FUNC_ATTR_PRINTF(2, 3) int asprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, ...); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ + 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); + | ^~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/reservations.c:18: +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Persistent_Reservations_Capabilities’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:131:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 131 | DECLARE_ZERO_INIT_ARRAY(uint8_t, capabilities, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Registration_Key_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:573:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 573 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:581:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 581 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Reservation_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:688:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 688 | DECLARE_ZERO_INIT_ARRAY(uint8_t, reservationKeys, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:696:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 696 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘show_Reservations’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:893:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 893 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:896:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 896 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘get_Full_Status_Key_Count’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1010:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1010 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readKeyCount, 24);//may be able to get away with only 8 bytes, but this read up until the list begins - TJE + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘show_Full_Status’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1303:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1303 | DECLARE_ZERO_INIT_ARRAY(char, scopeBuf, RES_SCOPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1305:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1305 | DECLARE_ZERO_INIT_ARRAY(char, typeBuf, RES_TYPE_BUF_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘register_Key’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1476:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1476 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1490:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1490 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘unregister_Key’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1510:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1510 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1521:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1521 | DECLARE_ZERO_INIT_ARRAY(uint8_t, registerData, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘acquire_Reservation’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1540:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1540 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1583:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1583 | DECLARE_ZERO_INIT_ARRAY(uint8_t, acquireRes, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘release_Reservation’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1627:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1627 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1670:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1670 | DECLARE_ZERO_INIT_ARRAY(uint8_t, releaseRes, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘clear_Reservations’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1714:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1714 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1723:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1723 | DECLARE_ZERO_INIT_ARRAY(uint8_t, clearRes, 8); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/reservations.c: In function ‘preempt_Reservation’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1742:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1742 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, PR_OUT_BASIC_MIN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/reservations.c:1786:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1786 | DECLARE_ZERO_INIT_ARRAY(uint8_t, preemptRes, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ [65/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 @@ -13057,11 +13093,11 @@ ../subprojects/opensea-operations/src/set_max_lba.c:578:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 578 | DECLARE_ZERO_INIT_ARRAY(uint8_t, idDataLogSupportedCapabilities, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -[67/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[67/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o -c ../subprojects/opensea-operations/src/trim_unmap.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/seagate_operations.c:17: + from ../subprojects/opensea-operations/src/trim_unmap.c:16: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -13206,168 +13242,26 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ - 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ - 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ - 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ - 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ - 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ - 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ - 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ - 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ - 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ - 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ - 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ - 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ - 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/seagate_operations.c:16: -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_Modes’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:494:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 494 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/seagate_operations.c:566:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 566 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/seagate_operations.c:569:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 569 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 87 | #define M_FALLTHROUGH [[fallthrough]] - | ^ -../subprojects/opensea-operations/src/seagate_operations.c:572:21: note: in expansion of macro ‘M_FALLTHROUGH’ - 572 | M_FALLTHROUGH; - | ^~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1391:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/trim_unmap.c:15: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1405:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1405 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); +../subprojects/opensea-operations/src/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/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1631:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1631 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1900:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1900 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:1902:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1902 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: +../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/seagate_operations.c:2877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); +../subprojects/opensea-operations/src/trim_unmap.c:225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 225 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, 4096);//This will hold the maximum number of ranges/descriptors we can. | ^~~~~~~~~~~~~~~~~~~~~~~ -[68/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[68/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o -c ../subprojects/opensea-operations/src/seagate_operations.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/trim_unmap.c:16: + from ../subprojects/opensea-operations/src/seagate_operations.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -13512,20 +13406,162 @@ ../subprojects/opensea-common/include/io_utils.h:131:5: note: in expansion of macro ‘M_NODISCARD’ 131 | M_NODISCARD FUNC_ATTR_PRINTF(2, 0) int vasprintf(char **M_RESTRICT strp, const char *M_RESTRICT fmt, va_list arg); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/trim_unmap.c:15: -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘is_ATA_Data_Set_Management_XL_Supported’: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:91:5: note: in expansion of macro ‘M_NODISCARD’ + 91 | M_NODISCARD fileUniqueIDInfo* os_Get_File_Unique_Identifying_Information(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:93:5: note: in expansion of macro ‘M_NODISCARD’ + 93 | M_NODISCARD bool os_Is_Directory_Secure(const char* fullpath); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:125:5: note: in expansion of macro ‘M_NODISCARD’ + 125 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_Name(const char* const filetoCheck); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:128:5: note: in expansion of macro ‘M_NODISCARD’ + 128 | M_NODISCARD fileAttributes* os_Get_File_Attributes_By_File(FILE* file); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:186:5: note: in expansion of macro ‘M_NODISCARD’ + 186 | M_NODISCARD secureFileInfo* secure_Open_File(const char* filename, const char* mode, const fileExt* extList /*optional*/, fileAttributes* expectedFileInfo /*optional*/, fileUniqueIDInfo* uniqueIdInfo /*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:191:5: note: in expansion of macro ‘M_NODISCARD’ + 191 | M_NODISCARD eSecureFileError secure_Close_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:202:5: note: in expansion of macro ‘M_NODISCARD’ + 202 | M_NODISCARD eSecureFileError secure_Read_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberread/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:203:5: note: in expansion of macro ‘M_NODISCARD’ + 203 | M_NODISCARD eSecureFileError secure_Write_File(secureFileInfo* M_RESTRICT fileInfo, void* M_RESTRICT buffer, size_t buffersize, size_t elementsize, size_t count, size_t* numberwritten/*optional*/); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:204:5: note: in expansion of macro ‘M_NODISCARD’ + 204 | M_NODISCARD eSecureFileError secure_Seek_File(secureFileInfo* fileInfo, offset_t offset, int initialPosition); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:205:5: note: in expansion of macro ‘M_NODISCARD’ + 205 | M_NODISCARD eSecureFileError secure_Rewind_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:206:5: note: in expansion of macro ‘M_NODISCARD’ + 206 | M_NODISCARD offset_t secure_Tell_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:209:5: note: in expansion of macro ‘M_NODISCARD’ + 209 | M_NODISCARD eSecureFileError secure_Remove_File(secureFileInfo* fileInfo); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ + 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); + | ^~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +In file included from ../subprojects/opensea-operations/src/seagate_operations.c:16: +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Get_JIT_Modes’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/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/seagate_operations.c:425:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 425 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘seagate_SAS_Set_JIT_Modes’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:494:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 494 | DECLARE_ZERO_INIT_ARRAY(uint8_t, seagateUnitAttentionParameters, 12 + MODE_PARAMETER_HEADER_10_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/seagate_operations.c:566:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 566 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/seagate_operations.c:569:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 569 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:87:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 87 | #define M_FALLTHROUGH [[fallthrough]] + | ^ +../subprojects/opensea-operations/src/seagate_operations.c:572:21: note: in expansion of macro ‘M_FALLTHROUGH’ + 572 | M_FALLTHROUGH; + | ^~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘request_Power_Measurement’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1391:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1391 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelLogPg, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/trim_unmap.c: In function ‘nvme_Deallocate_Range’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/trim_unmap.c:225:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 225 | DECLARE_ZERO_INIT_ARRAY(uint8_t, deallocate, 4096);//This will hold the maximum number of ranges/descriptors we can. +../subprojects/opensea-operations/src/seagate_operations.c:1405:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1405 | DECLARE_ZERO_INIT_ARRAY(uint8_t, pwrTelDiagPg, 16); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘is_Seagate_Quick_Format_Supported’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1631:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1631 | DECLARE_ZERO_INIT_ARRAY(uint8_t, smartData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘print_smart_log’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1900:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1900 | DECLARE_ZERO_INIT_ARRAY(char, buf, 40); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:1902:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1902 | DECLARE_ZERO_INIT_ARRAY(char, strBuf, NVME_PRINT_SMART_LOG_STRING_BUFFER_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/seagate_operations.c: In function ‘get_Seagate_SCSI_Firmware_Numbers’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/seagate_operations.c:2877:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2877 | DECLARE_ZERO_INIT_ARRAY(uint8_t, firmwareNumbersPage, 60); | ^~~~~~~~~~~~~~~~~~~~~~~ [69/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 @@ -14507,7 +14543,10 @@ ../subprojects/opensea-operations/src/ata_device_config_overlay.c:360:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 360 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dcoIdentData, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -[74/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[74/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o +[75/148] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o +[76/148] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o +[77/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -c ../subprojects/opensea-operations/src/sata_phy.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -14671,17 +14710,14 @@ ../subprojects/opensea-operations/src/sata_phy.c:135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 135 | DECLARE_ZERO_INIT_ARRAY(char, counterDescription, PHY_COUNTER_DESCRIPTION_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~ -[75/148] rm -f subprojects/wingetopt/libwingetopt.a && gcc-ar csrDT subprojects/wingetopt/libwingetopt.a subprojects/wingetopt/libwingetopt.a.p/src_getopt.c.o -[76/148] rm -f subprojects/opensea-common/libopensea-common.a && gcc-ar csrDT subprojects/opensea-common/libopensea-common.a subprojects/opensea-common/libopensea-common.a.p/src_bit_manip.c.o subprojects/opensea-common/libopensea-common.a.p/src_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_error_translation.c.o subprojects/opensea-common/libopensea-common.a.p/src_io_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_math_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_memory_safety.c.o subprojects/opensea-common/libopensea-common.a.p/src_pattern_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_precision_timer.c.o subprojects/opensea-common/libopensea-common.a.p/src_prng.c.o subprojects/opensea-common/libopensea-common.a.p/src_secure_file.c.o subprojects/opensea-common/libopensea-common.a.p/src_secured_env_vars.c.o subprojects/opensea-common/libopensea-common.a.p/src_sleep.c.o subprojects/opensea-common/libopensea-common.a.p/src_string_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_time_utils.c.o subprojects/opensea-common/libopensea-common.a.p/src_type_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_unit_conversion.c.o subprojects/opensea-common/libopensea-common.a.p/src_validate_format.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_env_detect.c.o subprojects/opensea-common/libopensea-common.a.p/src_posix_secure_file.c.o -[77/148] rm -f subprojects/opensea-transport/libopensea-transport.a && gcc-ar csrDT subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-transport/libopensea-transport.a.p/src_asmedia_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ata_legacy_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ciss_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_common_public.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_csmi_legacy_pt_cdb_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_cypress_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_intel_rst_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_jmicron_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nec_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_of_nvme_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_prolific_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_psp_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_raid_scan_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sata_helper_func.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sat_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_cmds.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_scsi_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sntl_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_ti_legacy_helper.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_usb_hacks.c.o subprojects/opensea-transport/libopensea-transport.a.p/src_sg_helper.c.o [78/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_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 +[79/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -MF openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o.d -o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -c ../utils/C/openSeaChest/openSeaChest_Basics.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition -In file included from ../subprojects/opensea-common/include/precision_timer.h:20, - from ../subprojects/opensea-operations/src/device_statistics.c:17: +In file included from ../subprojects/opensea-common/include/memory_safety.h:18, + from ../utils/C/openSeaChest/openSeaChest_Basics.c:21: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -14904,144 +14940,87 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -In file included from ../subprojects/opensea-operations/src/device_statistics.c:16: -../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ + 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); + | ^~~~~~~~~~~ +In file included from ../utils/C/openSeaChest/openSeaChest_Basics.c:19: +../utils/C/openSeaChest/openSeaChest_Basics.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1243:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:91:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 91 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1262:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1262 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6832:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6832 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Workload_Utilization_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6900:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6900 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Utilization_Usage_Rate_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:6973:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6973 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Resource_Availability_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7077:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7077 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Random_Write_Resources_Used_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7142:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7142 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Non_Volatile_Time_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7214:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7214 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Temperature_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7292:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7292 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Date_And_Time_Timestamp_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7356:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7356 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7428:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7428 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Date_Statistic’: +../utils/C/openSeaChest/openSeaChest_Basics.c:92:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 92 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7508:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7508 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:93:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 93 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7558:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7558 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:94:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 94 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7559:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7559 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Time_Interval_Statistic’: +../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Basics.c:112:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 112 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7589:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7589 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Environmental_Temperature_Statistic’: +../utils/C/openSeaChest/openSeaChest_Basics.c:2155:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2155 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7689 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Humidity_Statistic’: +../utils/C/openSeaChest/openSeaChest_Basics.c:2156:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2156 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7768:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7768 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_ATA_DeviceStatistics’: +../utils/C/openSeaChest/openSeaChest_Basics.c:2212:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2212 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../subprojects/opensea-operations/src/device_statistics.c:7956:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7956 | DECLARE_ZERO_INIT_ARRAY(char, statisticName, VENDOR_UNIQUE_DEVICE_STATISTIC_NAME_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-operations/src/device_statistics.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../subprojects/opensea-operations/src/device_statistics.c:7983:50: note: in expansion of macro ‘M_ATTR_UNUSED’ - 7983 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice *device, ptrDeviceStatistics deviceStats) - | ^~~~~~~~~~~~~ -[80/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c +../utils/C/openSeaChest/openSeaChest_Basics.c:2213:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2213 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[80/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[81/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o -c ../subprojects/opensea-operations/src/smart.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/precision_timer.h:20, @@ -15841,15 +15820,11 @@ ../subprojects/opensea-operations/src/smart.c:8218:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 8218 | DECLARE_ZERO_INIT_ARRAY(char, errorString, ATA_ERROR_INFO_MAX_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -[81/148] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o -[82/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[82/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_openseachest_util_options.c.o -MF openSeaChest_Basics.p/src_openseachest_util_options.c.o.d -o openSeaChest_Basics.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Basics.c:21: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -16078,82 +16053,51 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Basics.c:19: -../utils/C/openSeaChest/openSeaChest_Basics.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:91:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 91 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:92:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 92 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:93:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 93 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:94:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 94 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:112:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 112 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2155:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2155 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2156:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2156 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2212:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2212 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Basics.c:2213:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2213 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[84/148] cc -IopenSeaChest_Basics.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Basics.p/src_openseachest_util_options.c.o -MF openSeaChest_Basics.p/src_openseachest_util_options.c.o.d -o openSeaChest_Basics.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[83/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: +[84/148] cc -Isubprojects/opensea-operations/libopensea-operations.a.p -Isubprojects/opensea-operations -I../subprojects/opensea-operations -I../subprojects/opensea-operations/include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -MF subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o.d -o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o -c ../subprojects/opensea-operations/src/device_statistics.c +: warning: "_FORTIFY_SOURCE" redefined +: note: this is the location of the previous definition +In file included from ../subprojects/opensea-common/include/precision_timer.h:20, + from ../subprojects/opensea-operations/src/device_statistics.c:17: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -16376,52 +16320,144 @@ ../subprojects/opensea-common/include/secure_file.h:216:5: note: in expansion of macro ‘M_NODISCARD’ 216 | M_NODISCARD eSecureFileError secure_Delete_File_By_Name(const char* filename, eSecureFileDeleteNameAction deleteAction); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ - 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); - | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../subprojects/opensea-operations/src/device_statistics.c:16: +../subprojects/opensea-operations/src/device_statistics.c: In function ‘get_SCSI_DeviceStatistics’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../subprojects/opensea-operations/src/device_statistics.c:1243:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1243 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedLogPages, LEGACY_DRIVE_SEC_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[85/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:1262:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1262 | DECLARE_ZERO_INIT_ARRAY(uint8_t, zeroMem, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:1325:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1325 | DECLARE_ZERO_INIT_ARRAY(uint8_t, tempLogBuf, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Count_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:6832:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6832 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Workload_Utilization_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:6900:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6900 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Utilization_Usage_Rate_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:6973:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6973 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Resource_Availability_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7077:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7077 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Random_Write_Resources_Used_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7142:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7142 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Non_Volatile_Time_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7214:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7214 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Temperature_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7292:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7292 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Date_And_Time_Timestamp_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7356:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7356 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Time_Minutes_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7428:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7428 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Date_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7508:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7508 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7558:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7558 | DECLARE_ZERO_INIT_ARRAY(char, week, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7559:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7559 | DECLARE_ZERO_INIT_ARRAY(char, year, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_SCSI_Time_Interval_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7589:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7589 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Environmental_Temperature_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7689:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7689 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_Humidity_Statistic’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7768:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7768 | DECLARE_ZERO_INIT_ARRAY(char, displayThreshold, DEVICE_STATISTICS_DISPLAY_THRESHOLD_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: In function ‘print_ATA_DeviceStatistics’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../subprojects/opensea-operations/src/device_statistics.c:7956:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7956 | DECLARE_ZERO_INIT_ARRAY(char, statisticName, VENDOR_UNIQUE_DEVICE_STATISTIC_NAME_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-operations/src/device_statistics.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../subprojects/opensea-operations/src/device_statistics.c:7983:50: note: in expansion of macro ‘M_ATTR_UNUSED’ + 7983 | static eReturnValues print_SCSI_DeviceStatistics(M_ATTR_UNUSED tDevice *device, ptrDeviceStatistics deviceStats) + | ^~~~~~~~~~~~~ +[85/148] rm -f subprojects/opensea-operations/libopensea-operations.a && gcc-ar csrDT subprojects/opensea-operations/libopensea-operations.a subprojects/opensea-operations/libopensea-operations.a.p/src_ata_Security.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_buffer_test.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_defect.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_depopulate.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_device_statistics.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_drive_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_dst.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_firmware_download.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_format.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_generic_tests.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_host_erase.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_logs.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_nvme_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_power_control.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_reservations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sanitize.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sas_phy.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_seagate_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sector_repair.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_set_max_lba.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_smart.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_trim_unmap.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_writesame.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_zoned_operations.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_farm_log.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_partition_info.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_ata_device_config_overlay.c.o subprojects/opensea-operations/libopensea-operations.a.p/src_sata_phy.c.o [86/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -16692,7 +16728,10 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[87/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[87/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[88/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/src_openseachest_util_options.c.o -MF openSeaChest_Defect.p/src_openseachest_util_options.c.o.d -o openSeaChest_Defect.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -16962,7 +17001,7 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[88/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[89/148] cc -IopenSeaChest_Defect.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -MF openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o.d -o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -c ../utils/C/openSeaChest/openSeaChest_Defect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -17233,10 +17272,10 @@ ../utils/C/openSeaChest/openSeaChest_Defect.c:82:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ 82 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[89/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[90/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[91/148] cc -IopenSeaChest_Configure.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -MF openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o.d -o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -c ../utils/C/openSeaChest/openSeaChest_Configure.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -17606,9 +17645,6 @@ ../utils/C/openSeaChest/openSeaChest_Configure.c:3460:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 3460 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[91/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [92/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -17879,11 +17915,11 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[93/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[93/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -MF openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o.d -o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -c ../utils/C/openSeaChest/openSeaChest_Firmware.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Erase.c:20: + from ../utils/C/openSeaChest/openSeaChest_Firmware.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -18112,22 +18148,25 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 197 | #define M_DEPRECATED [[deprecated]] - | ^ -../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ - 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); - | ^~~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: -../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: +../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:107:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ + 107 | DOWNLOAD_FW_VARS + | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:107:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 107 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Firmware.c:113:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 113 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -18135,17 +18174,26 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 108 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Firmware.c:114:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 114 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ +../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ + 115 | NEW_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 109 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Firmware.c:116:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 116 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -18153,65 +18201,26 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 110 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Firmware.c:117:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 117 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ +../include/openseachest_util_options.h:972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 972 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:118:5: note: in expansion of macro ‘PATTERN_VARS’ - 118 | PATTERN_VARS - | ^~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ +../utils/C/openSeaChest/openSeaChest_Firmware.c:118:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ + 118 | CHILD_NEW_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:133:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 133 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1117 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1126:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1126 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1135 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1791:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1791 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ [94/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[95/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[95/148] cc -IopenSeaChest_Erase.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -MF openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o.d -o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -c ../utils/C/openSeaChest/openSeaChest_Erase.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Erase.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -18440,48 +18449,103 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 197 | #define M_DEPRECATED [[deprecated]] + | ^ +../subprojects/opensea-operations/include/sanitize.h:185:28: note: in expansion of macro ‘M_DEPRECATED’ + 185 | OPENSEA_OPERATIONS_API M_DEPRECATED eReturnValues run_Sanitize_Operation(tDevice *device, eSanitizeOperations sanitizeOperation, bool pollForProgress, uint8_t *pattern, uint32_t patternLength); + | ^~~~~~~~~~~~ +In file included from ../utils/C/openSeaChest/openSeaChest_Erase.c:18: +../utils/C/openSeaChest/openSeaChest_Erase.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[96/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +../utils/C/openSeaChest/openSeaChest_Erase.c:107:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 107 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:108:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 108 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:109:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 109 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:110:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 110 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:239:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 239 | DECLARE_ZERO_INIT_ARRAY(uint8_t, PATTERN_BUFFER, PATTERN_BUFFER_LENGTH);/*Allocating 2 * current largest logical sector (4096) for now...-TJE */ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:118:5: note: in expansion of macro ‘PATTERN_VARS’ + 118 | PATTERN_VARS + | ^~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:133:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 133 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1117:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1117 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1126:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1126 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1135:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1135 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1791:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1791 | DECLARE_ZERO_INIT_ARRAY(char, mCapUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Erase.c:1792:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1792 | DECLARE_ZERO_INIT_ARRAY(char, capUnits, UNIT_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[96/148] cc -IopenSeaChest_Firmware.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Firmware.p/src_openseachest_util_options.c.o -MF openSeaChest_Firmware.p/src_openseachest_util_options.c.o.d -o openSeaChest_Firmware.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Firmware.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -18710,71 +18774,43 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Firmware.c:18: -../utils/C/openSeaChest/openSeaChest_Firmware.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:858:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 858 | DECLARE_ZERO_INIT_ARRAY(char, firmwareFileName, FIRMWARE_FILE_NAME_MAX_LEN);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:107:5: note: in expansion of macro ‘DOWNLOAD_FW_VARS’ - 107 | DOWNLOAD_FW_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:113:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 113 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:114:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 114 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:939:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 939 | DECLARE_ZERO_INIT_ARRAY(char, newfwMatchArray, NEW_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:115:5: note: in expansion of macro ‘NEW_FW_MATCH_VARS’ - 115 | NEW_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:116:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 116 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:117:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 117 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:972:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 972 | DECLARE_ZERO_INIT_ARRAY(char, childNewfwMatchArray, CHILD_NEW_FW_STRING_MATCH_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Firmware.c:118:5: note: in expansion of macro ‘CHILD_NEW_FW_MATCH_VARS’ - 118 | CHILD_NEW_FW_MATCH_VARS +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ [97/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -19058,11 +19094,11 @@ ../utils/C/openSeaChest/openSeaChest_Format.c:96:5: note: in expansion of macro ‘PATTERN_VARS’ 96 | PATTERN_VARS | ^~~~~~~~~~~~ -[99/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[99/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -MF openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o.d -o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -c ../utils/C/openSeaChest/openSeaChest_GenericTests.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -19291,47 +19327,48 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: +../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 78 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 79 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 80 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 81 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ [100/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[101/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[101/148] cc -IopenSeaChest_Format.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Format.p/src_openseachest_util_options.c.o -MF openSeaChest_Format.p/src_openseachest_util_options.c.o.d -o openSeaChest_Format.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -19601,11 +19638,14 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[102/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[102/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -MF openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o.d -o openSeaChest_Info.p/utils_C_openSeaChest_openSeaChest_Info.c.o -c ../utils/C/openSeaChest/openSeaChest_Info.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:20: + from ../utils/C/openSeaChest/openSeaChest_Info.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -19834,16 +19874,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_GenericTests.c:18: -../utils/C/openSeaChest/openSeaChest_GenericTests.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Info.c:18: +../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:78:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 78 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:82:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 82 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19851,8 +19891,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:79:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 79 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 83 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19860,8 +19900,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:80:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 80 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 84 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -19869,17 +19909,14 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_GenericTests.c:81:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 81 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 85 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[103/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[104/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[104/148] cc -IopenSeaChest_GenericTests.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -MF openSeaChest_GenericTests.p/src_openseachest_util_options.c.o.d -o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Info.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -20108,45 +20145,47 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Info.c:18: -../utils/C/openSeaChest/openSeaChest_Info.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:82:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 82 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:83:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 83 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:84:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 84 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Info.c:85:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 85 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[105/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -MF openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o.d -o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -c ../utils/C/openSeaChest/openSeaChest_Logs.c +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[105/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[106/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -MF openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o.d -o openSeaChest_Logs.p/utils_C_openSeaChest_openSeaChest_Logs.c.o -c ../utils/C/openSeaChest/openSeaChest_Logs.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -20417,9 +20456,6 @@ ../utils/C/openSeaChest/openSeaChest_Logs.c:87:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ 87 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[106/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [107/148] cc -IopenSeaChest_Info.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -20690,7 +20726,10 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[108/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[108/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[109/148] cc -IopenSeaChest_Logs.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Logs.p/src_openseachest_util_options.c.o -MF openSeaChest_Logs.p/src_openseachest_util_options.c.o.d -o openSeaChest_Logs.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -20960,9 +20999,6 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[109/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [110/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -21246,7 +21282,10 @@ ../utils/C/openSeaChest/openSeaChest_NVMe.c:1548:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 1548 | DECLARE_ZERO_INIT_ARRAY(char, logName, SEACHEST_NVME_LOG_NAME_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[111/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[111/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -IopenSeaChest_NVMe.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_NVMe.p/src_openseachest_util_options.c.o -MF openSeaChest_NVMe.p/src_openseachest_util_options.c.o.d -o openSeaChest_NVMe.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -21516,9 +21555,6 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[112/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -21789,7 +21825,10 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[114/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[114/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[115/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -MF openSeaChest_PowerControl.p/src_openseachest_util_options.c.o.d -o openSeaChest_PowerControl.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -22059,9 +22098,6 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[115/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [116/148] cc -IopenSeaChest_PowerControl.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -22369,11 +22405,14 @@ ../utils/C/openSeaChest/openSeaChest_PowerControl.c:2979:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2979 | DECLARE_ZERO_INIT_ARRAY(char, timeFormat, TIME_STRING_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~ -[117/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c +[117/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -MF openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o.d -o openSeaChest_Raw.p/utils_C_openSeaChest_openSeaChest_Raw.c.o -c ../utils/C/openSeaChest/openSeaChest_Raw.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:20: + from ../utils/C/openSeaChest/openSeaChest_Raw.c:19: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -22602,16 +22641,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:18: -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_Raw.c:17: +../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:273:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 273 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:72:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 72 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -22619,8 +22658,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:274:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 274 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 73 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -22628,8 +22667,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:275:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 275 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 74 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -22637,175 +22676,23 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:276:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 276 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 75 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘multi_Sector_PIO_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1365 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logDir, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:57: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:92: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) - | ^~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘check_Condition_Bit_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1623:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:56: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 154 | #define M_ATTR_UNUSED [[maybe_unused]] - | ^ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:91: note: in expansion of macro ‘M_ATTR_UNUSED’ - 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) - | ^~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_VPD_Pages’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2031 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, 36); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2382:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2382 | DECLARE_ZERO_INIT_ARRAY(char, desVendorID, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2815:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2815 | DECLARE_ZERO_INIT_ARRAY(char, satVendor, 9); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2816:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2816 | DECLARE_ZERO_INIT_ARRAY(char, satProductID, 17); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2817:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2817 | DECLARE_ZERO_INIT_ARRAY(char, satRevision, 5); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Information’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:3950:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 3950 | DECLARE_ZERO_INIT_ARRAY(char, versionString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Capacity_Information’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4013:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4013 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Log_Information’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4844 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportPages, 255); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 4850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPagesAndSubpages, 255); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘other_SCSI_Cmd_Support’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6246 | DECLARE_ZERO_INIT_ARRAY(uint8_t, scsiDataBytes, 512);//used by each command - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Error_Handling_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6406:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6406 | DECLARE_ZERO_INIT_ARRAY(uint64_t, commandTimes, MAX_COMMANDS_TO_TRY + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuffer, 255); +../include/openseachest_util_options.h:2226:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sct_GPL_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sat_Ext_Cmd_With_A1_When_Possible_Test’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6909:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 6909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, log, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_SAT_Capabilities’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7036:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, data, 512); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7176 | DECLARE_ZERO_INIT_ARRAY(char, scsiProdID, PASSTHROUGH_TEST_SCSI_PROD_ID_LEN); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7193:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7193 | DECLARE_ZERO_INIT_ARRAY(char, fullMN, PASSTHROUGH_TEST_FULL_MN_LENGTH); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_Legacy_ATA_Passthrough’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 7336 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[118/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[119/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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:95:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ + 95 | RAW_CDB_ARRAY_VAR + | ^~~~~~~~~~~~~~~~~ +[119/148] cc -IopenSeaChest_PassthroughTest.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -MF openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o.d -o openSeaChest_PassthroughTest.p/utils_C_openSeaChest_openSeaChest_PassthroughTest.c.o -c ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Raw.c:19: + from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -23034,16 +22921,16 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Raw.c:17: -../utils/C/openSeaChest/openSeaChest_Raw.c: In function ‘main’: +In file included from ../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:18: +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ ../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:72:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 72 | MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:273:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 273 | MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -23051,8 +22938,8 @@ ../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:73:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 73 | FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:274:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 274 | FW_MATCH_VARS | ^~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -23060,8 +22947,8 @@ ../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:74:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 74 | CHILD_MODEL_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:275:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 275 | CHILD_MODEL_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~~~~ ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} @@ -23069,18 +22956,167 @@ ../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:75:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 75 | CHILD_FW_MATCH_VARS +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:276:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 276 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘multi_Sector_PIO_Test’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:2226:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 2226 | DECLARE_ZERO_INIT_ARRAY(uint8_t, RAW_CDB_ARRAY, UINT8_MAX); +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1365:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1365 | DECLARE_ZERO_INIT_ARRAY(uint8_t, logDir, 512); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Raw.c:95:5: note: in expansion of macro ‘RAW_CDB_ARRAY_VAR’ - 95 | RAW_CDB_ARRAY_VAR - | ^~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:57: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1550:92: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1550 | static void sat_DMA_UDMA_Protocol_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported) + | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘check_Condition_Bit_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1623:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1623 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: At top level: +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:56: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:154:35: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 154 | #define M_ATTR_UNUSED [[maybe_unused]] + | ^ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:1740:91: note: in expansion of macro ‘M_ATTR_UNUSED’ + 1740 | static void return_Response_Info_Test(tDevice *device, M_ATTR_UNUSED bool smartSupported, M_ATTR_UNUSED bool smartLoggingSupported, bool testWithoutTDirAllowed) + | ^~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_VPD_Pages’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2031:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2031 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPages, 36); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2382:29: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2382 | DECLARE_ZERO_INIT_ARRAY(char, desVendorID, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2815:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2815 | DECLARE_ZERO_INIT_ARRAY(char, satVendor, 9); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2816:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2816 | DECLARE_ZERO_INIT_ARRAY(char, satProductID, 17); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:2817:21: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 2817 | DECLARE_ZERO_INIT_ARRAY(char, satRevision, 5); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:3950:33: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 3950 | DECLARE_ZERO_INIT_ARRAY(char, versionString, MAX_VERSION_DESCRIPTOR_STRING_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Capacity_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4013:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4013 | DECLARE_ZERO_INIT_ARRAY(uint8_t, readCapacityData, 32); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Log_Information’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4844:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4844 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportPages, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:4850:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 4850 | DECLARE_ZERO_INIT_ARRAY(uint8_t, supportedPagesAndSubpages, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘other_SCSI_Cmd_Support’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6246:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6246 | DECLARE_ZERO_INIT_ARRAY(uint8_t, scsiDataBytes, 512);//used by each command + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘scsi_Error_Handling_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6406:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6406 | DECLARE_ZERO_INIT_ARRAY(uint64_t, commandTimes, MAX_COMMANDS_TO_TRY + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6409:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6409 | DECLARE_ZERO_INIT_ARRAY(uint8_t, dataBuffer, 255); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sct_GPL_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6520:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6520 | DECLARE_ZERO_INIT_ARRAY(uint8_t, sctStatus, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘sat_Ext_Cmd_With_A1_When_Possible_Test’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:6909:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 6909 | DECLARE_ZERO_INIT_ARRAY(uint8_t, log, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_SAT_Capabilities’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7036:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7036 | DECLARE_ZERO_INIT_ARRAY(uint8_t, data, 512); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7176:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7176 | DECLARE_ZERO_INIT_ARRAY(char, scsiProdID, PASSTHROUGH_TEST_SCSI_PROD_ID_LEN); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7193:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7193 | DECLARE_ZERO_INIT_ARRAY(char, fullMN, PASSTHROUGH_TEST_FULL_MN_LENGTH); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c: In function ‘test_Legacy_ATA_Passthrough’: +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_PassthroughTest.c:7336:9: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 7336 | DECLARE_ZERO_INIT_ARRAY(uint8_t, identifyData, LEGACY_DRIVE_SEC_SIZE); + | ^~~~~~~~~~~~~~~~~~~~~~~ [120/148] cc -IopenSeaChest_Raw.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -23625,11 +23661,14 @@ ../utils/C/openSeaChest/openSeaChest_Reservations.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ 79 | CHILD_FW_MATCH_VARS | ^~~~~~~~~~~~~~~~~~~ -[123/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_openseachest_util_options.c.o -MF openSeaChest_Reservations.p/src_openseachest_util_options.c.o.d -o openSeaChest_Reservations.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c +[123/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[124/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -MF openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o.d -o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -c ../utils/C/openSeaChest/openSeaChest_Security.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_Security.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -23858,48 +23897,76 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_Security.c:18: +../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[124/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -MF openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o.d -o openSeaChest_Security.p/utils_C_openSeaChest_openSeaChest_Security.c.o -c ../utils/C/openSeaChest/openSeaChest_Security.c +../utils/C/openSeaChest/openSeaChest_Security.c:97:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 97 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 98 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 99 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 100 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_Security.c:129:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ + 129 | ATA_SECURITY_PASSWORD_VARS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:782:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 782 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:791:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 791 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../utils/C/openSeaChest/openSeaChest_Security.c:800:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 800 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +[125/148] cc -IopenSeaChest_Reservations.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Reservations.p/src_openseachest_util_options.c.o -MF openSeaChest_Reservations.p/src_openseachest_util_options.c.o.d -o openSeaChest_Reservations.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_Security.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -24128,75 +24195,47 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_Security.c:18: -../utils/C/openSeaChest/openSeaChest_Security.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:97:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 97 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:98:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 98 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:99:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 99 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:100:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 100 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:1842:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 1842 | DECLARE_ZERO_INIT_ARRAY(uint8_t, ATA_SECURITY_PASSWORD, 32); \ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_Security.c:129:5: note: in expansion of macro ‘ATA_SECURITY_PASSWORD_VARS’ - 129 | ATA_SECURITY_PASSWORD_VARS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:782:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 782 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:791:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 791 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../utils/C/openSeaChest/openSeaChest_Security.c:800:13: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 800 | DECLARE_ZERO_INIT_ARRAY(char, thePassword, ATA_SECURITY_MAX_PW_LENGTH + 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -[125/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ +[126/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[126/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[127/148] cc -IopenSeaChest_Security.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_Security.p/src_openseachest_util_options.c.o -MF openSeaChest_Security.p/src_openseachest_util_options.c.o.d -o openSeaChest_Security.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, @@ -24466,9 +24505,6 @@ ../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 215 | printf("\tBuild Date: %s\n", __DATE__); | ^~~~~~~~ -[127/148] cc -IopenSeaChest_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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [128/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -24746,11 +24782,15 @@ ../utils/C/openSeaChest/openSeaChest_SMART.c:2098:17: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ 2098 | DECLARE_ZERO_INIT_ARRAY(char, iddStatusString, MAX_DST_STATUS_STRING_LENGTH + 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -[129/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[129/148] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[130/148] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[131/148] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[132/148] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +[133/148] cc -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 -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../src/openseachest_util_options.c:18: + from ../utils/C/openSeaChest/openSeaChest_ZBD.c:20: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -24979,48 +25019,49 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] - 239 | #define M_NODISCARD [[nodiscard]] - | ^ -../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ - 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) - | ^~~~~~~~~~~ -../src/openseachest_util_options.c: In function ‘get_current_year’: -../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 140 | size_t len = safe_strlen(__DATE__); - | ^~~~~~~~ -../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 142 | temp_year[3] = __DATE__[len - 1]; - | ^~~~~~~~ -../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 143 | temp_year[2] = __DATE__[len - 2]; - | ^~~~~~~~ -../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 144 | temp_year[1] = __DATE__[len - 3]; - | ^~~~~~~~ -../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 145 | temp_year[0] = __DATE__[len - 4]; - | ^~~~~~~~ -../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: -../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 188 | printf(" Build Date: %s\n", __DATE__); - | ^~~~~~~~ -In file included from ../src/openseachest_util_options.c:16: -../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: +In file included from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: +../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); +../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ | ^~~~~~~~~~~~~~~~~~~~~~~ -../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 215 | printf("\tBuild Date: %s\n", __DATE__); - | ^~~~~~~~ -[130/148] cc -IopenSeaChest_ZBD.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -MF openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o.d -o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -c ../utils/C/openSeaChest/openSeaChest_ZBD.c +../utils/C/openSeaChest/openSeaChest_ZBD.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ + 76 | MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ + 77 | FW_MATCH_VARS + | ^~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ + 78 | CHILD_MODEL_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] + 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} + | ^~~ +../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ + | ^~~~~~~~~~~~~~~~~~~~~~~ +../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ + 79 | CHILD_FW_MATCH_VARS + | ^~~~~~~~~~~~~~~~~~~ +[134/148] cc -IopenSeaChest_SMART.p -I. -I.. -I../include -I../subprojects/opensea-common/include -I../subprojects/opensea-transport/include -I../subprojects/opensea-transport/include/vendor -I../subprojects/opensea-operations/include -I../subprojects/wingetopt/src -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wshadow=compatible-local -Wvla -Wfloat-equal -Wnull-dereference -Wunused-const-variable -Wunused-parameter -Wunused-value -Wduplicated-cond -Wjump-misses-init -Wstringop-overflow -Wlogical-op -Wshift-overflow -Wshift-overflow=1 -Wshift-overflow=2 -Wdouble-promotion -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wchar-subscripts -Wundef -Wformat -Wformat=2 -Wint-conversion -Wenum-conversion -Wfloat-conversion -Wint-to-pointer-cast -Wimplicit-fallthrough -D_GLIBCXX_ASSERTIONS -fstrict-flex-arrays=1 -fstack-protector-strong -fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing -ftrivial-auto-var-init=zero -Wtrampolines -Werror=implicit -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=implicit-int -Woverlength-strings -Wparentheses -Wcast-qual -Wuninitialized -Wvarargs -Wwrite-strings -Wrestrict -Wstringop-truncation -Werror=trigraphs -Wunreachable-code -Wcomment -Wsequence-point -Wreturn-type -fvisibility=hidden -Wsign-conversion -fstack-clash-protection -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DDISABLE_TCG_SUPPORT -DENABLE_CSMI -ffunction-sections -fdata-sections -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DSEA_NVME_IOCTL_H -DHAVE_EXPLICIT_BZERO -DHAVE_POSIX_STRERR_R -MD -MQ openSeaChest_SMART.p/src_openseachest_util_options.c.o -MF openSeaChest_SMART.p/src_openseachest_util_options.c.o.d -o openSeaChest_SMART.p/src_openseachest_util_options.c.o -c ../src/openseachest_util_options.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../subprojects/opensea-common/include/memory_safety.h:18, - from ../utils/C/openSeaChest/openSeaChest_ZBD.c:20: + from ../src/openseachest_util_options.c:18: ../subprojects/opensea-common/include/code_attributes.h:197:34: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] 197 | #define M_DEPRECATED [[deprecated]] | ^ @@ -25249,48 +25290,43 @@ ../include/openseachest_util_options.h:170:5: note: in expansion of macro ‘M_NODISCARD’ 170 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity); | ^~~~~~~~~~~ -In file included from ../utils/C/openSeaChest/openSeaChest_ZBD.c:18: -../utils/C/openSeaChest/openSeaChest_ZBD.c: In function ‘main’: -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:917:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 917 | DECLARE_ZERO_INIT_ARRAY(char, modelMatchArray, MODEL_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:76:5: note: in expansion of macro ‘MODEL_MATCH_VARS’ - 76 | MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:928:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 928 | DECLARE_ZERO_INIT_ARRAY(char, fwMatchArray, FW_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:77:5: note: in expansion of macro ‘FW_MATCH_VARS’ - 77 | FW_MATCH_VARS - | ^~~~~~~~~~~~~ -../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] - 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} - | ^~~ -../include/openseachest_util_options.h:950:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 950 | DECLARE_ZERO_INIT_ARRAY(char, childModelMatchArray, CHILD_MATCH_STRING_LENGTH);\ - | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:78:5: note: in expansion of macro ‘CHILD_MODEL_MATCH_VARS’ - 78 | CHILD_MODEL_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~~~~ +../subprojects/opensea-common/include/code_attributes.h:239:33: warning: ISO C does not support ‘[[]]’ attributes before C23 [-Wpedantic] + 239 | #define M_NODISCARD [[nodiscard]] + | ^ +../src/openseachest_util_options.c:75:1: note: in expansion of macro ‘M_NODISCARD’ + 75 | M_NODISCARD bool set_Verbosity_From_String(const char* requestedLevel, eVerbosityLevels* verbosity) + | ^~~~~~~~~~~ +../src/openseachest_util_options.c: In function ‘get_current_year’: +../src/openseachest_util_options.c:140:30: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 140 | size_t len = safe_strlen(__DATE__); + | ^~~~~~~~ +../src/openseachest_util_options.c:142:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 142 | temp_year[3] = __DATE__[len - 1]; + | ^~~~~~~~ +../src/openseachest_util_options.c:143:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 143 | temp_year[2] = __DATE__[len - 2]; + | ^~~~~~~~ +../src/openseachest_util_options.c:144:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 144 | temp_year[1] = __DATE__[len - 3]; + | ^~~~~~~~ +../src/openseachest_util_options.c:145:20: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 145 | temp_year[0] = __DATE__[len - 4]; + | ^~~~~~~~ +../src/openseachest_util_options.c: In function ‘openseachest_utility_Info’: +../src/openseachest_util_options.c:188:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 188 | printf(" Build Date: %s\n", __DATE__); + | ^~~~~~~~ +In file included from ../src/openseachest_util_options.c:16: +../src/openseachest_util_options.c: In function ‘utility_Full_Version_Info’: ../subprojects/opensea-common/include/common_types.h:208:50: warning: ISO C forbids specifying range of elements to initialize [-Wpedantic] 208 | type_name array_name[size] = {[0 ... (size - 1)] = 0} | ^~~ -../include/openseachest_util_options.h:961:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ - 961 | DECLARE_ZERO_INIT_ARRAY(char, childFwMatchArray, CHILD_FW_MATCH_STRING_LENGTH);\ +../src/openseachest_util_options.c:201:5: note: in expansion of macro ‘DECLARE_ZERO_INIT_ARRAY’ + 201 | DECLARE_ZERO_INIT_ARRAY(char, osName, OS_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~ -../utils/C/openSeaChest/openSeaChest_ZBD.c:79:5: note: in expansion of macro ‘CHILD_FW_MATCH_VARS’ - 79 | CHILD_FW_MATCH_VARS - | ^~~~~~~~~~~~~~~~~~~ -[131/148] cc -o openSeaChest_Basics openSeaChest_Basics.p/src_EULA.c.o openSeaChest_Basics.p/src_openseachest_util_options.c.o openSeaChest_Basics.p/utils_C_openSeaChest_openSeaChest_Basics.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[132/148] cc -o openSeaChest_Configure openSeaChest_Configure.p/src_EULA.c.o openSeaChest_Configure.p/src_openseachest_util_options.c.o openSeaChest_Configure.p/utils_C_openSeaChest_openSeaChest_Configure.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[133/148] cc -o openSeaChest_Defect openSeaChest_Defect.p/src_EULA.c.o openSeaChest_Defect.p/src_openseachest_util_options.c.o openSeaChest_Defect.p/utils_C_openSeaChest_openSeaChest_Defect.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group -[134/148] cc -o openSeaChest_Erase openSeaChest_Erase.p/src_EULA.c.o openSeaChest_Erase.p/src_openseachest_util_options.c.o openSeaChest_Erase.p/utils_C_openSeaChest_openSeaChest_Erase.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group +../src/openseachest_util_options.c:215:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 215 | printf("\tBuild Date: %s\n", __DATE__); + | ^~~~~~~~ [135/148] cc -o openSeaChest_Firmware openSeaChest_Firmware.p/src_EULA.c.o openSeaChest_Firmware.p/src_openseachest_util_options.c.o openSeaChest_Firmware.p/utils_C_openSeaChest_openSeaChest_Firmware.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group [136/148] cc -o openSeaChest_Format openSeaChest_Format.p/src_EULA.c.o openSeaChest_Format.p/src_openseachest_util_options.c.o openSeaChest_Format.p/utils_C_openSeaChest_openSeaChest_Format.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group subprojects/opensea-common/libopensea-common.a subprojects/opensea-transport/libopensea-transport.a subprojects/opensea-operations/libopensea-operations.a subprojects/wingetopt/libwingetopt.a -lm -Wl,--end-group [137/148] cc -o openSeaChest_GenericTests openSeaChest_GenericTests.p/src_EULA.c.o openSeaChest_GenericTests.p/src_openseachest_util_options.c.o openSeaChest_GenericTests.p/utils_C_openSeaChest_openSeaChest_GenericTests.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -25575,7 +25611,7 @@ | ^~~~~~~~ [148/148] cc -o openSeaChest_ZBD openSeaChest_ZBD.p/src_EULA.c.o openSeaChest_ZBD.p/src_openseachest_util_options.c.o openSeaChest_ZBD.p/utils_C_openSeaChest_openSeaChest_ZBD.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openseachest-24.08.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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-arm-linux-gnueabihf && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=3 meson test + cd obj-arm-linux-gnueabihf && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson test No tests defined. create-stamp debian/debhelper-build-stamp dh_prep @@ -25647,12 +25683,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/6911/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6911/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/4200 and its subdirectories -I: Current time: Sun Oct 27 06:13:27 -12 2024 -I: pbuilder-time-stamp: 1730052807 +I: removing directory /srv/workspace/pbuilder/6911 and its subdirectories +I: Current time: Mon Oct 28 08:18:16 +14 2024 +I: pbuilder-time-stamp: 1730053096