Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tdom.spec'], chrootPath='/var/lib/mock/f43-build-59984012-6577906/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '62d7312207a843bd9472b8db93977f47', '-D', '/var/lib/mock/f43-build-59984012-6577906/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tdom.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 sh: line 1: tclsh: command not found sh: line 1: tclsh: command not found sh: line 1: tclsh: command not found sh: line 1: tclsh: command not found setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/tdom-0.8.2-38.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tdom.spec'], chrootPath='/var/lib/mock/f43-build-59984012-6577906/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a9bb68ceeb2e47e1ba333b4f3e8b3884', '-D', '/var/lib/mock/f43-build-59984012-6577906/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tdom.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.LmvY63 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7Ed1YB + umask 022 + cd /builddir/build/BUILD/tdom-0.8.2-build + cd /builddir/build/BUILD/tdom-0.8.2-build + rm -rf tDOM-0.8.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tDOM-0.8.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd tDOM-0.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tdom-0.8.2-noexpat.patch):' Patch #0 (tdom-0.8.2-noexpat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.in patching file Makefile.in Patch #1 (tdom-0.8.2-tcl8.6.patch): + echo 'Patch #1 (tdom-0.8.2-tcl8.6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file generic/dom.h patching file generic/tcldom.c Patch #2 (tdom-configure-c99.patch): + echo 'Patch #2 (tdom-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3Mqyrw + umask 022 + cd /builddir/build/BUILD/tdom-0.8.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tDOM-0.8.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure --- ./extensions/tnc/configure.backup 2007-08-11 23:10:31.000000000 +0000 +++ ./extensions/tnc/configure 2025-05-26 23:47:48.506544234 +0000 @@ -3708,7 +3708,7 @@ #if defined (__stub_sin) || defined (__stub___sin) choke me #else -char (*f) () = sin; +__attribute__ ((used)) char (*f) () = sin; #endif #ifdef __cplusplus } @@ -4101,7 +4101,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -4198,7 +4198,7 @@ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else -char (*f) () = setsockopt; +__attribute__ ((used)) char (*f) () = setsockopt; #endif #ifdef __cplusplus } @@ -4367,7 +4367,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -4464,7 +4464,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -9703,7 +9703,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/configure + /usr/bin/sed -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + /usr/bin/sed -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/configure + /usr/bin/sed -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-05-26 23:47:48.487544248 +0000 +++ ./configure 2025-05-26 23:47:48.624544146 +0000 @@ -3711,7 +3711,7 @@ #if defined (__stub_sin) || defined (__stub___sin) choke me #else -char (*f) () = sin; +__attribute__ ((used)) char (*f) () = sin; #endif #ifdef __cplusplus } @@ -4104,7 +4104,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -4201,7 +4201,7 @@ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else -char (*f) () = setsockopt; +__attribute__ ((used)) char (*f) () = setsockopt; #endif #ifdef __cplusplus } @@ -4370,7 +4370,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -4467,7 +4467,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -6175,7 +6175,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -9757,7 +9757,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-threads checking for correct TEA configuration... ok (TEA 3.6) checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for x86_64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for memmove... yes checking for bcopy... yes checking for AOLserver configuration... none found checking for Tcl public headers... /usr/include checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) configure: WARNING: --enable-threads requested, but building against a Tcl that is NOT thread-enabled. This is an OK configuration that will also run in a thread-enabled core. checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version... Linux-6.14.6-200.fc41.x86_64 checking for dlopen in -ldl... yes checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for tclsh... /usr/bin/tclsh9.0 checking whether to enable dtd support... yes checking whether to enable namespace support... yes checking whether to enable built-in unknown command... no checking whether to enable tDOMs block allocator... yes configure: creating ./config.status config.status: creating Makefile config.status: creating tdomConfig.sh + make -j48 gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/xmlsimple.c` -o xmlsimple.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/utf8conv.c` -o utf8conv.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/dom.c` -o dom.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domalloc.c` -o domalloc.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domhtml.c` -o domhtml.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domxpath.c` -o domxpath.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domxslt.c` -o domxslt.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domlock.c` -o domlock.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tcldom.c` -o tcldom.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/nodecmd.c` -o nodecmd.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tdominit.c` -o tdominit.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tclexpat.c` -o tclexpat.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tdomStubInit.c` -o tdomStubInit.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -I"/usr/include" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tdomStubLib.c` -o tdomStubLib.o ./generic/xmlsimple.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domalloc.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/utf8conv.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/dom.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domhtml.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/nodecmd.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domxpath.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domlock.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/tdominit.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/tdomStubInit.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/tdomStubLib.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/tcldom.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/tclexpat.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domxslt.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domalloc.c: In function ‘fillHashTable’: ./generic/domalloc.c:143:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 143 | i = ( (unsigned int)mem >> BLOCK_SIZE_BITS) & BIN_HASH_MASK; | ^ ./generic/domalloc.c: In function ‘domFree’: ./generic/domalloc.c:397:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 397 | i = ( (unsigned int)mem >> BLOCK_SIZE_BITS) & BIN_HASH_MASK; | ^ In file included from ./generic/nodecmd.c:41: ./generic/tcldom.h:72:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 72 | EXTERN int Tdom_Init _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/tcldom.h:73:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 73 | EXTERN int Tdom_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ In file included from ./generic/nodecmd.c:43: ./generic/nodecmd.h:37:44: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 37 | Tcl_Obj *CONST objv[], | ^~~~ ./generic/nodecmd.c:105:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 105 | static void * StackPush _ANSI_ARGS_((void *)); | ^~~~~~~~~~~ ./generic/nodecmd.c:106:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 106 | static void * StackPop _ANSI_ARGS_((void)); | ^~~~~~~~~~~ ./generic/nodecmd.c:107:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 107 | static void * StackTop _ANSI_ARGS_((void)); | ^~~~~~~~~~~ ./generic/nodecmd.c:108:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 108 | static int NodeObjCmd _ANSI_ARGS_((ClientData,Tcl_Interp*,int,Tcl_Obj *CONST o[])); | ^~~~~~~~~~~ ./generic/nodecmd.c:109:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | static void StackFinalize _ANSI_ARGS_((ClientData)); | ^~~~~~~~~~~ ./generic/nodecmd.c: In function ‘StackPush’: ./generic/nodecmd.c:119:1: warning: old-style function definition [-Wold-style-definition] 119 | StackPush (element) | ^~~~~~~~~ In file included from ./generic/dom.c:55: ./generic/tclexpat.h:152:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 152 | EXTERN int TclExpatObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tclexpat.h:155:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 155 | EXTERN int CheckExpatParserObj _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:157:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 157 | EXTERN int CHandlerSetInstall _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:160:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 160 | EXTERN int CHandlerSetRemove _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:163:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 163 | EXTERN CHandlerSet * CHandlerSetCreate _ANSI_ARGS_((char *name)); | ^~~~~~~~~~~ ./generic/tclexpat.h:164:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 164 | EXTERN CHandlerSet * CHandlerSetGet _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:167:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 167 | EXTERN void * CHandlerSetGetUserData _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:171:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 171 | EXTERN TclGenExpatInfo * GetExpatInfo _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ In file included from ./generic/tdom.h:135, from ./generic/tdominit.c:43: ./generic/tdomDecls.h:13:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 13 | EXTERN int TclExpatObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tdomDecls.h:17:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 17 | EXTERN int CheckExpatParserObj _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:20:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int CHandlerSetInstall _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:24:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 24 | EXTERN int CHandlerSetRemove _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:28:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN CHandlerSet * CHandlerSetCreate _ANSI_ARGS_((char * name)); | ^~~~~~~~~~~ ./generic/tdomDecls.h:30:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 30 | EXTERN CHandlerSet * CHandlerSetGet _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:34:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 34 | EXTERN void * CHandlerSetGetUserData _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:38:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN TclGenExpatInfo * GetExpatInfo _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:41:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 41 | EXTERN XML_Size XML_GetCurrentLineNumber _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:44:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 44 | EXTERN XML_Size XML_GetCurrentColumnNumber _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:47:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | EXTERN XML_Index XML_GetCurrentByteIndex _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:50:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 50 | EXTERN int XML_GetCurrentByteCount _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:53:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 53 | EXTERN enum XML_Status XML_SetBase _ANSI_ARGS_((XML_Parser parser, | ^~~~~~~~~~~ ./generic/tdomDecls.h:56:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 56 | EXTERN const XML_Char * XML_GetBase _ANSI_ARGS_((XML_Parser parser)); | ^~~~~~~~~~~ ./generic/tdomDecls.h:58:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 58 | EXTERN int XML_GetSpecifiedAttributeCount _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:61:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 61 | EXTERN int XML_GetIdAttributeIndex _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:64:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 64 | EXTERN domNode * tcldom_getNodeFromName _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:68:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 68 | EXTERN domDocument * tcldom_getDocumentFromName _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:76:27: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 76 | int (*tclExpatObjCmd) _ANSI_ARGS_((ClientData dummy, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 0 */ | ^~~~~~~~~~~ In file included from ./generic/tdominit.c:44: ./generic/tcldom.h:72:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 72 | EXTERN int Tdom_Init _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/tcldom.h:73:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 73 | EXTERN int Tdom_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/tdominit.c: In function ‘Tdom_Init’: ./generic/tdominit.c:65:1: warning: old-style function definition [-Wold-style-definition] 65 | Tdom_Init (interp) | ^~~~~~~~~ ./generic/tdominit.c: In function ‘Tdom_SafeInit’: ./generic/tdominit.c:105:1: warning: old-style function definition [-Wold-style-definition] 105 | Tdom_SafeInit (interp) | ^~~~~~~~~~~~~ In file included from ./generic/tdom.h:135, from ./generic/tdomStubInit.c:8: ./generic/tdomDecls.h:13:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 13 | EXTERN int TclExpatObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tdomDecls.h:17:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 17 | EXTERN int CheckExpatParserObj _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:20:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int CHandlerSetInstall _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:24:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 24 | EXTERN int CHandlerSetRemove _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:28:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN CHandlerSet * CHandlerSetCreate _ANSI_ARGS_((char * name)); | ^~~~~~~~~~~ ./generic/tdomDecls.h:30:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 30 | EXTERN CHandlerSet * CHandlerSetGet _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:34:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 34 | EXTERN void * CHandlerSetGetUserData _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:38:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN TclGenExpatInfo * GetExpatInfo _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:41:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 41 | EXTERN XML_Size XML_GetCurrentLineNumber _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:44:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 44 | EXTERN XML_Size XML_GetCurrentColumnNumber _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:47:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | EXTERN XML_Index XML_GetCurrentByteIndex _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:50:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 50 | EXTERN int XML_GetCurrentByteCount _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:53:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 53 | EXTERN enum XML_Status XML_SetBase _ANSI_ARGS_((XML_Parser parser, | ^~~~~~~~~~~ ./generic/tdomDecls.h:56:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 56 | EXTERN const XML_Char * XML_GetBase _ANSI_ARGS_((XML_Parser parser)); | ^~~~~~~~~~~ ./generic/tdomDecls.h:58:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 58 | EXTERN int XML_GetSpecifiedAttributeCount _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:61:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 61 | EXTERN int XML_GetIdAttributeIndex _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:64:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 64 | EXTERN domNode * tcldom_getNodeFromName _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:68:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 68 | EXTERN domDocument * tcldom_getDocumentFromName _ANSI_ARGS_(( | ^~~~~~~~~~~ In file included from ./generic/tdom.h:135, from ./generic/tdomStubLib.c:39: ./generic/tdomDecls.h:13:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 13 | EXTERN int TclExpatObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tdomDecls.h:76:27: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 76 | int (*tclExpatObjCmd) _ANSI_ARGS_((ClientData dummy, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 0 */ | ^~~~~~~~~~~ ./generic/tdomDecls.h:17:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 17 | EXTERN int CheckExpatParserObj _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:20:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 20 | EXTERN int CHandlerSetInstall _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:24:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 24 | EXTERN int CHandlerSetRemove _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:28:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN CHandlerSet * CHandlerSetCreate _ANSI_ARGS_((char * name)); | ^~~~~~~~~~~ ./generic/tdomDecls.h:30:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 30 | EXTERN CHandlerSet * CHandlerSetGet _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:34:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 34 | EXTERN void * CHandlerSetGetUserData _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:38:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 38 | EXTERN TclGenExpatInfo * GetExpatInfo _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/tdomDecls.h:41:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 41 | EXTERN XML_Size XML_GetCurrentLineNumber _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:44:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 44 | EXTERN XML_Size XML_GetCurrentColumnNumber _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:47:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 47 | EXTERN XML_Index XML_GetCurrentByteIndex _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:50:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 50 | EXTERN int XML_GetCurrentByteCount _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:53:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 53 | EXTERN enum XML_Status XML_SetBase _ANSI_ARGS_((XML_Parser parser, | ^~~~~~~~~~~ ./generic/tdomDecls.h:56:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 56 | EXTERN const XML_Char * XML_GetBase _ANSI_ARGS_((XML_Parser parser)); | ^~~~~~~~~~~ ./generic/tdomDecls.h:58:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 58 | EXTERN int XML_GetSpecifiedAttributeCount _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:61:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 61 | EXTERN int XML_GetIdAttributeIndex _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:64:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 64 | EXTERN domNode * tcldom_getNodeFromName _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:68:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 68 | EXTERN domDocument * tcldom_getDocumentFromName _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tdomDecls.h:76:27: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 76 | int (*tclExpatObjCmd) _ANSI_ARGS_((ClientData dummy, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 0 */ | ^~~~~~~~~~~ ./generic/tdomStubLib.c:56:6: error: expected ‘;’ before ‘char’ 56 | CONST char * | ^~~~~ | ; ./generic/tdomStubLib.c: In function ‘Tdom_InitStubs’: ./generic/nodecmd.c:145:37: error: ‘StackFinalize’ undeclared (first use in this function) 145 | Tcl_CreateThreadExitHandler(StackFinalize, tsdPtr->elementStack); | ^~~~~~~~~~~~~ ./generic/tdomStubLib.c:63:5: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 63 | CONST char *actualVersion; | ^~~~~ | CONST86 ./generic/tdomStubLib.c:63:5: note: each undeclared identifier is reported only once for each function it appears in ./generic/nodecmd.c:145:37: note: each undeclared identifier is reported only once for each function it appears in ./generic/tdomStubLib.c:63:10: error: expected ‘;’ before ‘char’ 63 | CONST char *actualVersion; | ^~~~~ | ; In file included from ./generic/tcldom.c:53: ./generic/nodecmd.h:37:44: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 37 | Tcl_Obj *CONST objv[], | ^~~~ ./generic/nodecmd.c: In function ‘StackFinalize’: ./generic/nodecmd.c:202:1: warning: old-style function definition [-Wold-style-definition] 202 | StackFinalize (clientData) | ^~~~~~~~~~~~~ ./generic/nodecmd.c: In function ‘namespaceTail’: ./generic/nodecmd.c:234:1: warning: old-style function definition [-Wold-style-definition] 234 | namespaceTail (nameObj) | ^~~~~~~~~~~~~ In file included from ./generic/tcldom.c:54: ./generic/tcldom.h:72:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 72 | EXTERN int Tdom_Init _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/tcldom.h:73:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 73 | EXTERN int Tdom_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/nodecmd.c:240:42: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 240 | name = Tcl_GetStringFromObj(nameObj, &len); | ^~~~ | | | int * ./generic/nodecmd.c:240:42: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/nodecmd.c: In function ‘NodeObjCmd’: ./generic/nodecmd.c:279:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 279 | Tcl_Obj *CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/nodecmd.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | NodeObjCmd (arg, interp, objc, objv) | ^~~~~~~~~~ make: *** [Makefile:302: tdominit.o] Error 1 make: *** Waiting for unfinished jobs.... ./generic/nodecmd.c:323:55: error: subscripted value is neither array nor pointer nor vector 323 | Tcl_GetStringFromObj (objv[1], &len))!=0) { | ^ ./generic/nodecmd.c:323:60: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 323 | Tcl_GetStringFromObj (objv[1], &len))!=0) { | ^~~~ | | | int * ./generic/nodecmd.c:323:60: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/nodecmd.c:324:49: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 324 | Tcl_WrongNumArgs(interp, 1, objv, | ^~~~ | | | int ./generic/nodecmd.c:324:49: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/nodecmd.c:332:45: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 332 | Tcl_WrongNumArgs(interp, 1, objv, "text"); | ^~~~ | | | int ./generic/nodecmd.c:332:45: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/nodecmd.c:336:41: error: subscripted value is neither array nor pointer nor vector 336 | tval = Tcl_GetStringFromObj(objv[index], &len); | ^ ./generic/nodecmd.c:336:50: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 336 | tval = Tcl_GetStringFromObj(objv[index], &len); | ^~~~ | | | int * ./generic/nodecmd.c:336:50: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/nodecmd.c:366:41: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 366 | Tcl_WrongNumArgs(interp, 1, objv, "target data"); | ^~~~ | | | int ./generic/nodecmd.c:366:41: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/nodecmd.c:369:41: error: subscripted value is neither array nor pointer nor vector 369 | tval = Tcl_GetStringFromObj(objv[1], &len); | ^ ./generic/nodecmd.c:369:46: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 369 | tval = Tcl_GetStringFromObj(objv[1], &len); | ^~~~ | | | int * ./generic/nodecmd.c:369:46: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/nodecmd.c:374:41: error: subscripted value is neither array nor pointer nor vector 374 | aval = Tcl_GetStringFromObj(objv[2], &dlen); | ^ ./generic/nodecmd.c:374:46: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 374 | aval = Tcl_GetStringFromObj(objv[2], &dlen); | ^~~~~ | | | int * ./generic/nodecmd.c:374:46: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/nodecmd.c:386:41: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 386 | Tcl_WrongNumArgs(interp, 1, objv, "markup"); | ^~~~ | | | int ./generic/nodecmd.c:386:41: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/nodecmd.c:389:52: error: subscripted value is neither array nor pointer nor vector 389 | ret = tcldom_appendXML(interp, parent, objv[1]); | ^ ./generic/nodecmd.c:396:40: error: subscripted value is neither array nor pointer nor vector 396 | tag = Tcl_GetStringFromObj(objv[0], &len); | ^ ./generic/nodecmd.c:396:45: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 396 | tag = Tcl_GetStringFromObj(objv[0], &len); | ^~~~ | | | int * ./generic/nodecmd.c:396:45: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/nodecmd.c:418:26: error: subscripted value is neither array nor pointer nor vector 418 | cmdObj = objv[objc-1]; | ^ ./generic/nodecmd.c:420:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 420 | opts = (Tcl_Obj**)objv + 1; | ^ ./generic/nodecmd.c:422:56: error: subscripted value is neither array nor pointer nor vector 422 | && Tcl_ListObjGetElements(interp,objv[1],&len,&opts)==TCL_OK | ^ ./generic/nodecmd.c:422:60: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjGetElements’ from incompatible pointer type [-Wincompatible-pointer-types] 422 | && Tcl_ListObjGetElements(interp,objv[1],&len,&opts)==TCL_OK | ^~~~ | | | int * ./generic/nodecmd.c:422:60: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/nodecmd.c:429:26: error: subscripted value is neither array nor pointer nor vector 429 | cmdObj = objv[2]; | ^ ./generic/nodecmd.c:433:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 433 | opts = (Tcl_Obj**)objv + 1; | ^ ./generic/dom.c: In function ‘domPrecedes’: ./generic/nodecmd.c:282:9: warning: variable ‘index’ set but not used [-Wunused-but-set-variable] 282 | index = 1; | ^~~~~ ./generic/dom.c:489:45: warning: variable ‘otherToplevel’ set but not used [-Wunused-but-set-variable] 489 | domNode *nodeAncestor, *otherAncestor, *otherToplevel; | ^~~~~~~~~~~~~ ./generic/tcldom.c:525:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 525 | CONST84 char *name1, | ^~~~~~~ | CONST86 ./generic/nodecmd.c: In function ‘nodecmd_createNodeCmd’: ./generic/nodecmd.c:510:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 510 | Tcl_Obj *CONST objv[]; /* Argument objects. */ | ^~~~ ./generic/nodecmd.c:507:1: warning: old-style function definition [-Wold-style-definition] 507 | nodecmd_createNodeCmd (interp, objc, objv, checkName, checkCharData) | ^~~~~~~~~~~~~~~~~~~~~ ./generic/nodecmd.c:529:19: error: expected ‘;’ before ‘char’ 529 | static CONST84 char *subcmds[] = { | ^~~~~ | ; In file included from /usr/include/tcl.h:2439, from ./generic/dom.h:39, from ./generic/nodecmd.c:40: ./generic/nodecmd.c:538:38: error: subscripted value is neither array nor pointer nor vector 538 | if (strcmp(Tcl_GetString(objv[1]), "-returnNodeCmd")) { | ^ ./generic/tdomStubInit.c:15:5: error: ‘TclExpatObjCmd’ undeclared here (not in a function) 15 | TclExpatObjCmd, /* 0 */ | ^~~~~~~~~~~~~~ ./generic/tdomStubInit.c:15:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:15:5: note: (near initialization for ‘tdomStubs’) ./generic/nodecmd.c:547:43: error: subscripted value is neither array nor pointer nor vector 547 | ret = Tcl_GetIndexFromObj(interp, objv[ix], subcmds, "option", 0, &index); | ^ ./generic/nodecmd.c:567:51: error: subscripted value is neither array nor pointer nor vector 567 | Tcl_DStringAppend(&cmdName, Tcl_GetString(objv[ix+1]), -1); | ^ ./generic/nodecmd.c:574:57: error: subscripted value is neither array nor pointer nor vector 574 | if (!tcldom_nameCheck(interp, namespaceTail(objv[ix+1]), "tag", 0)) { | ^ ./generic/tcldom.c:526:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 526 | CONST84 char *name2, | ^~~~~~~ | CONST86 ./generic/tdomStubLib.c:72:5: error: ‘actualVersion’ undeclared (first use in this function) 72 | actualVersion = Tcl_PkgRequireEx(interp, "tdom", version, exact, | ^~~~~~~~~~~~~ ./generic/nodecmd.c: In function ‘nodecmd_appendFromScript’: ./generic/nodecmd.c:661:1: warning: old-style function definition [-Wold-style-definition] 661 | nodecmd_appendFromScript (interp, node, cmdObj) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./generic/tclexpat.c:40: ./generic/tclexpat.h:152:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 152 | EXTERN int TclExpatObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tclexpat.h:155:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 155 | EXTERN int CheckExpatParserObj _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:157:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 157 | EXTERN int CHandlerSetInstall _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:160:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 160 | EXTERN int CHandlerSetRemove _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:163:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 163 | EXTERN CHandlerSet * CHandlerSetCreate _ANSI_ARGS_((char *name)); | ^~~~~~~~~~~ ./generic/tclexpat.h:164:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 164 | EXTERN CHandlerSet * CHandlerSetGet _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:167:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 167 | EXTERN void * CHandlerSetGetUserData _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:171:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 171 | EXTERN TclGenExpatInfo * GetExpatInfo _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/nodecmd.c: In function ‘nodecmd_insertBeforeFromScript’: ./generic/nodecmd.c:730:1: warning: old-style function definition [-Wold-style-definition] 730 | nodecmd_insertBeforeFromScript (interp, node, cmdObj, refChild) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:560:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 560 | CONST84 char *name1, | ^~~~~~~ | CONST86 ./generic/tcldom.c:561:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 561 | CONST84 char *name2, | ^~~~~~~ | CONST86 make: *** [Makefile:302: tdomStubLib.o] Error 1 ./generic/tcldom.c:898:25: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 898 | Tcl_Obj * CONST objv[] | ^~~~ ./generic/nodecmd.c: At top level: ./generic/nodecmd.c:202:1: warning: ‘StackFinalize’ defined but not used [-Wunused-function] 202 | StackFinalize (clientData) | ^~~~~~~~~~~~~ ./generic/tcldom.c: In function ‘tcldom_appendXML’: ./generic/tcldom.c:1086:44: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1086 | xml_string = Tcl_GetStringFromObj(obj, &xml_string_len); | ^~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1086:44: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/domhtml.c: In function ‘HTML_SimpleParse’: ./generic/domhtml.c:882:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 882 | case 'd': if (!strcmp(pn,"dd") || | ^~ ./generic/domhtml.c:885:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 885 | ) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:886:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 886 | case 'h': if (!strcmp(pn,"head") || | ^~ ./generic/domhtml.c:887:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 887 | !strcmp(pn,"html")) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:888:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 888 | case 'f': if (!strcmp(pn,"font")|| | ^~ ./generic/domhtml.c:889:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 889 | !strcmp(pn,"form")) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:896:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 896 | case 't': if (!strcmp(pn,"tbody") || | ^~ ./generic/domhtml.c:902:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 902 | !strcmp(pn,"tt")) autoclose = 1; break; | ^~~~~ ./generic/tdomStubInit.c:16:5: error: ‘CheckExpatParserObj’ undeclared here (not in a function) 16 | CheckExpatParserObj, /* 1 */ | ^~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:16:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:16:5: note: (near initialization for ‘tdomStubs’) make: *** [Makefile:302: nodecmd.o] Error 1 ./generic/dom.c: At top level: ./generic/tcldom.c: In function ‘tcldom_xpathFuncCallBack’: ./generic/dom.c:1735:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1735 | CONST char *openEntityNames, | ^~~~~ | CONST86 ./generic/tcldom.c:1335:51: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1335 | rc = Tcl_ListObjLength(interp, resultPtr, &listLen); | ^~~~~~~~ | | | int * ./generic/tcldom.c:1335:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:1736:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1736 | CONST char *base, | ^~~~~ | CONST86 ./generic/tcldom.c:1368:55: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1368 | rc = Tcl_ListObjLength(interp, value, &listLen); | ^~~~~~~~ | | | int * ./generic/tcldom.c:1368:55: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:1737:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1737 | CONST char *systemId, | ^~~~~ | CONST86 ./generic/tcldom.c:1414:66: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1414 | errStr = Tcl_GetStringFromObj( Tcl_GetObjResult(interp), &errStrLen); | ^~~~~~~~~~ | | | int * ./generic/tcldom.c:1414:66: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:1738:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1738 | CONST char *publicId | ^~~~~ | CONST86 ./generic/tcldom.c: In function ‘tcldom_xpathResolveVar’: ./generic/tcldom.c:1481:5: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 1481 | CONST char *varValue; | ^~~~~ | CONST86 ./generic/tcldom.c:1481:5: note: each undeclared identifier is reported only once for each function it appears in ./generic/tcldom.c:1481:10: error: expected ‘;’ before ‘char’ 1481 | CONST char *varValue; | ^~~~~ | ; ./generic/tcldom.c:1482:10: error: expected ‘;’ before ‘char’ 1482 | CONST char *termPtr; | ^~~~~ | ; ./generic/domhtml.c:1340:28: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1340 | case 'b': if (!strcmp(node->nodeName,"br") || | ^~ ./generic/domhtml.c:1342:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1342 | !strcmp(node->nodeName,"basefont")) hasContent = 0; break; | ^~~~~ ./generic/domhtml.c:1347:28: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1347 | case 'i': if (!strcmp(node->nodeName,"img") || | ^~ ./generic/domhtml.c:1349:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1349 | !strcmp(node->nodeName,"isindex")) hasContent = 0; break; | ^~~~~ ./generic/tcldom.c:1486:5: error: ‘varValue’ undeclared (first use in this function) 1486 | varValue = Tcl_ParseVar(interp, strToParse, &termPtr); | ^~~~~~~~ ./generic/tdomStubInit.c:17:5: error: ‘CHandlerSetInstall’ undeclared here (not in a function); did you mean ‘CHandlerSet_initParse’? 17 | CHandlerSetInstall, /* 2 */ | ^~~~~~~~~~~~~~~~~~ | CHandlerSet_initParse ./generic/tdomStubInit.c:17:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:17:5: note: (near initialization for ‘tdomStubs’) ./generic/tclexpat.c:116:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 116 | int TclExpatObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tcldom.c:1486:50: error: ‘termPtr’ undeclared (first use in this function) 1486 | varValue = Tcl_ParseVar(interp, strToParse, &termPtr); | ^~~~~~~ ./generic/tclexpat.c:118:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 118 | static int TclExpatInstanceCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tclexpat.c:120:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 120 | static void TclExpatDeleteCmd _ANSI_ARGS_((ClientData clientData)); | ^~~~~~~~~~~ ./generic/tclexpat.c:122:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 122 | static Tcl_Obj* FindUniqueCmdName _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/tclexpat.c:123:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 123 | static int TclExpatCheckWhiteData _ANSI_ARGS_((char *pc, int len)); | ^~~~~~~~~~~ ./generic/tclexpat.c:125:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 125 | static int TclExpatInitializeParser _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.c:127:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 127 | static void TclExpatFreeParser _ANSI_ARGS_((TclGenExpatInfo *expat)); | ^~~~~~~~~~~ ./generic/tclexpat.c:128:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 128 | static int TclExpatParse _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.c:131:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 131 | static int TclExpatConfigure _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.c:133:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 133 | static int TclExpatCget _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tcldom.c: At top level: ./generic/tclexpat.c:136:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 136 | static int TclExpatGet _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tcldom.c:1513:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 1513 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tclexpat.c:138:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 138 | static void TclExpatDispatchPCDATA _ANSI_ARGS_((TclGenExpatInfo *expat)); | ^~~~~~~~~~~ ./generic/tclexpat.c:139:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 139 | static void TclGenExpatElementStartHandler _ANSI_ARGS_((void *userdata, | ^~~~~~~~~~~ ./generic/tclexpat.c:142:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 142 | static void TclGenExpatElementEndHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:144:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 144 | static void TclGenExpatCharacterDataHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:148:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 148 | static void TclGenExpatProcessingInstructionHandler _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tclexpat.c:151:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 151 | static int TclGenExpatExternalEntityRefHandler _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/tclexpat.c:155:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 155 | static void TclGenExpatDefaultHandler _ANSI_ARGS_ ((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:157:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 157 | static void TclGenExpatNotationDeclHandler _ANSI_ARGS_ ((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:160:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 160 | static int TclGenExpatUnknownEncodingHandler _ANSI_ARGS_ (( | ^~~~~~~~~~~ ./generic/tclexpat.c:164:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 164 | static void TclGenExpatStartNamespaceDeclHandler _ANSI_ARGS_((void *userdata, | ^~~~~~~~~~~ ./generic/tclexpat.c:167:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 167 | static void TclGenExpatEndNamespaceDeclHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:173:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 173 | static void TclGenExpatCommentHandler _ANSI_ARGS_ ((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:176:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 176 | static int TclGenExpatNotStandaloneHandler _ANSI_ARGS_ ((void *userData)); | ^~~~~~~~~~~ ./generic/tclexpat.c:179:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 179 | static void TclGenExpatStartCdataSectionHandler _ANSI_ARGS_((void *userData)); | ^~~~~~~~~~~ ./generic/tclexpat.c:180:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 180 | static void TclGenExpatEndCdataSectionHandler _ANSI_ARGS_((void *userData)); | ^~~~~~~~~~~ ./generic/tclexpat.c:184:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 184 | static void TclGenExpatElementDeclHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:186:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 186 | static void TclGenExpatAttlistDeclHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:191:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 191 | static void TclGenExpatStartDoctypeDeclHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:194:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 194 | static void TclGenExpatEndDoctypeDeclHandler _ANSI_ARGS_((void *userData)); | ^~~~~~~~~~~ ./generic/tclexpat.c:195:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 195 | static void TclGenExpatXmlDeclHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c:199:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 199 | static void TclGenExpatEntityDeclHandler _ANSI_ARGS_((void *userData, | ^~~~~~~~~~~ ./generic/tclexpat.c: In function ‘CreateTclHandlerSet’: ./generic/tclexpat.c:228:1: warning: old-style function definition [-Wold-style-definition] 228 | CreateTclHandlerSet (name) | ^~~~~~~~~~~~~~~~~~~ ./generic/domhtml.c:1442:23: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1442 | case 'd': if (!strcmp(pn,"dd") || | ^~ ./generic/domhtml.c:1443:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1443 | !strcmp(pn,"dt")) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:1444:23: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1444 | case 'h': if (!strcmp(pn,"head") || | ^~ ./generic/domhtml.c:1445:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1445 | !strcmp(pn,"html")) autoclose = 1; break; | ^~~~~ ./generic/tclexpat.c: In function ‘CHandlerSetCreate’: ./generic/tclexpat.c:281:1: warning: old-style function definition [-Wold-style-definition] 281 | CHandlerSetCreate (name) | ^~~~~~~~~~~~~~~~~ ./generic/domhtml.c:1449:23: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1449 | case 't': if (!strcmp(pn,"tbody") || | ^~ ./generic/domhtml.c:1454:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1454 | !strcmp(pn,"tr")) autoclose = 1; break; | ^~~~~ ./generic/tcldom.c: In function ‘tcldom_appendFromTclList’: ./generic/tcldom.c:1806:48: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1806 | if ((rc = Tcl_ListObjLength(interp, lnode, &length)) != TCL_OK) { | ^~~~~~~ | | | int * ./generic/tcldom.c:1806:48: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tclexpat.c: In function ‘TclExpatObjCmd’: ./generic/tclexpat.c:342:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 342 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/tclexpat.c:338:1: warning: old-style function definition [-Wold-style-definition] 338 | TclExpatObjCmd(dummy, interp, objc, objv) | ^~~~~~~~~~~~~~ ./generic/tcldom.c:1835:48: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1835 | value = Tcl_GetStringFromObj(valueObj, &valueLength); | ^~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1835:48: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1867:51: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1867 | pi_name = Tcl_GetStringFromObj(piNameObj, &length); | ^~~~~~~ | | | int * ./generic/tcldom.c:1867:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1869:50: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1869 | value = Tcl_GetStringFromObj(valueObj, &valueLength); | ^~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1869:50: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1895:54: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1895 | if ((rc = Tcl_ListObjLength(interp, attrListObj, &attrLength)) | ^~~~~~~~~~~ | | | int * ./generic/tcldom.c:1895:54: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1917:51: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1917 | attrValue = Tcl_GetStringFromObj(attrObj, &attrValueLength); | ^~~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1917:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1929:55: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1929 | if ((rc = Tcl_ListObjLength(interp, childListObj, &childListLength)) | ^~~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1929:55: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c: In function ‘domReadDocument’: ./generic/dom.c:2063:50: error: ‘externalEntityRefHandler’ undeclared (first use in this function); did you mean ‘XML_ExternalEntityRefHandler’? 2063 | XML_SetExternalEntityRefHandler (parser, externalEntityRefHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~ | XML_ExternalEntityRefHandler ./generic/dom.c:2063:50: note: each undeclared identifier is reported only once for each function it appears in ./generic/dom.c:2112:52: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 2112 | str = Tcl_GetStringFromObj(bufObj, &tclLen); | ^~~~~~~ | | | int * ./generic/dom.c:2112:52: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tdomStubInit.c:18:5: error: ‘CHandlerSetRemove’ undeclared here (not in a function); did you mean ‘CHandlerSet’? 18 | CHandlerSetRemove, /* 3 */ | ^~~~~~~~~~~~~~~~~ | CHandlerSet ./generic/tdomStubInit.c:18:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:18:5: note: (near initialization for ‘tdomStubs’) ./generic/tclexpat.c:366:22: error: implicit declaration of function ‘FindUniqueCmdName’ [-Wimplicit-function-declaration] 366 | genexpat->name = FindUniqueCmdName(interp); | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:366:20: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 366 | genexpat->name = FindUniqueCmdName(interp); | ^ ./generic/tclexpat.c:368:26: error: subscripted value is neither array nor pointer nor vector 368 | genexpat->name = objv[1]; | ^ ./generic/tclexpat.c:374:22: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 374 | genexpat->name = FindUniqueCmdName(interp); | ^ In file included from /usr/include/tcl.h:2439, from ./generic/tclexpat.c:37: ./generic/tclexpat.c:381:36: error: subscripted value is neither array nor pointer nor vector 381 | nsoption = Tcl_GetString(objv[1]); | ^ ./generic/tdomStubInit.c:19:5: error: ‘CHandlerSetCreate’ undeclared here (not in a function); did you mean ‘CHandlerSet’? 19 | CHandlerSetCreate, /* 4 */ | ^~~~~~~~~~~~~~~~~ | CHandlerSet ./generic/tdomStubInit.c:19:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:19:5: note: (near initialization for ‘tdomStubs’) ./generic/tcldom.c: In function ‘tcldom_treeAsHTML’: ./generic/tdomStubInit.c:20:5: error: ‘CHandlerSetGet’ undeclared here (not in a function); did you mean ‘CHandlerSet’? 20 | CHandlerSetGet, /* 5 */ | ^~~~~~~~~~~~~~ | CHandlerSet ./generic/tdomStubInit.c:20:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:20:5: note: (near initialization for ‘tdomStubs’) ./generic/tcldom.c:2548:20: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2548 | case 'i': if (!strcmp(tag,"img") || | ^~ ./generic/tcldom.c:2550:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2550 | !strcmp(tag,"isindex")) empty = 1; break; | ^~~~~ ./generic/tcldom.c:2554:20: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2554 | case 's': if (!strcmp(tag,"script") || | ^~ ./generic/tcldom.c:2555:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2555 | !strcmp(tag,"style")) scriptTag = 1; break; | ^~~~~ ./generic/tclexpat.c:391:7: error: implicit declaration of function ‘TclExpatInitializeParser’ [-Wimplicit-function-declaration] 391 | if (TclExpatInitializeParser(interp, genexpat, 0) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c: At top level: ./generic/tcldom.c:2881:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 2881 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3030:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3030 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3128:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3128 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/dom.c: In function ‘domXPointerAncestor’: ./generic/dom.c:4960:18: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 4960 | int found=0, result; | ^~~~~ ./generic/tcldom.c:3218:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3218 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3272:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3272 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3311:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3311 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3353:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3353 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3505:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3505 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/dom.c: In function ‘TclTdomObjCmd’: ./generic/dom.c:5155:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 5155 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/dom.c:5151:1: warning: old-style function definition [-Wold-style-definition] 5151 | TclTdomObjCmd (dummy, interp, objc, objv) | ^~~~~~~~~~~~~ ./generic/dom.c:5159:43: error: expected identifier or ‘(’ before ‘bool’ 5159 | int methodIndex, result, bool; | ^~~~ ./generic/dom.c:5165:19: error: expected ‘;’ before ‘char’ 5165 | static CONST84 char *tdomMethods[] = { | ^~~~~ | ; ./generic/dom.c:5180:38: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 5180 | Tcl_WrongNumArgs (interp, 1, objv, tdom_usage); | ^~~~ | | | int ./generic/dom.c:5180:38: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/tdomStubInit.c:21:5: error: ‘CHandlerSetGetUserData’ undeclared here (not in a function); did you mean ‘CHandlerSet_userDataFree’? 21 | CHandlerSetGetUserData, /* 6 */ | ^~~~~~~~~~~~~~~~~~~~~~ | CHandlerSet_userDataFree ./generic/tdomStubInit.c:21:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:21:5: note: (near initialization for ‘tdomStubs’) ./generic/tclexpat.c:401:32: error: ‘TclExpatInstanceCmd’ undeclared (first use in this function) 401 | TclExpatInstanceCmd, (ClientData) genexpat, | ^~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:401:32: note: each undeclared identifier is reported only once for each function it appears in ./generic/tdomStubInit.c:22:5: error: ‘GetExpatInfo’ undeclared here (not in a function); did you mean ‘TclGenExpatInfo’? 22 | GetExpatInfo, /* 7 */ | ^~~~~~~~~~~~ | TclGenExpatInfo ./generic/tdomStubInit.c:22:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:22:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:23:5: warning: excess elements in struct initializer 23 | XML_GetCurrentLineNumber, /* 8 */ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:23:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:24:5: warning: excess elements in struct initializer 24 | XML_GetCurrentColumnNumber, /* 9 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:24:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:25:5: warning: excess elements in struct initializer 25 | XML_GetCurrentByteIndex, /* 10 */ | ^~~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:25:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:26:5: warning: excess elements in struct initializer 26 | XML_GetCurrentByteCount, /* 11 */ | ^~~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:26:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:27:5: warning: excess elements in struct initializer 27 | XML_SetBase, /* 12 */ | ^~~~~~~~~~~ ./generic/tdomStubInit.c:27:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:28:5: warning: excess elements in struct initializer 28 | XML_GetBase, /* 13 */ | ^~~~~~~~~~~ ./generic/tdomStubInit.c:28:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:29:5: warning: excess elements in struct initializer 29 | XML_GetSpecifiedAttributeCount, /* 14 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:29:5: note: (near initialization for ‘tdomStubs’) ./generic/tdomStubInit.c:30:5: warning: excess elements in struct initializer 30 | XML_GetIdAttributeIndex, /* 15 */ | ^~~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:30:5: note: (near initialization for ‘tdomStubs’) ./generic/tcldom.c: In function ‘convertToXSLTCmd’: ./generic/tcldom.c:3588:46: error: ‘tcldom_XSLTObjCmd’ undeclared (first use in this function); did you mean ‘tcldom_NodeObjCmd’? 3588 | Tcl_CreateObjCommand(interp, objCmdName, tcldom_XSLTObjCmd, clientData, | ^~~~~~~~~~~~~~~~~ | tcldom_NodeObjCmd ./generic/tcldom.c: At top level: ./generic/tcldom.c:3607:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3607 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/dom.c:5184:10: error: implicit declaration of function ‘CheckExpatParserObj’ [-Wimplicit-function-declaration] 5184 | if (!CheckExpatParserObj (interp, objv[1])) { | ^~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5184:43: error: subscripted value is neither array nor pointer nor vector 5184 | if (!CheckExpatParserObj (interp, objv[1])) { | ^ In file included from /usr/include/tcl.h:2439, from ./generic/dom.c:49: ./generic/dom.c:5189:32: error: subscripted value is neither array nor pointer nor vector 5189 | method = Tcl_GetString(objv[2]); | ^ ./generic/dom.c:5190:42: error: subscripted value is neither array nor pointer nor vector 5190 | if (Tcl_GetIndexFromObj (interp, objv[2], tdomMethods, "method", 0, | ^ ./generic/tclexpat.c:402:32: error: ‘TclExpatDeleteCmd’ undeclared (first use in this function); did you mean ‘TclExpatObjCmd’? 402 | TclExpatDeleteCmd); | ^~~~~~~~~~~~~~~~~ | TclExpatObjCmd ./generic/tcldom.c:4632:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 4632 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/dom.c:5204:22: error: implicit declaration of function ‘CHandlerSetCreate’ [-Wimplicit-function-declaration] 5204 | handlerSet = CHandlerSetCreate ("tdom"); | ^~~~~~~~~~~~~~~~~ ./generic/dom.c:5204:20: error: assignment to ‘CHandlerSet *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 5204 | handlerSet = CHandlerSetCreate ("tdom"); | ^ ./generic/tdomStubInit.c:31:5: error: ‘tcldom_getNodeFromName’ undeclared here (not in a function) 31 | tcldom_getNodeFromName, /* 16 */ | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:31:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:31:5: note: (near initialization for ‘tdomStubs’) ./generic/tcldom.c: In function ‘tcldom_parse’: ./generic/tcldom.c:5326:5: error: ‘CONST84’ undeclared (first use in this function); did you mean ‘CONST86’? 5326 | CONST84 char *interpResult; | ^~~~~~~ | CONST86 ./generic/tcldom.c:5326:12: error: expected ‘;’ before ‘char’ 5326 | CONST84 char *interpResult; | ^~~~~ | ; ./generic/tcldom.c:5340:19: error: expected ‘;’ before ‘char’ 5340 | static CONST84 char *parseOptions[] = { | ^~~~~ | ; ./generic/tcldom.c:5352:19: error: expected ‘;’ before ‘char’ 5352 | static CONST84 char *paramEntityParsingValues[] = { | ^~~~~ | ; ./generic/tclexpat.c:408:11: error: implicit declaration of function ‘TclExpatConfigure’ [-Wimplicit-function-declaration] 408 | if (TclExpatConfigure(interp, genexpat, objc - 1, objv + 1) != TCL_OK) { | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:436:1: error: conflicting types for ‘FindUniqueCmdName’; have ‘Tcl_Obj *()’ 436 | FindUniqueCmdName(interp) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:366:22: note: previous implicit declaration of ‘FindUniqueCmdName’ with type ‘int()’ 366 | genexpat->name = FindUniqueCmdName(interp); | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘FindUniqueCmdName’: ./generic/tclexpat.c:436:1: warning: old-style function definition [-Wold-style-definition] 436 | FindUniqueCmdName(interp) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:479:1: error: static declaration of ‘TclExpatInitializeParser’ follows non-static declaration 479 | TclExpatInitializeParser(interp, expat, resetOptions) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:391:7: note: previous implicit declaration of ‘TclExpatInitializeParser’ with type ‘int()’ 391 | if (TclExpatInitializeParser(interp, genexpat, 0) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatInitializeParser’: ./generic/tclexpat.c:479:1: warning: old-style function definition [-Wold-style-definition] 479 | TclExpatInitializeParser(interp, expat, resetOptions) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5500:53: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 5500 | xml_string = Tcl_GetStringFromObj( objv[1], &xml_string_len); | ^~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:5500:53: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:5220:17: error: implicit declaration of function ‘GetExpatInfo’ [-Wimplicit-function-declaration] 5220 | expat = GetExpatInfo (interp, objv[1]); | ^~~~~~~~~~~~ ./generic/dom.c:5220:43: error: subscripted value is neither array nor pointer nor vector 5220 | expat = GetExpatInfo (interp, objv[1]); | ^ ./generic/tcldom.c:5593:9: error: ‘interpResult’ undeclared (first use in this function); did you mean ‘IntResult’? 5593 | interpResult = Tcl_GetStringResult(interp); | ^~~~~~~~~~~~ | IntResult ./generic/tcldom.c: At top level: ./generic/tcldom.c:5645:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 5645 | Tcl_Obj * CONST objv[] | ^~~~ ./generic/tcldom.c: In function ‘tcldom_RegisterDocShared’: ./generic/tcldom.c:5947:9: warning: variable ‘refCount’ set but not used [-Wunused-but-set-variable] 5947 | int refCount, newEntry; | ^~~~~~~~ ./generic/tcldom.c: At top level: ./generic/tcldom.c:366:26: warning: ‘tcldom_docTrace’ used but never defined 366 | static Tcl_VarTraceProc tcldom_docTrace; | ^~~~~~~~~~~~~~~ ./generic/tcldom.c:367:26: warning: ‘tcldom_nodeTrace’ used but never defined 367 | static Tcl_VarTraceProc tcldom_nodeTrace; | ^~~~~~~~~~~~~~~~ ./generic/domxslt.c: In function ‘doSortActions’: ./generic/domxslt.c:3467:43: warning: variable ‘lang’ set but not used [-Wunused-but-set-variable] 3467 | char *str, *evStr, *select, *lang; | ^~~~ ./generic/dom.c:5249:9: error: implicit declaration of function ‘CHandlerSetInstall’ [-Wimplicit-function-declaration] 5249 | CHandlerSetInstall (interp, objv[1], handlerSet); | ^~~~~~~~~~~~~~~~~~ ./generic/dom.c:5249:41: error: subscripted value is neither array nor pointer nor vector 5249 | CHandlerSetInstall (interp, objv[1], handlerSet); | ^ ./generic/tdomStubInit.c:32:5: error: ‘tcldom_getDocumentFromName’ undeclared here (not in a function) 32 | tcldom_getDocumentFromName, /* 17 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tdomStubInit.c:32:5: warning: excess elements in struct initializer ./generic/tdomStubInit.c:32:5: note: (near initialization for ‘tdomStubs’) ./generic/domxpath.c: In function ‘xpathEvalFunction’: ./generic/domxpath.c:2829:32: warning: variable ‘useFastAdd’ set but not used [-Wunused-but-set-variable] 2829 | int left = 0, useFastAdd; | ^~~~~~~~~~ make: *** [Makefile:302: tdomStubInit.o] Error 1 ./generic/tclexpat.c:556:53: error: ‘TclGenExpatElementStartHandler’ undeclared (first use in this function) 556 | (XML_StartElementHandler) TclGenExpatElementStartHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5910:5: warning: ‘tcldom_EvalLocked’ defined but not used [-Wunused-function] 5910 | int tcldom_EvalLocked ( | ^~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5315:5: warning: ‘tcldom_parse’ defined but not used [-Wunused-function] 5315 | int tcldom_parse ( | ^~~~~~~~~~~~ ./generic/tcldom.c:5270:5: warning: ‘tcldom_setResultEncoding’ defined but not used [-Wunused-function] 5270 | int tcldom_setResultEncoding ( | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5236:5: warning: ‘tcldom_createDocumentNS’ defined but not used [-Wunused-function] 5236 | int tcldom_createDocumentNS ( | ^~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5207:5: warning: ‘tcldom_createDocumentNode’ defined but not used [-Wunused-function] 5207 | int tcldom_createDocumentNode ( | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5175:5: warning: ‘tcldom_createDocument’ defined but not used [-Wunused-function] 5175 | int tcldom_createDocument ( | ^~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:3561:12: warning: ‘convertToXSLTCmd’ defined but not used [-Wunused-function] 3561 | static int convertToXSLTCmd ( | ^~~~~~~~~~~~~~~~ ./generic/tcldom.c:2611:6: warning: ‘tcldom_treeAsXML’ defined but not used [-Wunused-function] 2611 | void tcldom_treeAsXML ( | ^~~~~~~~~~~~~~~~ ./generic/tcldom.c:2428:6: warning: ‘tcldom_treeAsHTML’ defined but not used [-Wunused-function] 2428 | void tcldom_treeAsHTML ( | ^~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1952:11: warning: ‘tcldom_treeAsTclList’ defined but not used [-Wunused-function] 1952 | Tcl_Obj * tcldom_treeAsTclList ( | ^~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1787:5: warning: ‘tcldom_appendFromTclList’ defined but not used [-Wunused-function] 1787 | int tcldom_appendFromTclList ( | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1474:8: warning: ‘tcldom_xpathResolveVar’ defined but not used [-Wunused-function] 1474 | char * tcldom_xpathResolveVar ( | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1436:6: warning: ‘tcldom_xsltMsgCB’ defined but not used [-Wunused-function] 1436 | void tcldom_xsltMsgCB ( | ^~~~~~~~~~~~~~~~ ./generic/tcldom.c:866:5: warning: ‘tcldom_xpointerAddCallback’ defined but not used [-Wunused-function] 866 | int tcldom_xpointerAddCallback ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:826:11: warning: ‘tcldom_find’ defined but not used [-Wunused-function] 826 | domNode * tcldom_find ( | ^~~~~~~~~~~ ./generic/tcldom.c:751:1: warning: ‘tcldom_getElementsByTagName’ defined but not used [-Wunused-function] 751 | tcldom_getElementsByTagName ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:281:13: warning: ‘node_usage’ defined but not used [-Wunused-variable] 281 | static char node_usage[] = | ^~~~~~~~~~ ./generic/tcldom.c:226:13: warning: ‘doc_usage’ defined but not used [-Wunused-variable] 226 | static char doc_usage[] = | ^~~~~~~~~ ./generic/dom.c:5253:16: error: implicit declaration of function ‘CHandlerSetGetUserData’ [-Wimplicit-function-declaration] 5253 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5253:52: error: subscripted value is neither array nor pointer nor vector 5253 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/dom.c:5258:43: error: subscripted value is neither array nor pointer nor vector 5258 | expat = GetExpatInfo (interp, objv[1]); | ^ ./generic/dom.c:5270:52: error: subscripted value is neither array nor pointer nor vector 5270 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/dom.c:5284:46: error: subscripted value is neither array nor pointer nor vector 5284 | encodingName = Tcl_GetString(objv[3]); | ^ ./generic/dom.c:5305:52: error: subscripted value is neither array nor pointer nor vector 5305 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ make: *** [Makefile:302: tcldom.o] Error 1 ./generic/dom.c:5312:48: error: subscripted value is neither array nor pointer nor vector 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:48: error: subscripted value is neither array nor pointer nor vector 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:13: error: expression in static assertion is not an integer 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5313:37: error: expected expression before ‘bool’ 5313 | info->storeLineColumn = bool; | ^~~~ ./generic/dom.c:5319:18: error: implicit declaration of function ‘CHandlerSetRemove’ [-Wimplicit-function-declaration] 5319 | result = CHandlerSetRemove (interp, objv[1], "tdom"); | ^~~~~~~~~~~~~~~~~ ./generic/dom.c:5319:49: error: subscripted value is neither array nor pointer nor vector 5319 | result = CHandlerSetRemove (interp, objv[1], "tdom"); | ^ ./generic/domxslt.c: In function ‘getCdataSectionElements’: ./generic/domxslt.c:5607:20: warning: variable ‘h’ set but not used [-Wunused-but-set-variable] 5607 | Tcl_HashEntry *h; | ^ ./generic/tclexpat.c:557:51: error: ‘TclGenExpatElementEndHandler’ undeclared (first use in this function) 557 | (XML_EndElementHandler) TclGenExpatElementEndHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5331:52: error: subscripted value is neither array nor pointer nor vector 5331 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/dom.c:5339:40: error: subscripted value is neither array nor pointer nor vector 5339 | if (strcmp (Tcl_GetString (objv[3]), "") == 0) { | ^ ./generic/dom.c:5342:37: error: subscripted value is neither array nor pointer nor vector 5342 | info->extResolver = objv[3]; | ^ ./generic/domxslt.c: In function ‘getExternalDocument’: ./generic/domxslt.c:5851:5: error: ‘CONST84’ undeclared (first use in this function); did you mean ‘CONST86’? 5851 | CONST84 char *str; | ^~~~~~~ | CONST86 ./generic/domxslt.c:5851:5: note: each undeclared identifier is reported only once for each function it appears in ./generic/domxslt.c:5851:12: error: expected ‘;’ before ‘char’ 5851 | CONST84 char *str; | ^~~~~ | ; ./generic/domxslt.c:5893:52: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 5893 | result = Tcl_ListObjLength (interp, resultObj, &len); | ^~~~ | | | int * ./generic/domxslt.c:5893:52: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/domxslt.c:5904:57: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 5904 | xmlstring = Tcl_GetStringFromObj (xmlstringObj, &len); | ^~~~ | | | int * ./generic/domxslt.c:5904:57: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/domxslt.c:5969:9: error: ‘str’ undeclared (first use in this function) 5969 | str = Tcl_GetStringResult (interp); | ^~~ ./generic/dom.c:5354:22: error: implicit declaration of function ‘CHandlerSetGet’ [-Wimplicit-function-declaration] 5354 | handlerSet = CHandlerSetGet (interp, objv[1], "tdom"); | ^~~~~~~~~~~~~~ ./generic/dom.c:5354:50: error: subscripted value is neither array nor pointer nor vector 5354 | handlerSet = CHandlerSetGet (interp, objv[1], "tdom"); | ^ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:44: error: subscripted value is neither array nor pointer nor vector 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:44: error: subscripted value is neither array nor pointer nor vector 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:9: error: expression in static assertion is not an integer 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5362:36: error: expected expression before ‘bool’ 5362 | info->ignoreWhiteSpaces = !bool; | ^~~~ ./generic/dom.c:5363:42: error: expected expression before ‘bool’ 5363 | handlerSet->ignoreWhiteCDATAs = !bool; | ^~~~ ./generic/dom.c:5157:22: warning: variable ‘method’ set but not used [-Wunused-but-set-variable] 5157 | char *method, *encodingName; | ^~~~~~ ./generic/tclexpat.c:559:65: error: ‘TclGenExpatStartNamespaceDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetStartNamespaceDeclHandler’? 559 | (XML_StartNamespaceDeclHandler) TclGenExpatStartNamespaceDeclHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetStartNamespaceDeclHandler ./generic/domxslt.c: In function ‘xsltFreeState’: ./generic/domxslt.c:7000:9: warning: the comparison will always evaluate as ‘true’ for the address of ‘topLevelVars’ will never be NULL [-Waddress] 7000 | if (&xs->topLevelVars) { | ^ ./generic/domxslt.c:381:25: note: ‘topLevelVars’ declared here 381 | Tcl_HashTable topLevelVars; | ^~~~~~~~~~~~ ./generic/tclexpat.c:560:63: error: ‘TclGenExpatEndNamespaceDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetEndNamespaceDeclHandler’? 560 | (XML_EndNamespaceDeclHandler) TclGenExpatEndNamespaceDeclHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetEndNamespaceDeclHandler ./generic/tclexpat.c:562:60: error: ‘TclGenExpatCharacterDataHandler’ undeclared (first use in this function); did you mean ‘XML_SetCharacterDataHandler’? 562 | (XML_CharacterDataHandler) TclGenExpatCharacterDataHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetCharacterDataHandler ./generic/tclexpat.c:564:76: error: ‘TclGenExpatProcessingInstructionHandler’ undeclared (first use in this function); did you mean ‘XML_SetProcessingInstructionHandler’? 564 | (XML_ProcessingInstructionHandler) TclGenExpatProcessingInstructionHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetProcessingInstructionHandler make: *** [Makefile:302: dom.o] Error 1 ./generic/tclexpat.c:566:54: error: ‘TclGenExpatDefaultHandler’ undeclared (first use in this function); did you mean ‘XML_SetDefaultHandler’? 566 | (XML_DefaultHandler) TclGenExpatDefaultHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetDefaultHandler ./generic/tclexpat.c:569:58: error: ‘TclGenExpatNotationDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetNotationDeclHandler’? 569 | (XML_NotationDeclHandler) TclGenExpatNotationDeclHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetNotationDeclHandler ./generic/tclexpat.c:571:68: error: ‘TclGenExpatExternalEntityRefHandler’ undeclared (first use in this function); did you mean ‘XML_SetExternalEntityRefHandler’? 571 | (XML_ExternalEntityRefHandler) TclGenExpatExternalEntityRefHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetExternalEntityRefHandler ./generic/domxslt.c: At top level: ./generic/domxslt.c:466:13: warning: ‘printXML’ defined but not used [-Wunused-function] 466 | static void printXML (domNode *node, int level, int maxlevel) { | ^~~~~~~~ ./generic/tclexpat.c:573:64: error: ‘TclGenExpatUnknownEncodingHandler’ undeclared (first use in this function); did you mean ‘XML_SetUnknownEncodingHandler’? 573 | (XML_UnknownEncodingHandler) TclGenExpatUnknownEncodingHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetUnknownEncodingHandler make: *** [Makefile:302: domxslt.o] Error 1 ./generic/tclexpat.c:577:42: error: ‘TclGenExpatCommentHandler’ undeclared (first use in this function); did you mean ‘XML_SetCommentHandler’? 577 | XML_SetCommentHandler(expat->parser, TclGenExpatCommentHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetCommentHandler ./generic/tclexpat.c:579:48: error: ‘TclGenExpatNotStandaloneHandler’ undeclared (first use in this function); did you mean ‘XML_SetNotStandaloneHandler’? 579 | XML_SetNotStandaloneHandler(expat->parser, TclGenExpatNotStandaloneHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetNotStandaloneHandler ./generic/tclexpat.c:581:47: error: ‘TclGenExpatStartCdataSectionHandler’ undeclared (first use in this function); did you mean ‘XML_SetStartCdataSectionHandler’? 581 | XML_SetCdataSectionHandler(expat->parser, TclGenExpatStartCdataSectionHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetStartCdataSectionHandler ./generic/tclexpat.c:582:32: error: ‘TclGenExpatEndCdataSectionHandler’ undeclared (first use in this function); did you mean ‘XML_SetEndCdataSectionHandler’? 582 | TclGenExpatEndCdataSectionHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetEndCdataSectionHandler ./generic/tclexpat.c:584:46: error: ‘TclGenExpatElementDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetElementDeclHandler’? 584 | XML_SetElementDeclHandler(expat->parser, TclGenExpatElementDeclHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetElementDeclHandler ./generic/tclexpat.c:586:46: error: ‘TclGenExpatAttlistDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetAttlistDeclHandler’? 586 | XML_SetAttlistDeclHandler(expat->parser, TclGenExpatAttlistDeclHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetAttlistDeclHandler ./generic/tclexpat.c:589:31: error: ‘TclGenExpatStartDoctypeDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetStartDoctypeDeclHandler’? 589 | TclGenExpatStartDoctypeDeclHandler, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetStartDoctypeDeclHandler ./generic/tclexpat.c:590:31: error: ‘TclGenExpatEndDoctypeDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetEndDoctypeDeclHandler’? 590 | TclGenExpatEndDoctypeDeclHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetEndDoctypeDeclHandler ./generic/tclexpat.c:592:43: error: ‘TclGenExpatXmlDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetXmlDeclHandler’? 592 | XML_SetXmlDeclHandler (expat->parser, TclGenExpatXmlDeclHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetXmlDeclHandler ./generic/tclexpat.c:595:31: error: ‘TclGenExpatEntityDeclHandler’ undeclared (first use in this function); did you mean ‘XML_SetEntityDeclHandler’? 595 | TclGenExpatEntityDeclHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetEntityDeclHandler ./generic/tclexpat.c: In function ‘TclExpatFreeParser’: ./generic/tclexpat.c:630:1: warning: old-style function definition [-Wold-style-definition] 630 | TclExpatFreeParser(expat) | ^~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatInstanceCmd’: ./generic/tclexpat.c:669:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 669 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/tclexpat.c:665:1: warning: old-style function definition [-Wold-style-definition] 665 | TclExpatInstanceCmd (clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:675:17: error: expected ‘;’ before ‘char’ 675 | static CONST84 char *options[] = { | ^~~~~ | ; ./generic/tclexpat.c:691:39: error: subscripted value is neither array nor pointer nor vector 691 | if (Tcl_GetIndexFromObj(interp, objv[1], options, "option", 0, | ^ ./generic/tclexpat.c:79:54: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ | | | int ./generic/tclexpat.c:710:9: note: in expansion of macro ‘CheckArgs’ 710 | CheckArgs (3,5,2, "?-handlerset handlersetname? switch"); | ^~~~~~~~~ ./generic/tclexpat.c:79:54: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ ./generic/tclexpat.c:710:9: note: in expansion of macro ‘CheckArgs’ 710 | CheckArgs (3,5,2, "?-handlerset handlersetname? switch"); | ^~~~~~~~~ ./generic/tclexpat.c:711:18: error: implicit declaration of function ‘TclExpatCget’ [-Wimplicit-function-declaration] 711 | result = TclExpatCget(interp, expat, objc - 2, objv + 2); | ^~~~~~~~~~~~ ./generic/tclexpat.c:79:54: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ | | | int ./generic/tclexpat.c:716:9: note: in expansion of macro ‘CheckArgs’ 716 | CheckArgs (2,2,1,""); | ^~~~~~~~~ ./generic/tclexpat.c:79:54: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ ./generic/tclexpat.c:716:9: note: in expansion of macro ‘CheckArgs’ 716 | CheckArgs (2,2,1,""); | ^~~~~~~~~ ./generic/tclexpat.c:731:18: error: implicit declaration of function ‘TclExpatGet’ [-Wimplicit-function-declaration] 731 | result = TclExpatGet(interp, expat, objc - 2, objv + 2); | ^~~~~~~~~~~ ./generic/tclexpat.c:79:54: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ | | | int ./generic/tclexpat.c:736:9: note: in expansion of macro ‘CheckArgs’ 736 | CheckArgs (3,3,2,""); | ^~~~~~~~~ ./generic/tclexpat.c:79:54: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ ./generic/tclexpat.c:736:9: note: in expansion of macro ‘CheckArgs’ 736 | CheckArgs (3,3,2,""); | ^~~~~~~~~ ./generic/tclexpat.c:742:41: error: subscripted value is neither array nor pointer nor vector 742 | data = Tcl_GetStringFromObj(objv[2], &len); | ^ ./generic/tclexpat.c:742:46: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 742 | data = Tcl_GetStringFromObj(objv[2], &len); | ^~~~ | | | int * ./generic/tclexpat.c:742:46: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tclexpat.c:743:18: error: implicit declaration of function ‘TclExpatParse’; did you mean ‘TclExpatFreeParser’? [-Wimplicit-function-declaration] 743 | result = TclExpatParse(interp, expat, data, len, EXPAT_INPUT_STRING); | ^~~~~~~~~~~~~ | TclExpatFreeParser ./generic/tclexpat.c:79:54: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ | | | int ./generic/tclexpat.c:752:9: note: in expansion of macro ‘CheckArgs’ 752 | CheckArgs (3,3,2,""); | ^~~~~~~~~ ./generic/tclexpat.c:79:54: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ ./generic/tclexpat.c:752:9: note: in expansion of macro ‘CheckArgs’ 752 | CheckArgs (3,3,2,""); | ^~~~~~~~~ ./generic/tclexpat.c:758:34: error: subscripted value is neither array nor pointer nor vector 758 | data = Tcl_GetString(objv[2]); | ^ ./generic/tclexpat.c:79:54: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ | | | int ./generic/tclexpat.c:768:9: note: in expansion of macro ‘CheckArgs’ 768 | CheckArgs (3,3,2, ""); | ^~~~~~~~~ ./generic/tclexpat.c:79:54: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ ./generic/tclexpat.c:768:9: note: in expansion of macro ‘CheckArgs’ 768 | CheckArgs (3,3,2, ""); | ^~~~~~~~~ ./generic/tclexpat.c:774:34: error: subscripted value is neither array nor pointer nor vector 774 | data = Tcl_GetString(objv[2]); | ^ ./generic/tclexpat.c:79:54: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ | | | int ./generic/tclexpat.c:785:9: note: in expansion of macro ‘CheckArgs’ 785 | CheckArgs (2,2,1,""); | ^~~~~~~~~ ./generic/tclexpat.c:79:54: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 79 | Tcl_WrongNumArgs(interp, n, objv, msg); \ | ^~~~ ./generic/tclexpat.c:785:9: note: in expansion of macro ‘CheckArgs’ 785 | CheckArgs (2,2,1,""); | ^~~~~~~~~ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:819:1: error: static declaration of ‘TclExpatParse’ follows non-static declaration 819 | TclExpatParse (interp, expat, data, len, type) | ^~~~~~~~~~~~~ ./generic/tclexpat.c:743:18: note: previous implicit declaration of ‘TclExpatParse’ with type ‘int()’ 743 | result = TclExpatParse(interp, expat, data, len, EXPAT_INPUT_STRING); | ^~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatParse’: ./generic/tclexpat.c:819:1: warning: old-style function definition [-Wold-style-definition] 819 | TclExpatParse (interp, expat, data, len, type) | ^~~~~~~~~~~~~ ./generic/tclexpat.c:917:51: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 917 | str = Tcl_GetStringFromObj (bufObj, &len); | ^~~~ | | | int * ./generic/tclexpat.c:917:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:1050:1: error: static declaration of ‘TclExpatConfigure’ follows non-static declaration 1050 | TclExpatConfigure (interp, expat, objc, objv) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:408:11: note: previous implicit declaration of ‘TclExpatConfigure’ with type ‘int()’ 408 | if (TclExpatConfigure(interp, genexpat, objc - 1, objv + 1) != TCL_OK) { | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatConfigure’: ./generic/tclexpat.c:1054:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 1054 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/tclexpat.c:1050:1: warning: old-style function definition [-Wold-style-definition] 1050 | TclExpatConfigure (interp, expat, objc, objv) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:1056:17: error: expected ‘;’ before ‘char’ 1056 | static CONST84 char *switches[] = { | ^~~~~ | ; ./generic/tclexpat.c:1111:17: error: expected ‘;’ before ‘char’ 1111 | static CONST84 char *paramEntityParsingValues[] = { | ^~~~~ | ; ./generic/tclexpat.c:1122:27: error: expected identifier or ‘(’ before ‘bool’ 1122 | int optionIndex, value, bool; | ^~~~ ./generic/tclexpat.c:1123:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token 1123 | Tcl_Obj *CONST *objPtr = objv; | ^ ./generic/tclexpat.c:1123:19: error: ‘objPtr’ undeclared (first use in this function) 1123 | Tcl_Obj *CONST *objPtr = objv; | ^~~~~~ ./generic/tclexpat.c:1141:55: error: expected expression before ‘bool’ 1141 | if (Tcl_GetBooleanFromObj(interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1141:55: error: expected expression before ‘bool’ 1141 | if (Tcl_GetBooleanFromObj(interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1141:55: error: expected expression before ‘bool’ 1141 | if (Tcl_GetBooleanFromObj(interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1141:55: error: expected expression before ‘bool’ 1141 | if (Tcl_GetBooleanFromObj(interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1141:55: error: expected expression before ‘bool’ 1141 | if (Tcl_GetBooleanFromObj(interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1141:55: error: expected expression before ‘bool’ 1141 | if (Tcl_GetBooleanFromObj(interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1141:13: error: expression in static assertion is not an integer 1141 | if (Tcl_GetBooleanFromObj(interp, objPtr[1], &bool) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:1145:24: error: expected expression before ‘bool’ 1145 | expat->final = bool; | ^~~~ ./generic/tclexpat.c:1326:56: error: expected expression before ‘bool’ 1326 | if (Tcl_GetBooleanFromObj (interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1326:56: error: expected expression before ‘bool’ 1326 | if (Tcl_GetBooleanFromObj (interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1326:56: error: expected expression before ‘bool’ 1326 | if (Tcl_GetBooleanFromObj (interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1326:56: error: expected expression before ‘bool’ 1326 | if (Tcl_GetBooleanFromObj (interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1326:56: error: expected expression before ‘bool’ 1326 | if (Tcl_GetBooleanFromObj (interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1326:56: error: expected expression before ‘bool’ 1326 | if (Tcl_GetBooleanFromObj (interp, objPtr[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1326:13: error: expression in static assertion is not an integer 1326 | if (Tcl_GetBooleanFromObj (interp, objPtr[1], &bool) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:1331:58: error: expected expression before ‘bool’ 1331 | XML_UseForeignDTD (expat->parser, (unsigned char)bool); | ^~~~ ./generic/tclexpat.c:1505:54: error: expected expression before ‘bool’ 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1505:48: error: subscripted value is neither array nor pointer nor vector 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^ ./generic/tclexpat.c:1505:54: error: expected expression before ‘bool’ 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1505:54: error: expected expression before ‘bool’ 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1505:48: error: subscripted value is neither array nor pointer nor vector 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^ ./generic/tclexpat.c:1505:54: error: expected expression before ‘bool’ 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1505:54: error: expected expression before ‘bool’ 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1505:54: error: expected expression before ‘bool’ 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^~~~ ./generic/tclexpat.c:1505:13: error: expression in static assertion is not an integer 1505 | if (Tcl_GetBooleanFromObj (interp, objv[1], &bool) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:1508:17: error: expected identifier or ‘(’ before ‘)’ token 1508 | if (bool) { | ^ ./generic/tclexpat.c:1508:13: error: declaration in the controlling expression must have an initializer 1508 | if (bool) { | ^~~~ ./generic/tclexpat.c:1511:46: error: ‘TclGenExpatDefaultHandler’ undeclared (first use in this function); did you mean ‘XML_SetDefaultHandler’? 1511 | (XML_DefaultHandler) TclGenExpatDefaultHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | XML_SetDefaultHandler ./generic/tclexpat.c:1518:27: error: expected expression before ‘bool’ 1518 | expat->noexpand = bool; | ^~~~ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:1548:1: error: static declaration of ‘TclExpatCget’ follows non-static declaration 1548 | TclExpatCget (interp, expat, objc, objv) | ^~~~~~~~~~~~ ./generic/tclexpat.c:711:18: note: previous implicit declaration of ‘TclExpatCget’ with type ‘int()’ 711 | result = TclExpatCget(interp, expat, objc - 2, objv + 2); | ^~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatCget’: ./generic/tclexpat.c:1552:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 1552 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/tclexpat.c:1548:1: warning: old-style function definition [-Wold-style-definition] 1548 | TclExpatCget (interp, expat, objc, objv) | ^~~~~~~~~~~~ ./generic/tclexpat.c:1554:19: error: expected ‘;’ before ‘char’ 1554 | static CONST84 char *switches[] = { | ^~~~~ | ; ./generic/tclexpat.c:1615:41: error: subscripted value is neither array nor pointer nor vector 1615 | if (Tcl_GetIndexFromObj(interp, objv[0], switches, | ^ ./generic/tclexpat.c:1623:42: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 1623 | Tcl_WrongNumArgs (interp, 0, objv, | ^~~~ | | | int ./generic/tclexpat.c:1623:42: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/tclexpat.c:1634:44: error: subscripted value is neither array nor pointer nor vector 1634 | handlerSetName = Tcl_GetString(objv[1]); | ^ ./generic/tclexpat.c:1635:22: error: subscripted value is neither array nor pointer nor vector 1635 | objPtr = objv[2]; | ^ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:1950:1: error: static declaration of ‘TclExpatGet’ follows non-static declaration 1950 | TclExpatGet (interp, expat, objc, objv) | ^~~~~~~~~~~ ./generic/tclexpat.c:731:18: note: previous implicit declaration of ‘TclExpatGet’ with type ‘int()’ 731 | result = TclExpatGet(interp, expat, objc - 2, objv + 2); | ^~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatGet’: ./generic/tclexpat.c:1954:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 1954 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/tclexpat.c:1950:1: warning: old-style function definition [-Wold-style-definition] 1950 | TclExpatGet (interp, expat, objc, objv) | ^~~~~~~~~~~ ./generic/tclexpat.c:1956:17: error: expected ‘;’ before ‘char’ 1956 | static CONST84 char *getSwitches[] = { | ^~~~~ | ; ./generic/tclexpat.c:1980:39: error: subscripted value is neither array nor pointer nor vector 1980 | if (Tcl_GetIndexFromObj(interp, objv[0], getSwitches, | ^ ./generic/tclexpat.c: In function ‘TclExpatHandlerResult’: ./generic/tclexpat.c:2036:1: warning: old-style function definition [-Wold-style-definition] 2036 | TclExpatHandlerResult(expat, handlerSet, result) | ^~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatElementStartHandler’: ./generic/tclexpat.c:2101:1: warning: old-style function definition [-Wold-style-definition] 2101 | TclGenExpatElementStartHandler(userData, name, atts) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2119:3: error: implicit declaration of function ‘TclExpatDispatchPCDATA’ [-Wimplicit-function-declaration] 2119 | TclExpatDispatchPCDATA(expat); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatElementEndHandler’: ./generic/tclexpat.c:2241:6: error: expected declaration specifiers before ‘CONST’ 2241 | CONST char *name; | ^~~~~ ./generic/tclexpat.c:2239:1: warning: old-style function definition [-Wold-style-definition] 2239 | TclGenExpatElementEndHandler(userData, name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2283:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2283 | ename = Tcl_NewStringObj ((char *)name, -1); | ^ ./generic/tclexpat.c:2286:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2286 | Tcl_SetStringObj (ename, (char *)name, -1); | ^ ./generic/tclexpat.c:2306:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2306 | Tcl_NewStringObj((char *)name, -1)); | ^ ./generic/tclexpat.c:2336:49: error: passing argument 2 of ‘activeCHandlerSet->elementendcommand’ makes pointer from integer without a cast [-Wint-conversion] 2336 | name); | ^~~~ | | | int ./generic/tclexpat.c:2336:49: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclGenExpatStartNamespaceDeclHandler’: ./generic/tclexpat.c:2362:1: warning: old-style function definition [-Wold-style-definition] 2362 | TclGenExpatStartNamespaceDeclHandler(userData, prefix, uri) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatEndNamespaceDeclHandler’: ./generic/tclexpat.c:2464:6: error: expected declaration specifiers before ‘CONST’ 2464 | CONST char *prefix; | ^~~~~ ./generic/tclexpat.c:2462:1: warning: old-style function definition [-Wold-style-definition] 2462 | TclGenExpatEndNamespaceDeclHandler(userData, prefix) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2510:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2510 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)prefix, -1)); | ^ ./generic/tclexpat.c:2534:48: error: passing argument 2 of ‘activeCHandlerSet->endnsdeclcommand’ makes pointer from integer without a cast [-Wint-conversion] 2534 | prefix); | ^~~~~~ | | | int ./generic/tclexpat.c:2534:48: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclExpatCheckWhiteData’: ./generic/tclexpat.c:2557:1: warning: old-style function definition [-Wold-style-definition] 2557 | TclExpatCheckWhiteData (pc, len) | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatCharacterDataHandler’: ./generic/tclexpat.c:2592:6: error: expected declaration specifiers before ‘CONST’ 2592 | CONST char *s; | ^~~~~ ./generic/tclexpat.c:2590:1: warning: old-style function definition [-Wold-style-definition] 2590 | TclGenExpatCharacterDataHandler(userData, s, len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2605:34: error: passing argument 2 of ‘tclStubsPtr->tcl_AppendToObj’ makes pointer from integer without a cast [-Wint-conversion] 2605 | Tcl_AppendToObj (expat->cdata, s, len); | ^ | | | int ./generic/tclexpat.c:2605:34: note: expected ‘const char *’ but argument is of type ‘int’ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:2627:1: warning: conflicting types for ‘TclExpatDispatchPCDATA’; have ‘void()’ 2627 | TclExpatDispatchPCDATA(expat) | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2627:1: error: static declaration of ‘TclExpatDispatchPCDATA’ follows non-static declaration ./generic/tclexpat.c:2119:3: note: previous implicit declaration of ‘TclExpatDispatchPCDATA’ with type ‘void()’ 2119 | TclExpatDispatchPCDATA(expat); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatDispatchPCDATA’: ./generic/tclexpat.c:2627:1: warning: old-style function definition [-Wold-style-definition] 2627 | TclExpatDispatchPCDATA(expat) | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2643:43: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 2643 | s = Tcl_GetStringFromObj (expat->cdata, &len); | ^~~~ | | | int * ./generic/tclexpat.c:2643:43: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tclexpat.c: In function ‘TclGenExpatProcessingInstructionHandler’: ./generic/tclexpat.c:2752:6: error: expected declaration specifiers before ‘CONST’ 2752 | CONST char *target; | ^~~~~ ./generic/tclexpat.c:2753:6: error: expected declaration specifiers before ‘CONST’ 2753 | CONST char *data; | ^~~~~ ./generic/tclexpat.c:2750:1: warning: old-style function definition [-Wold-style-definition] 2750 | TclGenExpatProcessingInstructionHandler(userData, target, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2791:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2791 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)target, strlen(target))); | ^ ./generic/tclexpat.c:2791:95: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 2791 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)target, strlen(target))); | ^~~~~~ | | | int In file included from ./generic/tclexpat.c:38: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:2792:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2792 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)data, strlen(data))); | ^ ./generic/tclexpat.c:2792:93: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 2792 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)data, strlen(data))); | ^~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:2817:41: error: passing argument 2 of ‘activeCHandlerSet->picommand’ makes pointer from integer without a cast [-Wint-conversion] 2817 | target, data); | ^~~~~~ | | | int ./generic/tclexpat.c:2817:41: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:2817:49: error: passing argument 3 of ‘activeCHandlerSet->picommand’ makes pointer from integer without a cast [-Wint-conversion] 2817 | target, data); | ^~~~ | | | int ./generic/tclexpat.c:2817:49: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclGenExpatDefaultHandler’: ./generic/tclexpat.c:2843:6: error: expected declaration specifiers before ‘CONST’ 2843 | CONST char *s; | ^~~~~ ./generic/tclexpat.c:2841:1: warning: old-style function definition [-Wold-style-definition] 2841 | TclGenExpatDefaultHandler(userData, s, len) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2882:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2882 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)s, len)); | ^ ./generic/tclexpat.c:2907:46: error: passing argument 2 of ‘activeCHandlerSet->defaultcommand’ makes pointer from integer without a cast [-Wint-conversion] 2907 | s, len); | ^ | | | int ./generic/tclexpat.c:2907:46: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclGenExpatEntityDeclHandler’: ./generic/tclexpat.c:2934:6: error: expected declaration specifiers before ‘CONST’ 2934 | CONST char *entityname; | ^~~~~ ./generic/tclexpat.c:2936:6: error: expected declaration specifiers before ‘CONST’ 2936 | CONST char *value; | ^~~~~ ./generic/tclexpat.c:2938:6: error: expected declaration specifiers before ‘CONST’ 2938 | CONST char *base; | ^~~~~ ./generic/tclexpat.c:2939:6: error: expected declaration specifiers before ‘CONST’ 2939 | CONST char *systemId; | ^~~~~ ./generic/tclexpat.c:2940:6: error: expected declaration specifiers before ‘CONST’ 2940 | CONST char *publicId; | ^~~~~ ./generic/tclexpat.c:2941:6: error: expected declaration specifiers before ‘CONST’ 2941 | CONST char *notationName; | ^~~~~ ./generic/tclexpat.c:2932:1: warning: old-style function definition [-Wold-style-definition] 2932 | TclGenExpatEntityDeclHandler(userData, entityname, is_param, value, length, base, systemId, publicId, notationName) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2979:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2979 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)entityname, strlen(entityname))); | ^ ./generic/tclexpat.c:2979:99: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 2979 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)entityname, strlen(entityname))); | ^~~~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:2981:17: warning: comparison between pointer and integer 2981 | if (value == NULL) { | ^~ ./generic/tclexpat.c:2985:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2985 | Tcl_ListObjAppendElement (expat->interp, cmdPtr, Tcl_NewStringObj ((char *) value, length)); | ^ ./generic/tclexpat.c:2987:16: warning: comparison between pointer and integer 2987 | if (base == NULL) { | ^~ ./generic/tclexpat.c:2991:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2991 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)base, strlen(base))); | ^ ./generic/tclexpat.c:2991:97: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 2991 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)base, strlen(base))); | ^~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:2993:20: warning: comparison between pointer and integer 2993 | if (systemId == NULL) { | ^~ ./generic/tclexpat.c:2996:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2996 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)systemId, strlen(systemId))); | ^ ./generic/tclexpat.c:2996:101: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 2996 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)systemId, strlen(systemId))); | ^~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:2998:20: warning: comparison between pointer and integer 2998 | if (publicId == NULL) { | ^~ ./generic/tclexpat.c:3001:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3001 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)publicId, strlen(publicId))); | ^ ./generic/tclexpat.c:3001:101: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3001 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)publicId, strlen(publicId))); | ^~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3003:24: warning: comparison between pointer and integer 3003 | if (notationName == NULL) { | ^~ ./generic/tclexpat.c:3006:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3006 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)notationName, strlen(notationName))); | ^ ./generic/tclexpat.c:3006:105: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3006 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)notationName, strlen(notationName))); | ^~~~~~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3032:49: error: passing argument 2 of ‘activeCHandlerSet->entityDeclCommand’ makes pointer from integer without a cast [-Wint-conversion] 3032 | entityname, is_param, value, | ^~~~~~~~~~ | | | int ./generic/tclexpat.c:3032:49: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3032:71: error: passing argument 4 of ‘activeCHandlerSet->entityDeclCommand’ makes pointer from integer without a cast [-Wint-conversion] 3032 | entityname, is_param, value, | ^~~~~ | | | int ./generic/tclexpat.c:3032:71: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3033:57: error: passing argument 6 of ‘activeCHandlerSet->entityDeclCommand’ makes pointer from integer without a cast [-Wint-conversion] 3033 | length, base, systemId, | ^~~~ | | | int ./generic/tclexpat.c:3033:57: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3033:63: error: passing argument 7 of ‘activeCHandlerSet->entityDeclCommand’ makes pointer from integer without a cast [-Wint-conversion] 3033 | length, base, systemId, | ^~~~~~~~ | | | int ./generic/tclexpat.c:3033:63: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3034:49: error: passing argument 8 of ‘activeCHandlerSet->entityDeclCommand’ makes pointer from integer without a cast [-Wint-conversion] 3034 | publicId, notationName); | ^~~~~~~~ | | | int ./generic/tclexpat.c:3034:49: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3034:59: error: passing argument 9 of ‘activeCHandlerSet->entityDeclCommand’ makes pointer from integer without a cast [-Wint-conversion] 3034 | publicId, notationName); | ^~~~~~~~~~~~ | | | int ./generic/tclexpat.c:3034:59: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclGenExpatNotationDeclHandler’: ./generic/tclexpat.c:3060:6: error: expected declaration specifiers before ‘CONST’ 3060 | CONST char *notationName; | ^~~~~ ./generic/tclexpat.c:3061:6: error: expected declaration specifiers before ‘CONST’ 3061 | CONST char *base; | ^~~~~ ./generic/tclexpat.c:3062:6: error: expected declaration specifiers before ‘CONST’ 3062 | CONST char *systemId; | ^~~~~ ./generic/tclexpat.c:3063:6: error: expected declaration specifiers before ‘CONST’ 3063 | CONST char *publicId; | ^~~~~ ./generic/tclexpat.c:3058:1: warning: old-style function definition [-Wold-style-definition] 3058 | TclGenExpatNotationDeclHandler(userData, notationName, base, systemId, publicId) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3100:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3100 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)notationName, strlen(notationName))); | ^ ./generic/tclexpat.c:3100:101: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3100 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)notationName, strlen(notationName))); | ^~~~~~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3101:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3101 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)base, strlen(base))); | ^ ./generic/tclexpat.c:3101:93: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3101 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)base, strlen(base))); | ^~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3102:20: warning: comparison between pointer and integer 3102 | if (systemId == NULL) { | ^~ ./generic/tclexpat.c:3105:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3105 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)systemId, strlen(systemId))); | ^ ./generic/tclexpat.c:3105:101: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3105 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)systemId, strlen(systemId))); | ^~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3107:20: warning: comparison between pointer and integer 3107 | if (publicId == NULL) { | ^~ ./generic/tclexpat.c:3110:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3110 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)publicId, strlen(publicId))); | ^ ./generic/tclexpat.c:3110:101: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3110 | Tcl_ListObjAppendElement(expat->interp, cmdPtr, Tcl_NewStringObj((char *)publicId, strlen(publicId))); | ^~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3136:47: error: passing argument 2 of ‘activeCHandlerSet->notationcommand’ makes pointer from integer without a cast [-Wint-conversion] 3136 | notationName, base, | ^~~~~~~~~~~~ | | | int ./generic/tclexpat.c:3136:47: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3136:61: error: passing argument 3 of ‘activeCHandlerSet->notationcommand’ makes pointer from integer without a cast [-Wint-conversion] 3136 | notationName, base, | ^~~~ | | | int ./generic/tclexpat.c:3136:61: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3137:47: error: passing argument 4 of ‘activeCHandlerSet->notationcommand’ makes pointer from integer without a cast [-Wint-conversion] 3137 | systemId, publicId); | ^~~~~~~~ | | | int ./generic/tclexpat.c:3137:47: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3137:57: error: passing argument 5 of ‘activeCHandlerSet->notationcommand’ makes pointer from integer without a cast [-Wint-conversion] 3137 | systemId, publicId); | ^~~~~~~~ | | | int ./generic/tclexpat.c:3137:57: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclGenExpatUnknownEncodingHandler’: ./generic/tclexpat.c:3164:6: error: expected declaration specifiers before ‘CONST’ 3164 | CONST char *name; | ^~~~~ ./generic/tclexpat.c:3162:1: warning: old-style function definition [-Wold-style-definition] 3162 | TclGenExpatUnknownEncodingHandler(encodingHandlerData, name, info) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3185:46: error: passing argument 2 of ‘activeCHandlerSet->unknownencodingcommand’ makes pointer from integer without a cast [-Wint-conversion] 3185 | name, info); | ^~~~ | | | int ./generic/tclexpat.c:3185:46: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclGenExpatExternalEntityRefHandler’: ./generic/tclexpat.c:3211:6: error: expected declaration specifiers before ‘CONST’ 3211 | CONST char *openEntityNames; | ^~~~~ ./generic/tclexpat.c:3212:6: error: expected declaration specifiers before ‘CONST’ 3212 | CONST char *base; | ^~~~~ ./generic/tclexpat.c:3213:6: error: expected declaration specifiers before ‘CONST’ 3213 | CONST char *systemId; | ^~~~~ ./generic/tclexpat.c:3214:6: error: expected declaration specifiers before ‘CONST’ 3214 | CONST char *publicId; | ^~~~~ ./generic/tclexpat.c:3208:1: warning: old-style function definition [-Wold-style-definition] 3208 | TclGenExpatExternalEntityRefHandler(parser, openEntityNames, base, systemId, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3259:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3259 | Tcl_NewStringObj((char *)base, strlen(base))); | ^ ./generic/tclexpat.c:3259:53: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3259 | Tcl_NewStringObj((char *)base, strlen(base))); | ^~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3267:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3267 | Tcl_NewStringObj((char *)systemId, strlen(systemId))); | ^ ./generic/tclexpat.c:3267:57: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3267 | Tcl_NewStringObj((char *)systemId, strlen(systemId))); | ^~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3275:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3275 | Tcl_NewStringObj((char *)publicId, strlen(publicId))); | ^ ./generic/tclexpat.c:3275:57: error: passing argument 1 of ‘strlen’ makes pointer from integer without a cast [-Wint-conversion] 3275 | Tcl_NewStringObj((char *)publicId, strlen(publicId))); | ^~~~~~~~ | | | int /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘int’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./generic/tclexpat.c:3306:59: error: passing argument 2 of ‘XML_ExternalEntityParserCreate’ makes pointer from integer without a cast [-Wint-conversion] 3306 | extparser = XML_ExternalEntityParserCreate (parser, openEntityNames, 0); | ^~~~~~~~~~~~~~~ | | | int In file included from ./generic/dom.h:41, from ./generic/tclexpat.c:39: ./expat/expat.h:850:48: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ 850 | const XML_Char *context, | ~~~~~~~~~~~~~~~~^~~~~~~ ./generic/tclexpat.c:3311:61: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 3311 | result = Tcl_ListObjLength (expat->interp, resultObj, &tclLen); | ^~~~~~~ | | | int * ./generic/tclexpat.c:3311:61: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tclexpat.c:3364:48: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 3364 | dataStr = Tcl_GetStringFromObj (dataObj, &tclLen); | ^~~~~~~ | | | int * ./generic/tclexpat.c:3364:48: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tclexpat.c:3494:44: error: passing argument 2 of ‘activeCHandlerSet->externalentitycommand’ makes pointer from integer without a cast [-Wint-conversion] 3494 | activeCHandlerSet->userData, openEntityNames, base, systemId, | ^~~~~~~~~~~~~~~ | | | int ./generic/tclexpat.c:3494:44: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3494:61: error: passing argument 3 of ‘activeCHandlerSet->externalentitycommand’ makes pointer from integer without a cast [-Wint-conversion] 3494 | activeCHandlerSet->userData, openEntityNames, base, systemId, | ^~~~ | | | int ./generic/tclexpat.c:3494:61: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3494:67: error: passing argument 4 of ‘activeCHandlerSet->externalentitycommand’ makes pointer from integer without a cast [-Wint-conversion] 3494 | activeCHandlerSet->userData, openEntityNames, base, systemId, | ^~~~~~~~ | | | int ./generic/tclexpat.c:3494:67: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c:3495:15: error: passing argument 5 of ‘activeCHandlerSet->externalentitycommand’ makes pointer from integer without a cast [-Wint-conversion] 3495 | publicId)) { | ^~~~~~~~ | | | int ./generic/tclexpat.c:3495:15: note: expected ‘const XML_Char *’ {aka ‘const char *’} but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘TclGenExpatCommentHandler’: ./generic/tclexpat.c:3537:1: warning: old-style function definition [-Wold-style-definition] 3537 | TclGenExpatCommentHandler(userData, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatNotStandaloneHandler’: ./generic/tclexpat.c:3621:1: warning: old-style function definition [-Wold-style-definition] 3621 | TclGenExpatNotStandaloneHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatStartCdataSectionHandler’: ./generic/tclexpat.c:3698:1: warning: old-style function definition [-Wold-style-definition] 3698 | TclGenExpatStartCdataSectionHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatEndCdataSectionHandler’: ./generic/tclexpat.c:3778:1: warning: old-style function definition [-Wold-style-definition] 3778 | TclGenExpatEndCdataSectionHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘generateModel’: ./generic/tclexpat.c:3840:1: warning: old-style function definition [-Wold-style-definition] 3840 | generateModel (interp, rep, model) | ^~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatElementDeclHandler’: ./generic/tclexpat.c:3922:1: warning: old-style function definition [-Wold-style-definition] 3922 | TclGenExpatElementDeclHandler(userData, name, model) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatAttlistDeclHandler’: ./generic/tclexpat.c:4017:1: warning: old-style function definition [-Wold-style-definition] 4017 | TclGenExpatAttlistDeclHandler(userData, elname, name, type, dflt, isrequired) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatStartDoctypeDeclHandler’: ./generic/tclexpat.c:4119:1: warning: old-style function definition [-Wold-style-definition] 4119 | TclGenExpatStartDoctypeDeclHandler(userData, doctypeName, sysid, pubid, has_internal_subset) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatEndDoctypeDeclHandler’: ./generic/tclexpat.c:4223:1: warning: old-style function definition [-Wold-style-definition] 4223 | TclGenExpatEndDoctypeDeclHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclGenExpatXmlDeclHandler’: ./generic/tclexpat.c:4312:1: warning: old-style function definition [-Wold-style-definition] 4312 | TclGenExpatXmlDeclHandler (userData, version, encoding, standalone) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘TclExpatDeleteCmd’: ./generic/tclexpat.c:4405:1: warning: old-style function definition [-Wold-style-definition] 4405 | TclExpatDeleteCmd(clientData) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c: In function ‘CheckExpatParserObj’: ./generic/tclexpat.c:4516:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nameObj’ 4516 | Tcl_Obj *CONST nameObj; | ^~~~~~~ ./generic/tclexpat.c:4514:1: warning: old-style function definition [-Wold-style-definition] 4514 | CheckExpatParserObj (interp, nameObj) | ^~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4521:52: error: passing argument 1 of ‘tclStubsPtr->tcl_GetStringFromObj’ makes pointer from integer without a cast [-Wint-conversion] 4521 | if (!Tcl_GetCommandInfo (interp, Tcl_GetString(nameObj), &info)) { | ^~~~~~~ | | | int ./generic/tclexpat.c:4521:52: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘CHandlerSetInstall’: ./generic/tclexpat.c:4533:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘expatObj’ 4533 | Tcl_Obj *CONST expatObj; | ^~~~~~~~ ./generic/tclexpat.c:4531:1: warning: old-style function definition [-Wold-style-definition] 4531 | CHandlerSetInstall (interp, expatObj, handlerSet) | ^~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4540:52: error: passing argument 1 of ‘tclStubsPtr->tcl_GetStringFromObj’ makes pointer from integer without a cast [-Wint-conversion] 4540 | if (!Tcl_GetCommandInfo (interp, Tcl_GetString(expatObj), &info)) { | ^~~~~~~~ | | | int ./generic/tclexpat.c:4540:52: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘CHandlerSetRemove’: ./generic/tclexpat.c:4571:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘expatObj’ 4571 | Tcl_Obj *CONST expatObj; | ^~~~~~~~ ./generic/tclexpat.c:4569:1: warning: old-style function definition [-Wold-style-definition] 4569 | CHandlerSetRemove (interp, expatObj, handlerSetName) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4578:52: error: passing argument 1 of ‘tclStubsPtr->tcl_GetStringFromObj’ makes pointer from integer without a cast [-Wint-conversion] 4578 | if (!Tcl_GetCommandInfo (interp, Tcl_GetString(expatObj), &info)) { | ^~~~~~~~ | | | int ./generic/tclexpat.c:4578:52: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘CHandlerSetGet’: ./generic/tclexpat.c:4611:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘expatObj’ 4611 | Tcl_Obj *CONST expatObj; | ^~~~~~~~ ./generic/tclexpat.c:4609:1: warning: old-style function definition [-Wold-style-definition] 4609 | CHandlerSetGet (interp, expatObj, handlerSetName) | ^~~~~~~~~~~~~~ ./generic/tclexpat.c:4618:52: error: passing argument 1 of ‘tclStubsPtr->tcl_GetStringFromObj’ makes pointer from integer without a cast [-Wint-conversion] 4618 | if (!Tcl_GetCommandInfo (interp, Tcl_GetString(expatObj), &info)) { | ^~~~~~~~ | | | int ./generic/tclexpat.c:4618:52: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘CHandlerSetGetUserData’: ./generic/tclexpat.c:4638:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘expatObj’ 4638 | Tcl_Obj *CONST expatObj; | ^~~~~~~~ ./generic/tclexpat.c:4636:1: warning: old-style function definition [-Wold-style-definition] 4636 | CHandlerSetGetUserData (interp, expatObj, handlerSetName) | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4645:52: error: passing argument 1 of ‘tclStubsPtr->tcl_GetStringFromObj’ makes pointer from integer without a cast [-Wint-conversion] 4645 | if (!Tcl_GetCommandInfo (interp, Tcl_GetString(expatObj), &info)) { | ^~~~~~~~ | | | int ./generic/tclexpat.c:4645:52: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ ./generic/tclexpat.c: In function ‘GetExpatInfo’: ./generic/tclexpat.c:4665:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘expatObj’ 4665 | Tcl_Obj *CONST expatObj; | ^~~~~~~~ ./generic/tclexpat.c:4663:1: warning: old-style function definition [-Wold-style-definition] 4663 | GetExpatInfo (interp, expatObj) | ^~~~~~~~~~~~ ./generic/tclexpat.c:4668:52: error: passing argument 1 of ‘tclStubsPtr->tcl_GetStringFromObj’ makes pointer from integer without a cast [-Wint-conversion] 4668 | if (!Tcl_GetCommandInfo (interp, Tcl_GetString(expatObj), &info)) { | ^~~~~~~~ | | | int ./generic/tclexpat.c:4668:52: note: expected ‘Tcl_Obj *’ but argument is of type ‘int’ ./generic/tclexpat.c: At top level: ./generic/tclexpat.c:4405:1: warning: ‘TclExpatDeleteCmd’ defined but not used [-Wunused-function] 4405 | TclExpatDeleteCmd(clientData) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4312:1: warning: ‘TclGenExpatXmlDeclHandler’ defined but not used [-Wunused-function] 4312 | TclGenExpatXmlDeclHandler (userData, version, encoding, standalone) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4223:1: warning: ‘TclGenExpatEndDoctypeDeclHandler’ defined but not used [-Wunused-function] 4223 | TclGenExpatEndDoctypeDeclHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4119:1: warning: ‘TclGenExpatStartDoctypeDeclHandler’ defined but not used [-Wunused-function] 4119 | TclGenExpatStartDoctypeDeclHandler(userData, doctypeName, sysid, pubid, has_internal_subset) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:4017:1: warning: ‘TclGenExpatAttlistDeclHandler’ defined but not used [-Wunused-function] 4017 | TclGenExpatAttlistDeclHandler(userData, elname, name, type, dflt, isrequired) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3922:1: warning: ‘TclGenExpatElementDeclHandler’ defined but not used [-Wunused-function] 3922 | TclGenExpatElementDeclHandler(userData, name, model) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3778:1: warning: ‘TclGenExpatEndCdataSectionHandler’ defined but not used [-Wunused-function] 3778 | TclGenExpatEndCdataSectionHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3698:1: warning: ‘TclGenExpatStartCdataSectionHandler’ defined but not used [-Wunused-function] 3698 | TclGenExpatStartCdataSectionHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3621:1: warning: ‘TclGenExpatNotStandaloneHandler’ defined but not used [-Wunused-function] 3621 | TclGenExpatNotStandaloneHandler(userData) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3537:1: warning: ‘TclGenExpatCommentHandler’ defined but not used [-Wunused-function] 3537 | TclGenExpatCommentHandler(userData, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3208:1: warning: ‘TclGenExpatExternalEntityRefHandler’ defined but not used [-Wunused-function] 3208 | TclGenExpatExternalEntityRefHandler(parser, openEntityNames, base, systemId, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3162:1: warning: ‘TclGenExpatUnknownEncodingHandler’ defined but not used [-Wunused-function] 3162 | TclGenExpatUnknownEncodingHandler(encodingHandlerData, name, info) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:3058:1: warning: ‘TclGenExpatNotationDeclHandler’ defined but not used [-Wunused-function] 3058 | TclGenExpatNotationDeclHandler(userData, notationName, base, systemId, publicId) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2932:1: warning: ‘TclGenExpatEntityDeclHandler’ defined but not used [-Wunused-function] 2932 | TclGenExpatEntityDeclHandler(userData, entityname, is_param, value, length, base, systemId, publicId, notationName) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2841:1: warning: ‘TclGenExpatDefaultHandler’ defined but not used [-Wunused-function] 2841 | TclGenExpatDefaultHandler(userData, s, len) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2750:1: warning: ‘TclGenExpatProcessingInstructionHandler’ defined but not used [-Wunused-function] 2750 | TclGenExpatProcessingInstructionHandler(userData, target, data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2590:1: warning: ‘TclGenExpatCharacterDataHandler’ defined but not used [-Wunused-function] 2590 | TclGenExpatCharacterDataHandler(userData, s, len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2462:1: warning: ‘TclGenExpatEndNamespaceDeclHandler’ defined but not used [-Wunused-function] 2462 | TclGenExpatEndNamespaceDeclHandler(userData, prefix) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2362:1: warning: ‘TclGenExpatStartNamespaceDeclHandler’ defined but not used [-Wunused-function] 2362 | TclGenExpatStartNamespaceDeclHandler(userData, prefix, uri) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2239:1: warning: ‘TclGenExpatElementEndHandler’ defined but not used [-Wunused-function] 2239 | TclGenExpatElementEndHandler(userData, name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:2101:1: warning: ‘TclGenExpatElementStartHandler’ defined but not used [-Wunused-function] 2101 | TclGenExpatElementStartHandler(userData, name, atts) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:1950:1: warning: ‘TclExpatGet’ defined but not used [-Wunused-function] 1950 | TclExpatGet (interp, expat, objc, objv) | ^~~~~~~~~~~ ./generic/tclexpat.c:1548:1: warning: ‘TclExpatCget’ defined but not used [-Wunused-function] 1548 | TclExpatCget (interp, expat, objc, objv) | ^~~~~~~~~~~~ ./generic/tclexpat.c:1050:1: warning: ‘TclExpatConfigure’ defined but not used [-Wunused-function] 1050 | TclExpatConfigure (interp, expat, objc, objv) | ^~~~~~~~~~~~~~~~~ ./generic/tclexpat.c:819:1: warning: ‘TclExpatParse’ defined but not used [-Wunused-function] 819 | TclExpatParse (interp, expat, data, len, type) | ^~~~~~~~~~~~~ ./generic/tclexpat.c:436:1: warning: ‘FindUniqueCmdName’ defined but not used [-Wunused-function] 436 | FindUniqueCmdName(interp) | ^~~~~~~~~~~~~~~~~ make: *** [Makefile:302: tclexpat.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.3Mqyrw (%build) Bad exit status from /var/tmp/rpm-tmp.3Mqyrw (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a9bb68ceeb2e47e1ba333b4f3e8b3884 -D /var/lib/mock/f43-build-59984012-6577906/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tdom.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a9bb68ceeb2e47e1ba333b4f3e8b3884 -D /var/lib/mock/f43-build-59984012-6577906/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.35cyb0d4:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tdom.spec'