Diff of the two buildlogs: -- --- b1/build.log 2024-10-25 23:58:00.912234111 +0000 +++ b2/build.log 2024-10-25 23:58:48.314552360 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Oct 25 11:56:40 -12 2024 -I: pbuilder-time-stamp: 1729900600 +I: Current time: Fri Nov 28 20:21:03 +14 2025 +I: pbuilder-time-stamp: 1764310863 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,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/3361734/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2810516/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 28 06:21 /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/2810516/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2810516/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=20 ' - DISTRIBUTION='trixie' - 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='3b5862741ec74e23a0e7f3e6b77c7f10' - 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='3361734' - PS1='# ' - PS2='> ' + INVOCATION_ID=92692a80dd9b485d94493719f605d034 + 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=2810516 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.3dzQXq0C/pbuilderrc_1Y26 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3dzQXq0C/b1 --logfile b1/build.log chibicc_0+git20240328+ds-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.3dzQXq0C/pbuilderrc_WK8e --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3dzQXq0C/b2 --logfile b2/build.log chibicc_0+git20240328+ds-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3361734/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2810516/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -135,7 +167,7 @@ Get: 27 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.20 [915 kB] -Fetched 19.8 MB in 1s (24.4 MB/s) +Fetched 19.8 MB in 0s (63.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19945 files and directories currently installed.) @@ -266,7 +298,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/2810516/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2810516/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 @@ -276,7 +312,7 @@ debian/rules clean dh clean dh_auto_clean - make -j20 clean + make -j42 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 {} ';' @@ -290,7 +326,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 -j20 "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 -j42 "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 @@ -303,77 +339,10 @@ 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 tokenize.o tokenize.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 type.o type.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 unicode.o unicode.c -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); - | ^~~~~~~~~~ -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); - | ^~~~~~~~~~ -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; - | ^~~~~~~ -unicode.c:75:37: warning: binary constants are a C23 feature or GCC extension - 75 | if ((unsigned char)p[i] >> 6 != 0b10) - | ^~~~ -unicode.c:77:28: warning: binary constants are a C23 feature or GCC extension - 77 | c = (c << 6) | (p[i] & 0b111111); - | ^~~~~~~~ +hashmap.c: In function 'rehash': +hashmap.c:45:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 45 | HashMap map2 = {}; + | ^ codegen.c: In function 'gen_addr': codegen.c:225:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 225 | switch (node->kind) @@ -458,7 +427,6 @@ codegen.c:420:3: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] 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] -tokenize.c: In function 'tokenize': codegen.c: In function 'getTypeId': codegen.c:460:3: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 460 | switch (ty->kind) @@ -466,51 +434,40 @@ 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] -tokenize.c:645:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 645 | Token head = {}; - | ^ codegen.c:460:3: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] codegen.c:460:3: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] 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] -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] main.c: In function 'parse_args': main.c:188:27: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 188 | StringArray idirafter = {}; | ^ -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) - | ^~~~~~ -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] -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] +codegen.c:460:3: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] +parse.c:90:31: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 90 | static Scope *scope = &(Scope){}; + | ^ codegen.c: In function 'gen_expr': +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 = {}; + | ^ codegen.c:924:5: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 924 | switch (node->ty->kind) | ^~~~~~ +preprocess.c: In function 'add_hideset': +preprocess.c:171:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 171 | Token head = {}; + | ^ codegen.c:924:5: warning: enumeration value 'TY_BOOL' not handled in switch [-Wswitch] codegen.c:924:5: warning: enumeration value 'TY_CHAR' not handled in switch [-Wswitch] +preprocess.c: In function 'append': +preprocess.c:189:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 189 | Token head = {}; + | ^ 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] @@ -524,58 +481,101 @@ codegen.c:972:5: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 972 | switch (node->ty->kind) | ^~~~~~ +preprocess.c: In function 'copy_line': codegen.c:972:5: warning: enumeration value 'TY_BOOL' not handled in switch [-Wswitch] codegen.c:972:5: warning: enumeration value 'TY_CHAR' not handled in switch [-Wswitch] +preprocess.c:279:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 279 | Token head = {}; + | ^ codegen.c:972:5: warning: enumeration value 'TY_SHORT' not handled in switch [-Wswitch] codegen.c:972:5: warning: enumeration value 'TY_INT' not handled in switch [-Wswitch] codegen.c:972:5: warning: enumeration value 'TY_LONG' not handled in switch [-Wswitch] +parse.c: In function 'func_params': codegen.c:972:5: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] +preprocess.c: In function 'read_const_expr': codegen.c:972:5: warning: enumeration value 'TY_PTR' not handled in switch [-Wswitch] codegen.c:972:5: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] +preprocess.c:300:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 300 | Token head = {}; + | ^ codegen.c:972:5: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] 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] -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 'read_macro_params': +preprocess.c:407:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 407 | MacroParam head = {}; + | ^ +preprocess.c: In function 'read_macro_arg_one': +preprocess.c:485:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 485 | Token head = {}; + | ^ +main.c: In function 'find_file': +preprocess.c: In function 'read_macro_args': +main.c:962:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 962 | glob_t buf = {}; + | ^ +preprocess.c:526:19: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 526 | MacroArg head = {}; + | ^ codegen.c:1207:5: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 1207 | switch (node->ty->kind) | ^~~~~~ +main.c: In function 'run_linker': codegen.c:1207:5: warning: enumeration value 'TY_INT' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_LONG' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_FLOAT' not handled in switch [-Wswitch] +parse.c:717:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 717 | Type head = {}; + | ^ +parse.c:754:14: warning: unused variable 'node' [-Wunused-variable] + 754 | Node *node = expr(&tok, tok); + | ^~~~ +parse.c: In function 'declarator': +parse.c:885:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 885 | Type dummy = {}; + | ^ +parse.c: In function 'abstract_declarator': +parse.c:917:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 917 | Type dummy = {}; + | ^ codegen.c:1207:5: warning: enumeration value 'TY_DOUBLE' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_LDOUBLE' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_PTR' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_FUNC' not handled in switch [-Wswitch] +main.c:1007:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1007 | StringArray arr = {}; + | ^ codegen.c:1207:5: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_VLA' not handled in switch [-Wswitch] codegen.c:1207:5: warning: enumeration value 'TY_STRUCT' not handled in switch [-Wswitch] -main.c: In function 'find_file': codegen.c:1207:5: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] -main.c:962:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 962 | glob_t buf = {}; - | ^ +preprocess.c: In function 'subst': codegen.c:918:3: warning: enumeration value 'ND_ADD' not handled in switch [-Wswitch] 918 | switch (node->kind) | ^~~~~~ codegen.c:918:3: warning: enumeration value 'ND_SUB' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_MUL' not handled in switch [-Wswitch] +type.c: In function 'is_compatible': codegen.c:918:3: warning: enumeration value 'ND_DIV' not handled in switch [-Wswitch] +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] codegen.c:918:3: warning: enumeration value 'ND_MOD' not handled in switch [-Wswitch] +type.c:64:3: warning: enumeration value 'TY_UNION' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_BITAND' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_BITOR' not handled in switch [-Wswitch] +preprocess.c:652:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 652 | Token head = {}; + | ^ codegen.c:918:3: warning: enumeration value 'ND_BITXOR' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_SHL' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_SHR' not handled in switch [-Wswitch] -main.c: In function 'run_linker': codegen.c:918:3: warning: enumeration value 'ND_EQ' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_NE' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_LT' not handled in switch [-Wswitch] @@ -583,30 +583,104 @@ codegen.c:918:3: warning: enumeration value 'ND_RETURN' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_IF' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] +main.c: In function 'main': codegen.c:918:3: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] -main.c:1007:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1007 | StringArray arr = {}; - | ^ codegen.c:918:3: warning: enumeration value 'ND_CASE' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_BLOCK' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_GOTO' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] codegen.c:918:3: warning: enumeration value 'ND_LABEL' 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: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] +type.c: In function 'add_type': 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] +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); + | ^~~~~~~~~~ +parse.c: In function 'declaration': +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); + | ^~~~~~~~~~ +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) + | ^~~~~~~~~~ +preprocess.c: In function 'preprocess2': +unicode.c:56:14: warning: binary constants are a C23 feature or GCC extension + 56 | c = *p & 0b111; + | ^~~~~ +parse.c:1085:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1085 | Node head = {}; + | ^ +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; + | ^~~~~~~ +unicode.c:75:37: warning: binary constants are a C23 feature or GCC extension + 75 | if ((unsigned char)p[i] >> 6 != 0b10) + | ^~~~ +unicode.c:77:28: warning: binary constants are a C23 feature or GCC extension + 77 | c = (c << 6) | (p[i] & 0b111111); + | ^~~~~~~~ codegen.c:1285:5: warning: enumeration value 'ND_MOD' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_BITAND' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_BITOR' not handled in switch [-Wswitch] -main.c: In function 'main': -main.c:1152:25: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1152 | StringArray ld_args = {}; - | ^ 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] @@ -615,35 +689,37 @@ 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] codegen.c:1285:5: warning: enumeration value 'ND_ADDR' not handled in switch [-Wswitch] -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_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] +type.c:218:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] + 218 | switch (node->kind) + | ^~~~~~ codegen.c:1285:5: warning: enumeration value 'ND_LOGOR' 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:1285:5: warning: enumeration value 'ND_RETURN' 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] +type.c:218:3: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_IF' 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:1285:5: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] -hashmap.c: In function 'rehash': +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] codegen.c:1285:5: warning: enumeration value 'ND_DO' not handled in switch [-Wswitch] -preprocess.c: In function 'add_hideset': -hashmap.c:45:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 45 | HashMap map2 = {}; - | ^ +type.c:218:3: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] codegen.c:1285:5: warning: enumeration value 'ND_SWITCH' not handled in switch [-Wswitch] -preprocess.c:171:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 171 | Token head = {}; - | ^ 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] -preprocess.c: In function 'append': codegen.c:1285:5: warning: enumeration value 'ND_GOTO_EXPR' not handled in switch [-Wswitch] -preprocess.c:189:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 189 | Token head = {}; - | ^ 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] codegen.c:1285:5: warning: enumeration value 'ND_FUNCALL' not handled in switch [-Wswitch] @@ -653,17 +729,13 @@ codegen.c:1285:5: warning: enumeration value 'ND_VLA_PTR' not handled in switch [-Wswitch] 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] +tokenize.c: In function 'tokenize': codegen.c:1285:5: warning: enumeration value 'ND_MEMZERO' not handled in switch [-Wswitch] 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: 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 = {}; +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_NULL_EXPR' not handled in switch [-Wswitch] 1338 | switch (node->kind) @@ -681,6 +753,11 @@ 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] +tokenize.c:645:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 645 | Token head = {}; + | ^ +parse.c: In function 'copy_struct_type': +preprocess.c: In function 'preprocess3': codegen.c:1338:5: warning: enumeration value 'ND_NOT' not handled in switch [-Wswitch] 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] @@ -719,44 +796,35 @@ 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] codegen.c:1273:3: warning: enumeration value 'TY_ARRAY' not handled in switch [-Wswitch] -parse.c: In function 'func_params': 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:717:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 717 | Type head = {}; - | ^ -parse.c:754:14: warning: unused variable 'node' [-Wunused-variable] - 754 | Node *node = expr(&tok, tok); - | ^~~~ +preprocess.c:1492:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1492 | Token head = {}; + | ^ +parse.c:1751:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1751 | Member head = {}; + | ^ 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] codegen.c:1396:3: warning: enumeration value 'ND_COND' not handled in switch [-Wswitch] -parse.c: In function 'declarator': 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] codegen.c:1396:3: warning: enumeration value 'ND_DEREF' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_NOT' not handled in switch [-Wswitch] -parse.c:885:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 885 | Type dummy = {}; - | ^ codegen.c:1396:3: warning: enumeration value 'ND_BITNOT' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_LOGAND' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_LOGOR' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_RETURN' not handled in switch [-Wswitch] -parse.c: In function 'abstract_declarator': codegen.c:1396:3: warning: enumeration value 'ND_IF' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_FOR' not handled in switch [-Wswitch] 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] -parse.c:917:18: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 917 | Type dummy = {}; - | ^ 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] @@ -773,10 +841,10 @@ codegen.c:1396:3: warning: enumeration value 'ND_ASM' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_CAS' not handled in switch [-Wswitch] codegen.c:1396:3: warning: enumeration value 'ND_EXCH' not handled in switch [-Wswitch] -parse.c: In function 'declaration': -parse.c:1085:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1085 | Node head = {}; - | ^ +parse.c: In function 'gvar_initializer': +parse.c:1992:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 1992 | Relocation head = {}; + | ^ codegen.c: In function 'gen_stmt': codegen.c:1588:7: warning: enumeration value 'TY_VOID' not handled in switch [-Wswitch] 1588 | switch (ty->kind) @@ -785,23 +853,15 @@ codegen.c:1588:7: warning: enumeration value 'TY_CHAR' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_SHORT' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_INT' not handled in switch [-Wswitch] -preprocess.c: In function 'read_macro_params': codegen.c:1588:7: warning: enumeration value 'TY_LONG' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_FLOAT' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_DOUBLE' not handled in switch [-Wswitch] -preprocess.c:407:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 407 | MacroParam head = {}; - | ^ codegen.c:1588:7: warning: enumeration value 'TY_LDOUBLE' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_ENUM' not handled in switch [-Wswitch] codegen.c:1588:7: warning: enumeration value 'TY_PTR' not handled in switch [-Wswitch] 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] -preprocess.c: In function 'read_macro_arg_one': -preprocess.c:485:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 485 | Token head = {}; - | ^ codegen.c:1486:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 1486 | switch (node->kind) | ^~~~~~ @@ -813,14 +873,10 @@ 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] codegen.c:1486:3: warning: enumeration value 'ND_BITOR' not handled in switch [-Wswitch] -preprocess.c: In function 'read_macro_args': 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] codegen.c:1486:3: warning: enumeration value 'ND_EQ' not handled in switch [-Wswitch] -preprocess.c:526:19: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 526 | MacroArg head = {}; - | ^ codegen.c:1486:3: warning: enumeration value 'ND_NE' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_LT' not handled in switch [-Wswitch] codegen.c:1486:3: warning: enumeration value 'ND_LE' not handled in switch [-Wswitch] @@ -844,33 +900,13 @@ 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 'copy_struct_type': -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 = {}; - | ^ -parse.c: In function 'gvar_initializer': -preprocess.c: In function 'preprocess2': -parse.c:1992:21: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1992 | Relocation head = {}; - | ^ -preprocess.c:1022:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1022 | Token head = {}; - | ^ parse.c: In function 'compound_stmt': parse.c:2403:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 2403 | Node head = {}; | ^ -preprocess.c: In function 'preprocess3': parse.c:2412:22: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 2412 | VarAttr attr = {}; | ^ -preprocess.c:1492:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 1492 | Token head = {}; - | ^ parse.c: In function 'eval2': parse.c:2507:3: warning: enumeration value 'ND_NULL_EXPR' not handled in switch [-Wswitch] 2507 | switch (node->kind) @@ -1016,7 +1052,14 @@ parse.c:2759:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 2759 | Node 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); + | ^ parse.c: In function 'struct_members': +extended_asm.c:718:24: note: length computed here + 718 | strncpy(str, bstr, strlen(bstr) + 1); + | ^~~~~~~~~~~~ parse.c:3291:17: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 3291 | Member head = {}; | ^ @@ -1027,21 +1070,6 @@ parse.c:3743:15: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] 3743 | Node head = {}; | ^ -parse.c: In function 'is_function': -parse.c:4349:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] - 4349 | Type dummy = {}; - | ^ -parse.c: In function 'parse': -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))); @@ -1067,6 +1095,14 @@ extended_asm.c:732:9: note: length computed here 732 | strncat(tmp, asmExt->input[nbInput]->variableNumber, strlen(asmExt->input[nbInput]->variableNumber)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +parse.c: In function 'is_function': +parse.c:4349:16: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 4349 | Type dummy = {}; + | ^ +parse.c: In function 'parse': +parse.c:4431:20: warning: ISO C forbids empty initializer braces before C23 [-Wpedantic] + 4431 | VarAttr attr = {}; + | ^ 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))); @@ -1101,13 +1137,6 @@ 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); - | ^ -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)); @@ -1115,6 +1144,13 @@ extended_asm.c:904:5: note: length computed here 904 | strncat(variableNumberStr, indexstr, strlen(indexstr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^ +main.c:657:22: note: length computed here + 657 | int total_length = strlen(tmpl); + | ^~~~~~~~~~~~ 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)); @@ -1195,12 +1231,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/2810516/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2810516/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/3361734 and its subdirectories -I: Current time: Fri Oct 25 11:58:00 -12 2024 -I: pbuilder-time-stamp: 1729900680 +I: removing directory /srv/workspace/pbuilder/2810516 and its subdirectories +I: Current time: Fri Nov 28 20:21:47 +14 2025 +I: pbuilder-time-stamp: 1764310907