Diff of the two buildlogs: -- --- b1/build.log 2025-08-30 03:50:05.363189519 +0000 +++ b2/build.log 2025-08-30 03:51:21.719284573 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Aug 29 15:49:02 -12 2025 -I: pbuilder-time-stamp: 1756525742 +I: Current time: Sat Oct 3 00:13:07 +14 2026 +I: pbuilder-time-stamp: 1790935987 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking chibicc_0+git20240328+ds-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/587176/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/384801/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 2 10:13 /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/384801/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/384801/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='39b727e9914e4667a246eaaf55d14a43' - 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='587176' - PS1='# ' - PS2='> ' + INVOCATION_ID=86b9c8535ae3444db86c3e905c2c048f + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=384801 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.quwgFGKW/pbuilderrc_wN18 --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.quwgFGKW/b1 --logfile b1/build.log chibicc_0+git20240328+ds-2.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.quwgFGKW/pbuilderrc_goWZ --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.quwgFGKW/b2 --logfile b2/build.log chibicc_0+git20240328+ds-2.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.12.41+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/587176/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/384801/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -132,7 +164,7 @@ Get: 27 http://deb.debian.org/debian forky/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian forky/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian forky/main amd64 debhelper all 13.26 [939 kB] -Fetched 11.2 MB in 1s (15.0 MB/s) +Fetched 11.2 MB in 0s (27.7 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (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 ... 19855 files and directories currently installed.) @@ -263,7 +295,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/chibicc-0+git20240328+ds/ && 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 > ../chibicc_0+git20240328+ds-2_source.changes +I: user script /srv/workspace/pbuilder/384801/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/384801/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/chibicc-0+git20240328+ds/ && 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 > ../chibicc_0+git20240328+ds-2_source.changes dpkg-buildpackage: info: source package chibicc dpkg-buildpackage: info: source version 0+git20240328+ds-2 dpkg-buildpackage: info: source distribution unstable @@ -273,7 +309,7 @@ debian/rules clean dh clean dh_auto_clean - make -j12 clean + make -j16 clean make[1]: Entering directory '/build/reproducible-path/chibicc-0+git20240328+ds' rm -rf chibicc tmp* test/alignof.exe test/alloca.exe test/arith.exe test/asm.exe test/asm1.exe test/asm2a.exe test/asm2b.exe test/asm2c.exe test/asm3.exe test/asm6.exe test/atomic.exe test/attribute.exe test/bitfield.exe test/builtin.exe test/cast.exe test/commonsym.exe test/compat.exe test/complit.exe test/const.exe test/constexpr.exe test/control.exe test/decl.exe test/define.exe test/enum.exe test/extern.exe test/float.exe test/foo.exe test/funcstack.exe test/function.exe test/generic.exe test/hello.exe test/initializer.exe test/issue105.exe test/issue106.exe test/issue107.exe test/issue108.exe test/issue109.exe test/issue110.exe test/issue111.exe test/issue113.exe test/issue114.exe test/issue116.exe test/issue117.exe test/issue118.exe test/issue119.exe test/issue121.exe test/issue122.exe test/issue124.exe test/issue125a.exe test/issue126.exe test/issue127.exe test/issue129.exe test/issue130.exe test/issue134.exe test/issue138.exe test/issue142.exe test/issue145.exe test/issue147.exe test/issue148.exe test/issue149.exe test/issue149b.exe test/issue149c.exe test/issue150.exe test/issue151.exe test/issue155.exe test/issue156.exe test/issue157.exe test/issue159.exe test/issue31.exe test/issue35.exe test/issue36.exe test/issue37.exe test/issue40.exe test/issue40b.exe test/issue45.exe test/issue47.exe test/issue59.exe test/issue62.exe test/issue63.exe test/issue65.exe test/issue69.exe test/issue71.exe test/issue80.exe test/line.exe test/literal.exe test/macro.exe test/offsetof.exe test/pointer.exe test/pragma-once.exe test/regex.exe test/sizeof.exe test/stdhdr.exe test/string.exe test/struct.exe test/test1.exe test/tls.exe test/typedef.exe test/typeof.exe test/unicode.exe test/unicode2.exe test/union.exe test/usualconv.exe test/varargs.exe test/variable.exe test/varscope.exe test/vla.exe issues/*.s issues/*.exe issues/*.dot test/*.s test/*.exe stage2 diagram/*.png test/*.dot libchibicc find * -type f '(' -name '*~' -o -name '*.o' ')' -exec rm {} ';' @@ -287,7 +323,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/chibicc-0+git20240328+ds' dh_auto_build -- CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/chibicc-0+git20240328+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic" - make -j12 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/chibicc-0+git20240328+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic" + make -j16 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/chibicc-0+git20240328+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic" make[2]: Entering directory '/build/reproducible-path/chibicc-0+git20240328+ds' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/chibicc-0+git20240328+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o codegen.o codegen.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/chibicc-0+git20240328+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -c -o debug.o debug.c @@ -304,53 +340,68 @@ hashmap.c:45:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 45 | HashMap map2 = {}; | ^ -parse.c:90:31: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 90 | static Scope *scope = &(Scope){}; - | ^ -preprocess.c: In function 'hideset_union': -preprocess.c:141:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 141 | Hideset head = {}; - | ^ -preprocess.c: In function 'hideset_intersection': -preprocess.c:160:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 160 | Hideset head = {}; - | ^ -preprocess.c: In function 'add_hideset': -preprocess.c:171:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 171 | Token head = {}; - | ^ -preprocess.c: In function 'append': -preprocess.c:189:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 189 | Token head = {}; - | ^ -main.c: In function 'parse_args': -main.c:188:27: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 188 | StringArray idirafter = {}; - | ^ -preprocess.c: In function 'copy_line': -preprocess.c:279:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 279 | Token head = {}; - | ^ -preprocess.c: In function 'read_const_expr': -preprocess.c:300:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 300 | Token head = {}; - | ^ +unicode.c: In function 'encode_utf8': +unicode.c:14:14: warning: binary constants are a C23 feature or GCC extension + 14 | buf[0] = 0b11000000 | (c >> 6); + | ^~~~~~~~~~ +unicode.c:15:14: warning: binary constants are a C23 feature or GCC extension + 15 | buf[1] = 0b10000000 | (c & 0b00111111); + | ^~~~~~~~~~ +unicode.c:15:32: warning: binary constants are a C23 feature or GCC extension + 15 | buf[1] = 0b10000000 | (c & 0b00111111); + | ^~~~~~~~~~ +unicode.c:21:14: warning: binary constants are a C23 feature or GCC extension + 21 | buf[0] = 0b11100000 | (c >> 12); + | ^~~~~~~~~~ +unicode.c:22:14: warning: binary constants are a C23 feature or GCC extension + 22 | buf[1] = 0b10000000 | ((c >> 6) & 0b00111111); + | ^~~~~~~~~~ +unicode.c:22:39: warning: binary constants are a C23 feature or GCC extension + 22 | buf[1] = 0b10000000 | ((c >> 6) & 0b00111111); + | ^~~~~~~~~~ +unicode.c:23:14: warning: binary constants are a C23 feature or GCC extension + 23 | buf[2] = 0b10000000 | (c & 0b00111111); + | ^~~~~~~~~~ +unicode.c:23:32: warning: binary constants are a C23 feature or GCC extension + 23 | buf[2] = 0b10000000 | (c & 0b00111111); + | ^~~~~~~~~~ +unicode.c:27:12: warning: binary constants are a C23 feature or GCC extension + 27 | buf[0] = 0b11110000 | (c >> 18); + | ^~~~~~~~~~ +unicode.c:28:12: warning: binary constants are a C23 feature or GCC extension + 28 | buf[1] = 0b10000000 | ((c >> 12) & 0b00111111); + | ^~~~~~~~~~ +unicode.c:28:38: warning: binary constants are a C23 feature or GCC extension + 28 | buf[1] = 0b10000000 | ((c >> 12) & 0b00111111); + | ^~~~~~~~~~ codegen.c: In function 'gen_addr': +unicode.c:29:12: warning: binary constants are a C23 feature or GCC extension + 29 | buf[2] = 0b10000000 | ((c >> 6) & 0b00111111); + | ^~~~~~~~~~ codegen.c:225:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 225 | switch (node->kind) | ^~~~~~ codegen.c:225:3: warning: enumeration value 'ND_ADD' not handled in switch [-Wswitch] +unicode.c:29:37: warning: binary constants are a C23 feature or GCC extension + 29 | buf[2] = 0b10000000 | ((c >> 6) & 0b00111111); + | ^~~~~~~~~~ codegen.c:225:3: warning: enumeration value 'ND_SUB' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_MUL' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_DIV' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_NEG' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_MOD' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_BITAND' not handled in switch [-Wswitch] +unicode.c:30:12: warning: binary constants are a C23 feature or GCC extension + 30 | buf[3] = 0b10000000 | (c & 0b00111111); + | ^~~~~~~~~~ codegen.c:225:3: warning: enumeration value 'ND_BITOR' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_BITXOR' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_SHL' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_SHR' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_EQ' not handled in switch [-Wswitch] +unicode.c:30:30: warning: binary constants are a C23 feature or GCC extension + 30 | buf[3] = 0b10000000 | (c & 0b00111111); + | ^~~~~~~~~~ codegen.c:225:3: warning: enumeration value 'ND_NE' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_LT' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_LE' not handled in switch [-Wswitch] @@ -375,14 +426,23 @@ codegen.c:225:3: warning: enumeration value 'ND_NUM' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_CAST' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_MEMZERO' not handled in switch [-Wswitch] +unicode.c: In function 'decode_utf8': codegen.c:225:3: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] codegen.c:225:3: warning: enumeration value 'ND_CAS' not handled in switch [-Wswitch] -preprocess.c: In function 'read_macro_params': codegen.c:225:3: warning: enumeration value 'ND_EXCH' not handled in switch [-Wswitch] -preprocess.c:407:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 407 | MacroParam head = {}; - | ^ +unicode.c:53:28: warning: binary constants are a C23 feature or GCC extension + 53 | if ((unsigned char)*p >= 0b11110000) + | ^~~~~~~~~~ +unicode.c:56:14: warning: binary constants are a C23 feature or GCC extension + 56 | c = *p & 0b111; + | ^~~~~ +unicode.c:58:33: warning: binary constants are a C23 feature or GCC extension + 58 | else if ((unsigned char)*p >= 0b11100000) + | ^~~~~~~~~~ codegen.c: In function 'load': +unicode.c:61:14: warning: binary constants are a C23 feature or GCC extension + 61 | c = *p & 0b1111; + | ^~~~~~ codegen.c:340:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 340 | switch (ty->kind) | ^~~~~~ @@ -390,22 +450,25 @@ codegen.c:340:3: warning: enumeration value 'TY_CHAR' not handled in switch [-Wswitch] codegen.c:340:3: warning: enumeration value 'TY_SHORT' not handled in switch [-Wswitch] codegen.c:340:3: warning: enumeration value 'TY_INT' not handled in switch [-Wswitch] +unicode.c:63:33: warning: binary constants are a C23 feature or GCC extension + 63 | else if ((unsigned char)*p >= 0b11000000) + | ^~~~~~~~~~ codegen.c:340:3: warning: enumeration value 'TY_LONG' not handled in switch [-Wswitch] codegen.c:340:3: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] codegen.c:340:3: warning: enumeration value 'TY_PTR' not handled in switch [-Wswitch] -type.c: In function 'is_compatible': -type.c:64:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] - 64 | switch (t1->kind) - | ^~~~~~ -type.c:64:3: warning: enumeration value 'TY_BOOL' not handled in switch [-Wswitch] -type.c:64:3: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] -type.c:64:3: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] -type.c:64:3: warning: enumeration value 'TY_STRUCT' not handled in switch [-Wswitch] -type.c:64:3: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] +unicode.c:66:14: warning: binary constants are a C23 feature or GCC extension + 66 | c = *p & 0b11111; + | ^~~~~~~ +unicode.c:75:37: warning: binary constants are a C23 feature or GCC extension + 75 | if ((unsigned char)p[i] >> 6 != 0b10) + | ^~~~ codegen.c: In function 'store': codegen.c:387:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 387 | switch (ty->kind) | ^~~~~~ +unicode.c:77:28: warning: binary constants are a C23 feature or GCC extension + 77 | c = (c << 6) | (p[i] & 0b111111); + | ^~~~~~~~ codegen.c:387:3: warning: enumeration value 'TY_BOOL' not handled in switch [-Wswitch] codegen.c:387:3: warning: enumeration value 'TY_CHAR' not handled in switch [-Wswitch] codegen.c:387:3: warning: enumeration value 'TY_SHORT' not handled in switch [-Wswitch] @@ -417,7 +480,6 @@ codegen.c:387:3: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] codegen.c:387:3: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] codegen.c: In function 'cmp_zero': -preprocess.c: In function 'read_macro_arg_one': codegen.c:420:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 420 | switch (ty->kind) | ^~~~~~ @@ -431,138 +493,21 @@ codegen.c:420:3: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] codegen.c:420:3: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] codegen.c:420:3: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] -preprocess.c:485:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 485 | Token head = {}; - | ^ codegen.c:420:3: warning: enumeration value 'TY_STRUCT' not handled in switch [-Wswitch] codegen.c:420:3: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] codegen.c: In function 'getTypeId': -unicode.c: In function 'encode_utf8': codegen.c:460:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 460 | switch (ty->kind) | ^~~~~~ -unicode.c:14:14: warning: binary constants are a C23 feature or GCC extension - 14 | buf[0] = 0b11000000 | (c >> 6); - | ^~~~~~~~~~ codegen.c:460:3: warning: enumeration value 'TY_BOOL' not handled in switch [-Wswitch] codegen.c:460:3: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] codegen.c:460:3: warning: enumeration value 'TY_PTR' not handled in switch [-Wswitch] codegen.c:460:3: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] -unicode.c:15:14: warning: binary constants are a C23 feature or GCC extension - 15 | buf[1] = 0b10000000 | (c & 0b00111111); - | ^~~~~~~~~~ codegen.c:460:3: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] -unicode.c:15:32: warning: binary constants are a C23 feature or GCC extension - 15 | buf[1] = 0b10000000 | (c & 0b00111111); - | ^~~~~~~~~~ codegen.c:460:3: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] codegen.c:460:3: warning: enumeration value 'TY_STRUCT' not handled in switch [-Wswitch] codegen.c:460:3: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] -unicode.c:21:14: warning: binary constants are a C23 feature or GCC extension - 21 | buf[0] = 0b11100000 | (c >> 12); - | ^~~~~~~~~~ -unicode.c:22:14: warning: binary constants are a C23 feature or GCC extension - 22 | buf[1] = 0b10000000 | ((c >> 6) & 0b00111111); - | ^~~~~~~~~~ -unicode.c:22:39: warning: binary constants are a C23 feature or GCC extension - 22 | buf[1] = 0b10000000 | ((c >> 6) & 0b00111111); - | ^~~~~~~~~~ -unicode.c:23:14: warning: binary constants are a C23 feature or GCC extension - 23 | buf[2] = 0b10000000 | (c & 0b00111111); - | ^~~~~~~~~~ -unicode.c:23:32: warning: binary constants are a C23 feature or GCC extension - 23 | buf[2] = 0b10000000 | (c & 0b00111111); - | ^~~~~~~~~~ -unicode.c:27:12: warning: binary constants are a C23 feature or GCC extension - 27 | buf[0] = 0b11110000 | (c >> 18); - | ^~~~~~~~~~ -preprocess.c: In function 'read_macro_args': -unicode.c:28:12: warning: binary constants are a C23 feature or GCC extension - 28 | buf[1] = 0b10000000 | ((c >> 12) & 0b00111111); - | ^~~~~~~~~~ -unicode.c:28:38: warning: binary constants are a C23 feature or GCC extension - 28 | buf[1] = 0b10000000 | ((c >> 12) & 0b00111111); - | ^~~~~~~~~~ -unicode.c:29:12: warning: binary constants are a C23 feature or GCC extension - 29 | buf[2] = 0b10000000 | ((c >> 6) & 0b00111111); - | ^~~~~~~~~~ -unicode.c:29:37: warning: binary constants are a C23 feature or GCC extension - 29 | buf[2] = 0b10000000 | ((c >> 6) & 0b00111111); - | ^~~~~~~~~~ -unicode.c:30:12: warning: binary constants are a C23 feature or GCC extension - 30 | buf[3] = 0b10000000 | (c & 0b00111111); - | ^~~~~~~~~~ -unicode.c:30:30: warning: binary constants are a C23 feature or GCC extension - 30 | buf[3] = 0b10000000 | (c & 0b00111111); - | ^~~~~~~~~~ -preprocess.c:526:19: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 526 | MacroArg head = {}; - | ^ -unicode.c: In function 'decode_utf8': -unicode.c:53:28: warning: binary constants are a C23 feature or GCC extension - 53 | if ((unsigned char)*p >= 0b11110000) - | ^~~~~~~~~~ -unicode.c:56:14: warning: binary constants are a C23 feature or GCC extension - 56 | c = *p & 0b111; - | ^~~~~ -unicode.c:58:33: warning: binary constants are a C23 feature or GCC extension - 58 | else if ((unsigned char)*p >= 0b11100000) - | ^~~~~~~~~~ -unicode.c:61:14: warning: binary constants are a C23 feature or GCC extension - 61 | c = *p & 0b1111; - | ^~~~~~ -unicode.c:63:33: warning: binary constants are a C23 feature or GCC extension - 63 | else if ((unsigned char)*p >= 0b11000000) - | ^~~~~~~~~~ -unicode.c:66:14: warning: binary constants are a C23 feature or GCC extension - 66 | c = *p & 0b11111; - | ^~~~~~~ -type.c: In function 'add_type': -type.c:218:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] - 218 | switch (node->kind) - | ^~~~~~ -unicode.c:75:37: warning: binary constants are a C23 feature or GCC extension - 75 | if ((unsigned char)p[i] >> 6 != 0b10) - | ^~~~ -type.c:218:3: warning: enumeration value 'ND_RETURN' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_IF' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] -unicode.c:77:28: warning: binary constants are a C23 feature or GCC extension - 77 | c = (c << 6) | (p[i] & 0b111111); - | ^~~~~~~~ -type.c:218:3: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_LABEL' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_EXPR_STMT' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_CAST' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_MEMZERO' not handled in switch [-Wswitch] -type.c:218:3: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] -parse.c: In function 'func_params': -parse.c:717:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 717 | Type head = {}; - | ^ -preprocess.c: In function 'subst': -preprocess.c:652:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 652 | Token head = {}; - | ^ -parse.c:754:14: warning: unused variable 'node' [-Wunused-variable] - 754 | Node *node = expr(&tok, tok); - | ^~~~ -main.c: In function 'find_file': -parse.c: In function 'declarator': -main.c:962:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 962 | glob_t buf = {}; - | ^ -parse.c:885:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 885 | Type dummy = {}; - | ^ codegen.c: In function 'gen_expr': -parse.c: In function 'abstract_declarator': -main.c: In function 'run_linker': codegen.c:924:5: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 924 | switch (node->ty->kind) | ^~~~~~ @@ -571,12 +516,6 @@ codegen.c:924:5: warning: enumeration value 'TY_SHORT' not handled in switch [-Wswitch] codegen.c:924:5: warning: enumeration value 'TY_INT' not handled in switch [-Wswitch] codegen.c:924:5: warning: enumeration value 'TY_LONG' not handled in switch [-Wswitch] -parse.c:917:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 917 | Type dummy = {}; - | ^ -main.c:1007:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1007 | StringArray arr = {}; - | ^ codegen.c:924:5: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] codegen.c:924:5: warning: enumeration value 'TY_PTR' not handled in switch [-Wswitch] codegen.c:924:5: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] @@ -599,18 +538,6 @@ codegen.c:972:5: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] codegen.c:972:5: warning: enumeration value 'TY_STRUCT' not handled in switch [-Wswitch] codegen.c:972:5: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] -parse.c: In function 'declaration': -main.c: In function 'main': -preprocess.c: In function 'preprocess2': -parse.c:1085:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1085 | Node head = {}; - | ^ -main.c:1152:25: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1152 | StringArray ld_args = {}; - | ^ -preprocess.c:1022:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1022 | Token head = {}; - | ^ codegen.c:1207:5: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 1207 | switch (node->ty->kind) | ^~~~~~ @@ -655,13 +582,40 @@ codegen.c:918:3: warning: enumeration value 'ND_EXPR_STMT' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_VLA_PTR' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] +preprocess.c: In function 'hideset_union': +preprocess.c:141:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 141 | Hideset head = {}; + | ^ +preprocess.c: In function 'hideset_intersection': +preprocess.c:160:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 160 | Hideset head = {}; + | ^ +preprocess.c: In function 'add_hideset': +preprocess.c:171:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 171 | Token head = {}; + | ^ +preprocess.c: In function 'append': +preprocess.c:189:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 189 | Token head = {}; + | ^ +parse.c:90:31: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 90 | static Scope *scope = &(Scope){}; + | ^ codegen.c:1285:5: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 1285 | switch (node->kind) | ^~~~~~ codegen.c:1285:5: warning: enumeration value 'ND_NEG' not handled in switch [-Wswitch] +preprocess.c: In function 'copy_line': codegen.c:1285:5: warning: enumeration value 'ND_MOD' not handled in switch [-Wswitch] +preprocess.c:279:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 279 | Token head = {}; + | ^ codegen.c:1285:5: warning: enumeration value 'ND_BITAND' not handled in switch [-Wswitch] +preprocess.c: In function 'read_const_expr': codegen.c:1285:5: warning: enumeration value 'ND_BITOR' not handled in switch [-Wswitch] +preprocess.c:300:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 300 | Token head = {}; + | ^ codegen.c:1285:5: warning: enumeration value 'ND_BITXOR' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_SHL' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_SHR' not handled in switch [-Wswitch] @@ -669,42 +623,54 @@ codegen.c:1285:5: warning: enumeration value 'ND_COND' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_COMMA' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_MEMBER' not handled in switch [-Wswitch] +preprocess.c: In function 'read_macro_params': codegen.c:1285:5: warning: enumeration value 'ND_ADDR' not handled in switch [-Wswitch] +preprocess.c:407:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 407 | MacroParam head = {}; + | ^ codegen.c:1285:5: warning: enumeration value 'ND_DEREF' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_NOT' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_BITNOT' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_LOGAND' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_LOGOR' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_RETURN' not handled in switch [-Wswitch] +preprocess.c: In function 'read_macro_arg_one': codegen.c:1285:5: warning: enumeration value 'ND_IF' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] +preprocess.c:485:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 485 | Token head = {}; + | ^ codegen.c:1285:5: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] +preprocess.c: In function 'read_macro_args': codegen.c:1285:5: warning: enumeration value 'ND_LABEL' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_LABEL_VAL' not handled in switch [-Wswitch] -preprocess.c: In function 'preprocess3': +preprocess.c:526:19: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 526 | MacroArg head = {}; + | ^ codegen.c:1285:5: warning: enumeration value 'ND_FUNCALL' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_EXPR_STMT' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_STMT_EXPR' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_VAR' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_VLA_PTR' not handled in switch [-Wswitch] -parse.c: In function 'copy_struct_type': codegen.c:1285:5: warning: enumeration value 'ND_NUM' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_CAST' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_MEMZERO' not handled in switch [-Wswitch] +main.c: In function 'parse_args': +main.c:188:27: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 188 | StringArray idirafter = {}; + | ^ codegen.c:1285:5: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_CAS' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_EXCH' not handled in switch [-Wswitch] -preprocess.c:1492:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1492 | Token head = {}; +preprocess.c: In function 'subst': +preprocess.c:652:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 652 | Token head = {}; | ^ -parse.c:1751:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1751 | Member head = {}; - | ^ codegen.c:1338:5: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 1338 | switch (node->kind) | ^~~~~~ @@ -721,18 +687,42 @@ codegen.c:1338:5: warning: enumeration value 'ND_MEMBER' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_ADDR' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_DEREF' not handled in switch [-Wswitch] +parse.c: In function 'func_params': codegen.c:1338:5: warning: enumeration value 'ND_NOT' not handled in switch [-Wswitch] +tokenize.c: In function 'tokenize': codegen.c:1338:5: warning: enumeration value 'ND_BITNOT' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_LOGAND' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_LOGOR' not handled in switch [-Wswitch] +type.c: In function 'is_compatible': +type.c:64:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] + 64 | switch (t1->kind) + | ^~~~~~ +type.c:64:3: warning: enumeration value 'TY_BOOL' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_RETURN' not handled in switch [-Wswitch] +parse.c:717:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 717 | Type head = {}; + | ^ +type.c:64:3: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] +type.c:64:3: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] +tokenize.c:645:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 645 | Token head = {}; + | ^ +type.c:64:3: warning: enumeration value 'TY_STRUCT' not handled in switch [-Wswitch] +type.c:64:3: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_IF' not handled in switch [-Wswitch] +preprocess.c: In function 'preprocess2': codegen.c:1338:5: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] +preprocess.c:1022:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1022 | Token head = {}; + | ^ codegen.c:1338:5: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] +parse.c:754:14: warning: unused variable 'node' [-Wunused-variable] + 754 | Node *node = expr(&tok, tok); + | ^~~~ codegen.c:1338:5: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_LABEL' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_LABEL_VAL' not handled in switch [-Wswitch] @@ -747,31 +737,69 @@ codegen.c:1338:5: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_CAS' not handled in switch [-Wswitch] codegen.c:1338:5: warning: enumeration value 'ND_EXCH' not handled in switch [-Wswitch] +parse.c: In function 'declarator': +type.c: In function 'add_type': codegen.c:1273:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 1273 | switch (node->lhs->ty->kind) | ^~~~~~ +parse.c:885:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 885 | Type dummy = {}; + | ^ codegen.c:1273:3: warning: enumeration value 'TY_BOOL' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] + 218 | switch (node->kind) + | ^~~~~~ +parse.c: In function 'abstract_declarator': codegen.c:1273:3: warning: enumeration value 'TY_CHAR' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_RETURN' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_IF' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_SHORT' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_INT' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_LABEL' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_EXPR_STMT' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_LONG' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_CAST' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_MEMZERO' not handled in switch [-Wswitch] +type.c:218:3: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_PTR' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] +parse.c:917:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 917 | Type dummy = {}; + | ^ codegen.c:1273:3: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_STRUCT' not handled in switch [-Wswitch] codegen.c:1273:3: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] -parse.c: In function 'gvar_initializer': +main.c: In function 'find_file': +main.c:962:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 962 | glob_t buf = {}; + | ^ +preprocess.c: In function 'preprocess3': +main.c: In function 'run_linker': +preprocess.c:1492:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1492 | Token head = {}; + | ^ +main.c:1007:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1007 | StringArray arr = {}; + | ^ +parse.c: In function 'declaration': codegen.c:1396:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 1396 | switch (node->kind) | ^~~~~~ codegen.c:1396:3: warning: enumeration value 'ND_NEG' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_ASSIGN' not handled in switch [-Wswitch] +parse.c:1085:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1085 | Node head = {}; + | ^ codegen.c:1396:3: warning: enumeration value 'ND_COND' not handled in switch [-Wswitch] -parse.c:1992:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1992 | Relocation head = {}; - | ^ codegen.c:1396:3: warning: enumeration value 'ND_COMMA' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_MEMBER' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_ADDR' not handled in switch [-Wswitch] @@ -786,6 +814,7 @@ codegen.c:1396:3: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] +main.c: In function 'main': codegen.c:1396:3: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] @@ -793,6 +822,9 @@ codegen.c:1396:3: warning: enumeration value 'ND_LABEL_VAL' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_FUNCALL' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_EXPR_STMT' not handled in switch [-Wswitch] +main.c:1152:25: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1152 | StringArray ld_args = {}; + | ^ codegen.c:1396:3: warning: enumeration value 'ND_STMT_EXPR' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_VAR' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_VLA_PTR' not handled in switch [-Wswitch] @@ -819,7 +851,6 @@ codegen.c:1588:7: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] -parse.c: In function 'compound_stmt': codegen.c:1486:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 1486 | switch (node->kind) | ^~~~~~ @@ -830,10 +861,8 @@ codegen.c:1486:3: warning: enumeration value 'ND_NEG' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_MOD' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_BITAND' not handled in switch [-Wswitch] +parse.c: In function 'copy_struct_type': codegen.c:1486:3: warning: enumeration value 'ND_BITOR' not handled in switch [-Wswitch] -parse.c:2403:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 2403 | Node head = {}; - | ^ codegen.c:1486:3: warning: enumeration value 'ND_BITXOR' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_SHL' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_SHR' not handled in switch [-Wswitch] @@ -846,13 +875,13 @@ codegen.c:1486:3: warning: enumeration value 'ND_COMMA' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_MEMBER' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_ADDR' not handled in switch [-Wswitch] +parse.c:1751:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1751 | Member head = {}; + | ^ codegen.c:1486:3: warning: enumeration value 'ND_DEREF' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_NOT' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_BITNOT' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_LOGAND' not handled in switch [-Wswitch] -parse.c:2412:22: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 2412 | VarAttr attr = {}; - | ^ codegen.c:1486:3: warning: enumeration value 'ND_LOGOR' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_LABEL_VAL' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_FUNCALL' not handled in switch [-Wswitch] @@ -864,6 +893,24 @@ codegen.c:1486:3: warning: enumeration value 'ND_MEMZERO' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_CAS' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_EXCH' not handled in switch [-Wswitch] +parse.c: In function 'gvar_initializer': +parse.c:1992:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1992 | Relocation head = {}; + | ^ +extended_asm.c: In function 'string_replace': +extended_asm.c:718:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 718 | strncpy(str, bstr, strlen(bstr) + 1); + | ^ +extended_asm.c:718:24: note: length computed here + 718 | strncpy(str, bstr, strlen(bstr) + 1); + | ^~~~~~~~~~~~ +parse.c: In function 'compound_stmt': +parse.c:2403:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 2403 | Node head = {}; + | ^ +parse.c:2412:22: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 2412 | VarAttr attr = {}; + | ^ parse.c: In function 'eval2': parse.c:2507:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 2507 | switch (node->kind) @@ -877,21 +924,42 @@ parse.c:2507:3: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] parse.c:2507:3: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] parse.c:2507:3: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] +extended_asm.c: In function 'generate_input_asm': parse.c:2507:3: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] parse.c:2507:3: warning: enumeration value 'ND_LABEL' not handled in switch [-Wswitch] +extended_asm.c:739:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] + 739 | strncat(tmp, opcode(asmExt->input[nbInput]->size), strlen(opcode(asmExt->input[nbInput]->size))); + | ^ parse.c:2507:3: warning: enumeration value 'ND_FUNCALL' not handled in switch [-Wswitch] parse.c:2507:3: warning: enumeration value 'ND_EXPR_STMT' not handled in switch [-Wswitch] +extended_asm.c:741:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 741 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); + | ^ parse.c:2507:3: warning: enumeration value 'ND_STMT_EXPR' not handled in switch [-Wswitch] parse.c:2507:3: warning: enumeration value 'ND_VLA_PTR' not handled in switch [-Wswitch] +extended_asm.c:741:9: note: length computed here + 741 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:2507:3: warning: enumeration value 'ND_MEMZERO' not handled in switch [-Wswitch] +extended_asm.c:743:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 743 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); + | ^ parse.c:2507:3: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] parse.c:2507:3: warning: enumeration value 'ND_CAS' not handled in switch [-Wswitch] -tokenize.c: In function 'tokenize': +extended_asm.c:743:9: note: length computed here + 743 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:2507:3: warning: enumeration value 'ND_EXCH' not handled in switch [-Wswitch] -tokenize.c:645:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 645 | Token head = {}; - | ^ +extended_asm.c:729:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] + 729 | strncat(tmp, opcode(asmExt->input[nbInput]->size), strlen(opcode(asmExt->input[nbInput]->size))); + | ^ +extended_asm.c:732:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 732 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); + | ^ parse.c: In function 'eval_rval': +extended_asm.c:732:9: note: length computed here + 732 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:2612:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 2612 | switch (node->kind) | ^~~~~~ @@ -940,24 +1008,58 @@ parse.c:2612:3: warning: enumeration value 'ND_CAS' not handled in switch [-Wswitch] parse.c:2612:3: warning: enumeration value 'ND_EXCH' not handled in switch [-Wswitch] parse.c: In function 'is_const_expr': +extended_asm.c: In function 'generate_output_asm': +extended_asm.c:774:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] + 774 | strncat(tmp, opcode(asmExt->output[nbOutput]->size), strlen(opcode(asmExt->output[nbOutput]->size))); + | ^ parse.c:2632:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 2632 | switch (node->kind) | ^~~~~~ +extended_asm.c:776:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 776 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); + | ^ parse.c:2632:3: warning: enumeration value 'ND_ASSIGN' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_MEMBER' not handled in switch [-Wswitch] +extended_asm.c:776:9: note: length computed here + 776 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:2632:3: warning: enumeration value 'ND_ADDR' not handled in switch [-Wswitch] +extended_asm.c:778:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 778 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); + | ^ parse.c:2632:3: warning: enumeration value 'ND_DEREF' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_RETURN' not handled in switch [-Wswitch] +extended_asm.c:778:9: note: length computed here + 778 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:2632:3: warning: enumeration value 'ND_IF' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] +extended_asm.c:765:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] + 765 | strncat(tmp, opcode(asmExt->output[nbOutput]->size), strlen(opcode(asmExt->output[nbOutput]->size))); + | ^ parse.c:2632:3: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] +extended_asm.c:766:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 766 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); + | ^ parse.c:2632:3: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] +extended_asm.c:766:9: note: length computed here + 766 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:2632:3: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] +extended_asm.c:788:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] + 788 | strncat(tmp, opcode(asmExt->output[nbOutput]->size), strlen(opcode(asmExt->output[nbOutput]->size))); + | ^ parse.c:2632:3: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] +extended_asm.c:789:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 789 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); + | ^ parse.c:2632:3: warning: enumeration value 'ND_LABEL' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_LABEL_VAL' not handled in switch [-Wswitch] +extended_asm.c:789:9: note: length computed here + 789 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:2632:3: warning: enumeration value 'ND_FUNCALL' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_EXPR_STMT' not handled in switch [-Wswitch] parse.c:2632:3: warning: enumeration value 'ND_STMT_EXPR' not handled in switch [-Wswitch] @@ -1020,6 +1122,13 @@ parse.c:3297:20: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 3297 | VarAttr attr = {}; | ^ +extended_asm.c: In function 'retrieveVariableNumber': +extended_asm.c:904:5: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 904 | strncat(variableNumberStr, indexstr, strlen(indexstr)); + | ^ +extended_asm.c:904:5: note: length computed here + 904 | strncat(variableNumberStr, indexstr, strlen(indexstr)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c: In function 'funcall': parse.c:3743:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 3743 | Node head = {}; @@ -1032,72 +1141,6 @@ parse.c:4431:20: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 4431 | VarAttr attr = {}; | ^ -extended_asm.c: In function 'string_replace': -extended_asm.c:718:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 718 | strncpy(str, bstr, strlen(bstr) + 1); - | ^ -extended_asm.c:718:24: note: length computed here - 718 | strncpy(str, bstr, strlen(bstr) + 1); - | ^~~~~~~~~~~~ -extended_asm.c: In function 'generate_input_asm': -extended_asm.c:739:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] - 739 | strncat(tmp, opcode(asmExt->input[nbInput]->size), strlen(opcode(asmExt->input[nbInput]->size))); - | ^ -extended_asm.c:741:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 741 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); - | ^ -extended_asm.c:741:9: note: length computed here - 741 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -extended_asm.c:743:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 743 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); - | ^ -extended_asm.c:743:9: note: length computed here - 743 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -extended_asm.c:729:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] - 729 | strncat(tmp, opcode(asmExt->input[nbInput]->size), strlen(opcode(asmExt->input[nbInput]->size))); - | ^ -extended_asm.c:732:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 732 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); - | ^ -extended_asm.c:732:9: note: length computed here - 732 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -extended_asm.c: In function 'generate_output_asm': -extended_asm.c:774:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] - 774 | strncat(tmp, opcode(asmExt->output[nbOutput]->size), strlen(opcode(asmExt->output[nbOutput]->size))); - | ^ -extended_asm.c:776:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 776 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); - | ^ -extended_asm.c:776:9: note: length computed here - 776 | strncat(tmp, asmExt->input[nbInput]->input_value, strlen(asmExt->input[nbInput]->input_value)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -extended_asm.c:778:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 778 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); - | ^ -extended_asm.c:778:9: note: length computed here - 778 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -extended_asm.c:765:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] - 765 | strncat(tmp, opcode(asmExt->output[nbOutput]->size), strlen(opcode(asmExt->output[nbOutput]->size))); - | ^ -extended_asm.c:766:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 766 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); - | ^ -extended_asm.c:766:9: note: length computed here - 766 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -extended_asm.c:788:9: warning: '__builtin___strncat_chk' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] - 788 | strncat(tmp, opcode(asmExt->output[nbOutput]->size), strlen(opcode(asmExt->output[nbOutput]->size))); - | ^ -extended_asm.c:789:9: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 789 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); - | ^ -extended_asm.c:789:9: note: length computed here - 789 | strncat(tmp, asmExt->output[nbOutput]->variableNumber, strlen(asmExt->output[nbOutput]->variableNumber)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'extract_path': main.c:662:3: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 662 | strncpy(pathonly, tmpl, sizeof(pathonly) - 1); @@ -1105,13 +1148,6 @@ main.c:657:22: note: length computed here 657 | int total_length = strlen(tmpl); | ^~~~~~~~~~~~ -extended_asm.c: In function 'retrieveVariableNumber': -extended_asm.c:904:5: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 904 | strncat(variableNumberStr, indexstr, strlen(indexstr)); - | ^ -extended_asm.c:904:5: note: length computed here - 904 | strncat(variableNumberStr, indexstr, strlen(indexstr)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:817:7: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 817 | strncat(fullpath, path, strlen(path)); @@ -1192,12 +1228,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/384801/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/384801/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/587176 and its subdirectories -I: Current time: Fri Aug 29 15:50:04 -12 2025 -I: pbuilder-time-stamp: 1756525804 +I: removing directory /srv/workspace/pbuilder/384801 and its subdirectories +I: Current time: Sat Oct 3 00:14:21 +14 2026 +I: pbuilder-time-stamp: 1790936061