Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/irsim.spec'], chrootPath='/var/lib/mock/f42-build-3460657-45515/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h700pin3:/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.h700pin3:/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', '31545105a68647ba825da97dd0b6cdd1', '-D', '/var/lib/mock/f42-build-3460657-45515/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h700pin3:/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 riscv64 --nodeps /builddir/build/SPECS/irsim.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1737072000 Wrote: /builddir/build/SRPMS/irsim-9.7.104-17.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/irsim.spec'], chrootPath='/var/lib/mock/f42-build-3460657-45515/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h700pin3:/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.h700pin3:/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', '5ac8ea0b296543f48077f93461d8d969', '-D', '/var/lib/mock/f42-build-3460657-45515/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h700pin3:/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 riscv64 --nodeps /builddir/build/SPECS/irsim.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1737072000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.8gWvR4 + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + test -d /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/rm -rf /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/mkdir -p /builddir/build/BUILD/irsim-9.7.104-build + /usr/bin/mkdir -p /builddir/build/BUILD/irsim-9.7.104-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eW90Xe + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + cd /builddir/build/BUILD/irsim-9.7.104-build + rm -rf irsim-9.7.104 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/irsim-9.7.104.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd irsim-9.7.104 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PzaXuW + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 irsim-9.7.104 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 scripts + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /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 --- ./configure.backup 2019-03-22 20:20:38.000000000 +0000 +++ ./configure 2025-03-29 13:02:24.294000000 +0000 @@ -1906,7 +1906,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 size of void *... 8 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for gm4... no checking for gnum4... no checking for m4... /usr/bin/m4 checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking size of void *... (cached) 8 checking size of unsigned int... (cached) 4 checking size of unsigned long... (cached) 8 checking size of unsigned long long... (cached) 8 checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for setenv... yes checking for putenv... yes checking for vfork... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking param.h usability... no checking param.h presence... no checking for param.h... no checking for va_copy... yes checking for __va_copy... yes checking for tclConfig.sh... /usr/lib64/tclConfig.sh checking for tkConfig.sh... /usr/lib64/tkConfig.sh checking for wish executable... /usr/bin/wish checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: creating ./config.status config.status: creating defs.mak config.status: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting configure: WARNING: unrecognized options: --disable-dependency-tracking configure: "Notice: Use 'make' to compile and 'make install' to install" + /usr/bin/make -O -j32 V=1 VERBOSE=1 --- errors and warnings logged in file make.log make[1]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104' --- making modules make[1]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104' for dir in base analyzer faultsim usersubckt tcltk; do \ (cd $dir && /usr/bin/make module); done make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/cad_dir.o rm -f cad_dir.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c cad_dir.c cad_dir.c:27:25: error: conflicting types for ‘getenv’; have ‘char *(void)’ 27 | extern char *getenv(); | ^~~~~~ In file included from cad_dir.c:16: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ cad_dir.c:28:25: error: conflicting types for ‘getpwnam’; have ‘struct passwd *(void)’ 28 | extern struct passwd *getpwnam(); | ^~~~~~~~ In file included from cad_dir.c:20: /usr/include/pwd.h:116:23: note: previous declaration of ‘getpwnam’ with type ‘struct passwd *(const char *)’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ cad_dir.c: In function ‘InitCAD’: cad_dir.c:40:13: error: too many arguments to function ‘getenv’; expected 0, have 1 40 | if (s = getenv("CAD_ROOT")) | ^~~~~~ ~~~~~~~~~~ cad_dir.c:27:25: note: declared here 27 | extern char *getenv(); | ^~~~~~ cad_dir.c:40:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 40 | if (s = getenv("CAD_ROOT")) | ^ cad_dir.c:52:15: error: too many arguments to function ‘Valloc’; expected 0, have 2 52 | cad_lib = Valloc( len + 1, 1 ); | ^~~~~~ ~~~~~~~ cad_dir.c:29:25: note: declared here 29 | extern char *Valloc(); | ^~~~~~ cad_dir.c:56:15: error: too many arguments to function ‘Valloc’; expected 0, have 2 56 | cad_bin = Valloc( len + 1, 1 ); | ^~~~~~ ~~~~~~~ cad_dir.c:29:25: note: declared here 29 | extern char *Valloc(); | ^~~~~~ cad_dir.c:35:21: warning: unused variable ‘pwd’ [-Wunused-variable] 35 | struct passwd *pwd; | ^~~ make[2]: *** [../rules.mak:15: cad_dir.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/fio.o rm -f fio.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c fio.c fio.c:24:17: error: conflicting types for ‘clearerr’; have ‘void(void)’ 24 | extern void clearerr(); | ^~~~~~~~ In file included from fio.c:15: /usr/include/stdio.h:850:13: note: previous declaration of ‘clearerr’ with type ‘void(FILE *)’ 850 | extern void clearerr (FILE *__stream) __THROW __nonnull ((1)); | ^~~~~~~~ fio.c: In function ‘fgetline’: fio.c:33:14: warning: old-style function definition [-Wold-style-definition] 33 | public char *fgetline( bp, len, fp ) | ^~~~~~~~ fio.c:37:3: error: number of arguments doesn’t match prototype 37 | { | ^ In file included from fio.c:21: globals.h:103:14: error: prototype declaration 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ fio.c:49:17: error: too many arguments to function ‘clearerr’; expected 0, have 1 49 | clearerr( fp ); | ^~~~~~~~ ~~ fio.c:24:17: note: declared here 24 | extern void clearerr(); | ^~~~~~~~ fio.c:56:45: warning: value computed is not used [-Wunused-value] 56 | printf("\b \b"); fflush(stdout); *buff--; | ^~~~~~~ fio.c: In function ‘Fread’: fio.c:84:12: warning: old-style function definition [-Wold-style-definition] 84 | public int Fread( ptr, size, fp ) | ^~~~~ fio.c:88:3: error: number of arguments doesn’t match prototype 88 | { | ^ globals.h:104:12: error: prototype declaration 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ fio.c:95:9: error: too many arguments to function ‘clearerr’; expected 0, have 1 95 | clearerr( fp ); | ^~~~~~~~ ~~ fio.c:24:17: note: declared here 24 | extern void clearerr(); | ^~~~~~~~ fio.c: In function ‘Fwrite’: fio.c:102:12: warning: old-style function definition [-Wold-style-definition] 102 | public int Fwrite( ptr, size, fp ) | ^~~~~~ fio.c:106:3: error: number of arguments doesn’t match prototype 106 | { | ^ globals.h:105:12: error: prototype declaration 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ fio.c:113:9: error: too many arguments to function ‘clearerr’; expected 0, have 1 113 | clearerr( fp ); | ^~~~~~~~ ~~ fio.c:24:17: note: declared here 24 | extern void clearerr(); | ^~~~~~~~ make[2]: *** [../rules.mak:15: fio.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/sched.o rm -f sched.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c sched.c sched.c: In function ‘pending_events’: sched.c:52:14: warning: old-style function definition [-Wold-style-definition] 52 | public Ulong pending_events( delta, list, end_of_list ) | ^~~~~~~~~~~~~~ sched.c:55:3: error: number of arguments doesn’t match prototype 55 | { | ^ In file included from sched.c:18: globals.h:286:14: error: prototype declaration 286 | extern Ulong pending_events( /* delta, list, end_of_list */ ); | ^~~~~~~~~~~~~~ sched.c: In function ‘get_next_event’: sched.c:115:14: warning: old-style function definition [-Wold-style-definition] 115 | public evptr get_next_event( stop_time ) | ^~~~~~~~~~~~~~ sched.c:117:3: error: number of arguments doesn’t match prototype 117 | { | ^ globals.h:287:14: error: prototype declaration 287 | extern evptr get_next_event( /* stop_time */ ); | ^~~~~~~~~~~~~~ sched.c: In function ‘free_event’: sched.c:209:13: warning: old-style function definition [-Wold-style-definition] 209 | public void free_event( event ) | ^~~~~~~~~~ sched.c:211:3: error: number of arguments doesn’t match prototype 211 | { | ^ globals.h:300:13: error: prototype declaration 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ sched.c: In function ‘enqueue_event’: sched.c:239:13: warning: old-style function definition [-Wold-style-definition] 239 | public void enqueue_event( n, newvalue, delta, rtime ) | ^~~~~~~~~~~~~ sched.c:239:13: warning: type of ‘newvalue’ defaults to ‘int’ [-Wimplicit-int] sched.c:242:3: error: number of arguments doesn’t match prototype 242 | { | ^ globals.h:301:13: error: prototype declaration 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ sched.c:230:25: error: too many arguments to function ‘MallocList’; expected 0, have 2 230 | (NEW) = (evptr) MallocList( sizeof( struct Event ), 1 );\ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ sched.c:254:5: note: in expansion of macro ‘NEW_EVENT’ 254 | NEW_EVENT( new ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sched.c: In function ‘enqueue_input’: sched.c:312:13: warning: old-style function definition [-Wold-style-definition] 312 | public void enqueue_input( n, newvalue ) | ^~~~~~~~~~~~~ sched.c:312:13: warning: type of ‘newvalue’ defaults to ‘int’ [-Wimplicit-int] sched.c:314:3: error: number of arguments doesn’t match prototype 314 | { | ^ globals.h:302:13: error: prototype declaration 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ sched.c:320:9: error: too many arguments to function ‘free_event’; expected 0, have 1 320 | free_event( n->events ); | ^~~~~~~~~~ ~~~~~~~~~ sched.c:209:13: note: declared here 209 | public void free_event( event ) | ^~~~~~~~~~ sched.c:230:25: error: too many arguments to function ‘MallocList’; expected 0, have 2 230 | (NEW) = (evptr) MallocList( sizeof( struct Event ), 1 );\ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ sched.c:322:5: note: in expansion of macro ‘NEW_EVENT’ 322 | NEW_EVENT( new ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sched.c: In function ‘PuntEvent’: sched.c:364:13: warning: old-style function definition [-Wold-style-definition] 364 | public void PuntEvent( node, ev ) | ^~~~~~~~~ sched.c:367:3: error: number of arguments doesn’t match prototype 367 | { | ^ globals.h:304:13: error: prototype declaration 304 | extern void PuntEvent( /* node, ev */ ); | ^~~~~~~~~ sched.c:381:9: error: too many arguments to function ‘AddPunted’; expected 0, have 3 381 | AddPunted( ev->enode, ev, cur_delta ); | ^~~~~~~~~ ~~~~~~~~~ globals.h:118:13: note: declared here 118 | extern void AddPunted( /* node, ev, tim */ ); | ^~~~~~~~~ sched.c:382:5: error: too many arguments to function ‘free_event’; expected 0, have 1 382 | free_event( ev ); | ^~~~~~~~~~ ~~ sched.c:209:13: note: declared here 209 | public void free_event( event ) | ^~~~~~~~~~ sched.c: In function ‘requeue_events’: sched.c:386:13: warning: old-style function definition [-Wold-style-definition] 386 | public void requeue_events( evlist, thread ) | ^~~~~~~~~~~~~~ sched.c:389:3: error: number of arguments doesn’t match prototype 389 | { | ^ globals.h:305:13: error: prototype declaration 305 | extern void requeue_events( /* evlist, thread */ ); | ^~~~~~~~~~~~~~ sched.c: In function ‘back_sim_time’: sched.c:444:14: warning: old-style function definition [-Wold-style-definition] 444 | public evptr back_sim_time( btime, is_inc ) | ^~~~~~~~~~~~~ sched.c:447:3: error: number of arguments doesn’t match prototype 447 | { | ^ globals.h:306:14: error: prototype declaration 306 | extern evptr back_sim_time( /* btime, is_inc */ ); | ^~~~~~~~~~~~~ sched.c:486:9: error: too many arguments to function ‘requeue_events’; expected 0, have 2 486 | requeue_events( tmplist, FALSE ); | ^~~~~~~~~~~~~~ ~~~~~~~ sched.c:386:13: note: declared here 386 | public void requeue_events( evlist, thread ) | ^~~~~~~~~~~~~~ sched.c: In function ‘EnqueueHist’: sched.c:533:12: warning: old-style function definition [-Wold-style-definition] 533 | public int EnqueueHist( nd, hist, type ) | ^~~~~~~~~~~ sched.c:537:3: error: number of arguments doesn’t match prototype 537 | { | ^ globals.h:307:12: error: prototype declaration 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ sched.c:230:25: error: too many arguments to function ‘MallocList’; expected 0, have 2 230 | (NEW) = (evptr) MallocList( sizeof( struct Event ), 1 );\ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ sched.c:547:5: note: in expansion of macro ‘NEW_EVENT’ 547 | NEW_EVENT( new ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sched.c: In function ‘FindScheduled’: sched.c:611:14: warning: old-style function definition [-Wold-style-definition] 611 | public evptr FindScheduled(idx) | ^~~~~~~~~~~~~ sched.c:613:1: error: number of arguments doesn’t match prototype 613 | { | ^ globals.h:310:14: error: prototype declaration 310 | extern evptr FindScheduled( /* idx */ ); | ^~~~~~~~~~~~~ sched.c: In function ‘DequeueScheduled’: sched.c:635:13: warning: old-style function definition [-Wold-style-definition] 635 | public void DequeueScheduled(idx) | ^~~~~~~~~~~~~~~~ sched.c:637:1: error: number of arguments doesn’t match prototype 637 | { | ^ globals.h:311:13: error: prototype declaration 311 | extern void DequeueScheduled( /* idx */ ); | ^~~~~~~~~~~~~~~~ sched.c:640:10: error: too many arguments to function ‘FindScheduled’; expected 0, have 1 640 | ev = FindScheduled(idx); | ^~~~~~~~~~~~~ ~~~ sched.c:611:14: note: declared here 611 | public evptr FindScheduled(idx) | ^~~~~~~~~~~~~ sched.c:641:13: error: too many arguments to function ‘free_event’; expected 0, have 1 641 | if (ev) free_event(ev); | ^~~~~~~~~~ ~~ sched.c:209:13: note: declared here 209 | public void free_event( event ) | ^~~~~~~~~~ sched.c: In function ‘DequeueEvent’: sched.c:649:13: warning: old-style function definition [-Wold-style-definition] 649 | public void DequeueEvent( nd ) | ^~~~~~~~~~~~ sched.c:651:3: error: number of arguments doesn’t match prototype 651 | { | ^ globals.h:308:13: error: prototype declaration 308 | extern void DequeueEvent( /* nd */ ); | ^~~~~~~~~~~~ sched.c: In function ‘DelayEvent’: sched.c:665:13: warning: old-style function definition [-Wold-style-definition] 665 | public void DelayEvent( ev, delay ) | ^~~~~~~~~~ sched.c:668:3: error: number of arguments doesn’t match prototype 668 | { | ^ globals.h:309:13: error: prototype declaration 309 | extern void DelayEvent( /* ev, delay */ ); | ^~~~~~~~~~ sched.c:230:25: error: too many arguments to function ‘MallocList’; expected 0, have 2 230 | (NEW) = (evptr) MallocList( sizeof( struct Event ), 1 );\ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ sched.c:674:5: note: in expansion of macro ‘NEW_EVENT’ 674 | NEW_EVENT( new ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sched.c: In function ‘EnqueueOther’: sched.c:719:14: warning: old-style function definition [-Wold-style-definition] 719 | public evptr EnqueueOther( type, time ) | ^~~~~~~~~~~~ sched.c:722:3: error: number of arguments doesn’t match prototype 722 | { | ^ globals.h:312:14: error: prototype declaration 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ sched.c:230:25: error: too many arguments to function ‘MallocList’; expected 0, have 2 230 | (NEW) = (evptr) MallocList( sizeof( struct Event ), 1 );\ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ sched.c:726:5: note: in expansion of macro ‘NEW_EVENT’ 726 | NEW_EVENT( new ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sched.c: In function ‘rm_inc_events’: sched.c:754:13: warning: old-style function definition [-Wold-style-definition] 754 | public void rm_inc_events( all ) | ^~~~~~~~~~~~~ sched.c:756:3: error: number of arguments doesn’t match prototype 756 | { | ^ globals.h:313:13: error: prototype declaration 313 | extern void rm_inc_events( /* all */ ); | ^~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: sched.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/conn_list.o rm -f conn_list.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c conn_list.c conn_list.c: In function ‘BuildConnList’: conn_list.c:32:13: warning: old-style function definition [-Wold-style-definition] 32 | public void BuildConnList( n ) | ^~~~~~~~~~~~~ conn_list.c:34:3: error: number of arguments doesn’t match prototype 34 | { | ^ In file included from conn_list.c:20: globals.h:76:13: error: prototype declaration 76 | extern void BuildConnList( /* n */ ); | ^~~~~~~~~~~~~ conn_list.c:88:25: error: too many arguments to function ‘WarnTooManyParallel’; expected 0, have 2 88 | WarnTooManyParallel( this->nname, other->nname ); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:77:13: note: declared here 77 | extern void WarnTooManyParallel( /* s1, s2 */ ); | ^~~~~~~~~~~~~~~~~~~ conn_list.c: In function ‘WarnTooManyParallel’: conn_list.c:110:13: warning: old-style function definition [-Wold-style-definition] 110 | public void WarnTooManyParallel( s1, s2 ) | ^~~~~~~~~~~~~~~~~~~ conn_list.c:112:3: error: number of arguments doesn’t match prototype 112 | { | ^ globals.h:77:13: error: prototype declaration 77 | extern void WarnTooManyParallel( /* s1, s2 */ ); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: conn_list.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/nsubrs.o rm -f nsubrs.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c nsubrs.c nsubrs.c: In function ‘sym_hash’: nsubrs.c:77:13: warning: old-style function definition [-Wold-style-definition] 77 | private int sym_hash( name ) | ^~~~~~~~ nsubrs.c: In function ‘str_eql’: nsubrs.c:94:12: warning: old-style function definition [-Wold-style-definition] 94 | public int str_eql( s1, s2 ) | ^~~~~~~ nsubrs.c:96:3: error: number of arguments doesn’t match prototype 96 | { | ^ In file included from nsubrs.c:22: globals.h:206:12: error: prototype declaration 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ nsubrs.c: In function ‘str_match’: nsubrs.c:109:12: warning: old-style function definition [-Wold-style-definition] 109 | public int str_match( p, s ) | ^~~~~~~~~ nsubrs.c:111:3: error: number of arguments doesn’t match prototype 111 | { | ^ globals.h:207:12: error: prototype declaration 207 | extern int str_match( /* p, s */ ); | ^~~~~~~~~ nsubrs.c:134:21: error: too many arguments to function ‘str_match’; expected 0, have 2 134 | if( str_match( p + 1, ++s ) ) | ^~~~~~~~~ ~~~~~ nsubrs.c:109:12: note: declared here 109 | public int str_match( p, s ) | ^~~~~~~~~ nsubrs.c: In function ‘find’: nsubrs.c:150:13: warning: old-style function definition [-Wold-style-definition] 150 | public nptr find( name ) | ^~~~ nsubrs.c:152:3: error: number of arguments doesn’t match prototype 152 | { | ^ globals.h:208:13: error: prototype declaration 208 | extern nptr find( /* name */ ); | ^~~~ nsubrs.c:157:22: error: too many arguments to function ‘FindNode_TxtorPos’; expected 0, have 1 157 | if( (ntemp = FindNode_TxtorPos( name )) != NULL ) | ^~~~~~~~~~~~~~~~~ ~~~~ globals.h:352:13: note: declared here 352 | extern nptr FindNode_TxtorPos( /* s */ ); | ^~~~~~~~~~~~~~~~~ nsubrs.c:162:20: error: too many arguments to function ‘str_eql’; expected 0, have 2 162 | if( (cmp = str_eql( name, ntemp->nname )) >= 0 ) | ^~~~~~~ ~~~~ nsubrs.c:94:12: note: declared here 94 | public int str_eql( s1, s2 ) | ^~~~~~~ nsubrs.c: In function ‘RsimGetNode’: nsubrs.c:175:13: warning: old-style function definition [-Wold-style-definition] 175 | public nptr RsimGetNode( name_in ) | ^~~~~~~~~~~ nsubrs.c:177:3: error: number of arguments doesn’t match prototype 177 | { | ^ globals.h:209:13: error: prototype declaration 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ nsubrs.c:197:18: error: too many arguments to function ‘str_eql’; expected 0, have 2 197 | if( (i = str_eql( name, n->nname )) >= 0 ) | ^~~~~~~ ~~~~ nsubrs.c:94:12: note: declared here 94 | public int str_eql( s1, s2 ) | ^~~~~~~ nsubrs.c:221:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 221 | n = (nptr) MallocList( sizeof( struct Node ), 1 ); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ nsubrs.c:254:16: error: too many arguments to function ‘Valloc’; expected 0, have 2 254 | n->nname = Valloc( i, 1 ); | ^~~~~~ ~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ nsubrs.c: In function ‘GetNewNode’: nsubrs.c:262:13: warning: old-style function definition [-Wold-style-definition] 262 | public nptr GetNewNode( name ) | ^~~~~~~~~~ nsubrs.c:264:3: error: number of arguments doesn’t match prototype 264 | { | ^ globals.h:210:13: error: prototype declaration 210 | extern nptr GetNewNode( /* name */ ); | ^~~~~~~~~~ nsubrs.c:268:30: error: too many arguments to function ‘str_eql’; expected 0, have 2 268 | if( VDD_node != NULL and str_eql( name, pnode( VDD_node ) ) == 0 ) | ^~~~~~~ ~~~~ nsubrs.c:94:12: note: declared here 94 | public int str_eql( s1, s2 ) | ^~~~~~~ nsubrs.c:270:30: error: too many arguments to function ‘str_eql’; expected 0, have 2 270 | if( GND_node != NULL and str_eql( name, pnode( GND_node ) ) == 0 ) | ^~~~~~~ ~~~~ nsubrs.c:94:12: note: declared here 94 | public int str_eql( s1, s2 ) | ^~~~~~~ nsubrs.c:274:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 274 | n = (nptr) MallocList( sizeof( struct Node ), 1 ); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ nsubrs.c:304:16: error: too many arguments to function ‘Valloc’; expected 0, have 2 304 | n->nname = Valloc( i, 1 ); | ^~~~~~ ~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ nsubrs.c: In function ‘n_insert’: nsubrs.c:312:13: warning: old-style function definition [-Wold-style-definition] 312 | public void n_insert( nd ) | ^~~~~~~~ nsubrs.c:314:3: error: number of arguments doesn’t match prototype 314 | { | ^ globals.h:211:13: error: prototype declaration 211 | extern void n_insert( /* nd */ ); | ^~~~~~~~ nsubrs.c:323:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 323 | i = str_eql( name, n->nname ); | ^~~~~~~ ~~~~ nsubrs.c:94:12: note: declared here 94 | public int str_eql( s1, s2 ) | ^~~~~~~ nsubrs.c: In function ‘n_delete’: nsubrs.c:341:13: warning: old-style function definition [-Wold-style-definition] 341 | public void n_delete( nd ) | ^~~~~~~~ nsubrs.c:343:3: error: number of arguments doesn’t match prototype 343 | { | ^ globals.h:212:13: error: prototype declaration 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ nsubrs.c:351:13: error: too many arguments to function ‘Vfree’; expected 0, have 1 351 | Vfree( n->nname ); | ^~~~~ ~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ nsubrs.c: In function ‘walk_net’: nsubrs.c:365:13: warning: old-style function definition [-Wold-style-definition] 365 | public void walk_net( fun, arg ) | ^~~~~~~~ nsubrs.c:368:3: error: number of arguments doesn’t match prototype 368 | { | ^ globals.h:213:13: error: prototype declaration 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ nsubrs.c:374:18: error: too many arguments to function ‘fun’; expected 0, have 2 374 | if( (*fun)( n, arg ) ) | ~^~~~~ ~ nsubrs.c: In function ‘walk_net_index’: nsubrs.c:386:13: warning: old-style function definition [-Wold-style-definition] 386 | public void walk_net_index( fun, arg ) | ^~~~~~~~~~~~~~ nsubrs.c:389:3: error: number of arguments doesn’t match prototype 389 | { | ^ globals.h:214:13: error: prototype declaration 214 | extern void walk_net_index( /* fun, arg */ ); | ^~~~~~~~~~~~~~ nsubrs.c:397:18: error: too many arguments to function ‘fun’; expected 0, have 3 397 | if( (*fun)( n, val, arg ) ) | ~^~~~~ ~ nsubrs.c: In function ‘Index2node’: nsubrs.c:429:13: warning: old-style function definition [-Wold-style-definition] 429 | public nptr Index2node( index ) | ^~~~~~~~~~ nsubrs.c:431:3: error: number of arguments doesn’t match prototype 431 | { | ^ globals.h:216:13: error: prototype declaration 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ nsubrs.c: In function ‘Node2index’: nsubrs.c:447:20: warning: old-style function definition [-Wold-style-definition] 447 | public pointertype Node2index( nd ) | ^~~~~~~~~~ nsubrs.c:449:3: error: number of arguments doesn’t match prototype 449 | { | ^ globals.h:217:20: error: prototype declaration 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ nsubrs.c: In function ‘match_net’: nsubrs.c:475:12: warning: old-style function definition [-Wold-style-definition] 475 | public int match_net( pattern, fun, arg ) | ^~~~~~~~~ nsubrs.c:479:3: error: number of arguments doesn’t match prototype 479 | { | ^ globals.h:218:12: error: prototype declaration 218 | extern int match_net( /* pattern, fun, arg */ ); | ^~~~~~~~~ nsubrs.c:486:17: error: too many arguments to function ‘str_match’; expected 0, have 2 486 | if( str_match( pattern, pnode( n ) ) ) | ^~~~~~~~~ ~~~~~~~ nsubrs.c:109:12: note: declared here 109 | public int str_match( p, s ) | ^~~~~~~~~ nsubrs.c:487:27: error: too many arguments to function ‘fun’; expected 0, have 2 487 | total += (*fun)( n, arg ); | ~^~~~~ ~ make[2]: *** [../rules.mak:15: nsubrs.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/parallel.o rm -f parallel.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c parallel.c parallel.c: In function ‘make_parallel’: parallel.c:43:13: warning: old-style function definition [-Wold-style-definition] 43 | public void make_parallel( nlist ) | ^~~~~~~~~~~~~ parallel.c:45:3: error: number of arguments doesn’t match prototype 45 | { | ^ In file included from parallel.c:18: globals.h:224:13: error: prototype declaration 224 | extern void make_parallel( /* nlist */ ); | ^~~~~~~~~~~~~ In file included from parallel.c:20: net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ parallel.c:78:21: note: in expansion of macro ‘NEW_TRANS’ 78 | NEW_TRANS( t2 ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ parallel.c:79:41: error: too many arguments to function ‘Falloc’; expected 0, have 2 79 | t2->r = (Resists *) Falloc( sizeof( TranResist ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ globals.h:162:14: note: declared here 162 | extern char *Falloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ parallel.c:128:21: error: too many arguments to function ‘Ffree’; expected 0, have 2 128 | Ffree( t2->r, sizeof( TranResist ) ); | ^~~~~ ~~~~~ globals.h:163:13: note: declared here 163 | extern void Ffree( /* p, nbytes */ ); | ^~~~~ parallel.c: In function ‘UnParallelTrans’: parallel.c:145:13: warning: old-style function definition [-Wold-style-definition] 145 | public void UnParallelTrans( t ) | ^~~~~~~~~~~~~~~ parallel.c:147:3: error: number of arguments doesn’t match prototype 147 | { | ^ globals.h:225:13: error: prototype declaration 225 | extern void UnParallelTrans( /* t */ ); | ^~~~~~~~~~~~~~~ parallel.c:176:9: error: too many arguments to function ‘Ffree’; expected 0, have 2 176 | Ffree( tor->r, sizeof( TranResist ) ); | ^~~~~ ~~~~~~ globals.h:163:13: note: declared here 163 | extern void Ffree( /* p, nbytes */ ); | ^~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ parallel.c:192:13: note: in expansion of macro ‘CONNECT’ 192 | CONNECT( on_trans, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ parallel.c:196:13: note: in expansion of macro ‘CONNECT’ 196 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ parallel.c:200:13: note: in expansion of macro ‘CONNECT’ 200 | CONNECT( t->source->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ parallel.c:204:13: note: in expansion of macro ‘CONNECT’ 204 | CONNECT( t->drain->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: parallel.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/tpos.o rm -f tpos.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c tpos.c tpos.c: In function ‘EnterPos’: tpos.c:37:13: warning: old-style function definition [-Wold-style-definition] 37 | public void EnterPos( tran, is_pos ) | ^~~~~~~~ tpos.c:40:3: error: number of arguments doesn’t match prototype 40 | { | ^ In file included from tpos.c:18: globals.h:349:13: error: prototype declaration 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ tpos.c: In function ‘FindTxtorPos’: tpos.c:64:13: warning: old-style function definition [-Wold-style-definition] 64 | public tptr FindTxtorPos( x, y ) | ^~~~~~~~~~~~ tpos.c:66:3: error: number of arguments doesn’t match prototype 66 | { | ^ globals.h:350:13: error: prototype declaration 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ tpos.c: In function ‘DeleteTxtorPos’: tpos.c:81:13: warning: old-style function definition [-Wold-style-definition] 81 | public void DeleteTxtorPos( tran ) | ^~~~~~~~~~~~~~ tpos.c:83:3: error: number of arguments doesn’t match prototype 83 | { | ^ globals.h:351:13: error: prototype declaration 351 | extern void DeleteTxtorPos( /* tran */ ); | ^~~~~~~~~~~~~~ tpos.c: In function ‘FindNode_TxtorPos’: tpos.c:102:13: warning: old-style function definition [-Wold-style-definition] 102 | public nptr FindNode_TxtorPos( s ) | ^~~~~~~~~~~~~~~~~ tpos.c:104:3: error: number of arguments doesn’t match prototype 104 | { | ^ globals.h:352:13: error: prototype declaration 352 | extern nptr FindNode_TxtorPos( /* s */ ); | ^~~~~~~~~~~~~~~~~ tpos.c:111:14: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 111 | if( (t = FindTxtorPos( x, y )) == NULL ) | ^~~~~~~~~~~~ ~ tpos.c:64:13: note: declared here 64 | public tptr FindTxtorPos( x, y ) | ^~~~~~~~~~~~ tpos.c: In function ‘walk_trans’: tpos.c:124:13: warning: old-style function definition [-Wold-style-definition] 124 | public void walk_trans( func, arg ) | ^~~~~~~~~~ tpos.c:127:3: error: number of arguments doesn’t match prototype 127 | { | ^ globals.h:353:13: error: prototype declaration 353 | extern void walk_trans( /* func, arg */ ); | ^~~~~~~~~~ tpos.c:134:14: error: too many arguments to function ‘func’; expected 0, have 2 134 | (*func)( t, arg ); | ~^~~~~~ ~ tpos.c:140:14: error: too many arguments to function ‘func’; expected 0, have 2 140 | (*func)( t, arg ); | ~^~~~~~ ~ make[2]: *** [../rules.mak:15: tpos.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/hist.o rm -f hist.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c hist.c hist.c: In function ‘SetFirstHist’: hist.c:81:13: warning: old-style function definition [-Wold-style-definition] 81 | public void SetFirstHist( node, value, inp, time ) | ^~~~~~~~~~~~ hist.c:85:3: error: number of arguments doesn’t match prototype 85 | { | ^ In file included from hist.c:21: globals.h:116:13: error: prototype declaration 116 | extern void SetFirstHist( /* node, value, inp, time */ ); | ^~~~~~~~~~~~ hist.c: In function ‘AddHist’: hist.c:96:13: warning: old-style function definition [-Wold-style-definition] 96 | public void AddHist( node, value, inp, time, delay, rtime ) | ^~~~~~~ hist.c:102:3: error: number of arguments doesn’t match prototype 102 | { | ^ globals.h:117:13: error: prototype declaration 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:115:5: note: in expansion of macro ‘NEW_HIST’ 115 | NEW_HIST( newh, return ); | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘AddPunted’: hist.c:137:13: warning: old-style function definition [-Wold-style-definition] 137 | public void AddPunted( node, ev, tim ) | ^~~~~~~~~ hist.c:141:3: error: number of arguments doesn’t match prototype 141 | { | ^ globals.h:118:13: error: prototype declaration 118 | extern void AddPunted( /* node, ev, tim */ ); | ^~~~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:150:5: note: in expansion of macro ‘NEW_HIST’ 150 | NEW_HIST( newp, return ); /* allocate the punted event itself */ | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘FreeHistList’: hist.c:174:13: warning: old-style function definition [-Wold-style-definition] 174 | public void FreeHistList( node ) | ^~~~~~~~~~~~ hist.c:176:3: error: number of arguments doesn’t match prototype 176 | { | ^ globals.h:119:13: error: prototype declaration 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ hist.c: In function ‘NewModel’: hist.c:206:13: warning: old-style function definition [-Wold-style-definition] 206 | public void NewModel( nmodel ) | ^~~~~~~~ hist.c:208:3: error: number of arguments doesn’t match prototype 208 | { | ^ globals.h:121:13: error: prototype declaration 121 | extern void NewModel( /* nmodel */ ); | ^~~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:213:9: note: in expansion of macro ‘NEW_HIST’ 213 | NEW_HIST( newh, NoMoreIncSim() ); | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘NewEdge’: hist.c:234:13: warning: old-style function definition [-Wold-style-definition] 234 | public void NewEdge( nd, ev ) | ^~~~~~~ hist.c:237:3: error: number of arguments doesn’t match prototype 237 | { | ^ globals.h:122:13: error: prototype declaration 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ hist.c:70:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 70 | if( ((NEW) = (hptr) MallocList( sizeof( HistEnt ), 0 )) == NULL ) \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hist.c:245:9: note: in expansion of macro ‘NEW_HIST’ 245 | NEW_HIST( newh, NoMoreIncSim() ); | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ hist.c: In function ‘DeleteNextEdge’: hist.c:266:13: warning: old-style function definition [-Wold-style-definition] 266 | public void DeleteNextEdge( nd ) | ^~~~~~~~~~~~~~ hist.c:268:3: error: number of arguments doesn’t match prototype 268 | { | ^ globals.h:123:13: error: prototype declaration 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ hist.c: In function ‘FlushHist’: hist.c:318:13: warning: old-style function definition [-Wold-style-definition] 318 | public void FlushHist( ftime ) | ^~~~~~~~~ hist.c:320:3: error: number of arguments doesn’t match prototype 320 | { | ^ globals.h:124:13: error: prototype declaration 124 | extern void FlushHist( /* ftime */ ); | ^~~~~~~~~ hist.c: In function ‘backToTime’: hist.c:355:12: warning: old-style function definition [-Wold-style-definition] 355 | public int backToTime( nd ) | ^~~~~~~~~~ hist.c:357:3: error: number of arguments doesn’t match prototype 357 | { | ^ globals.h:125:12: error: prototype declaration 125 | extern int backToTime( /* nd */ ); | ^~~~~~~~~~ hist.c:387:17: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 387 | enqueue_event( nd, (int) h->val, (long) h->t.p.delay, | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ hist.c:403:17: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 403 | enqueue_event( nd, (int) h->val, (long) h->t.r.delay, | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist.c:442:24: note: in expansion of macro ‘compute_trans_state’ 442 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: hist.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/mem.o rm -f mem.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c mem.c mem.c:119:19: error: conflicting types for ‘sleep’; have ‘unsigned int(void)’ 119 | extern unsigned sleep(); | ^~~~~ In file included from mem.c:60: /usr/include/unistd.h:464:21: note: previous declaration of ‘sleep’ with type ‘unsigned int(unsigned int)’ 464 | extern unsigned int sleep (unsigned int __seconds); | ^~~~~ mem.c: In function ‘GetMoreCore’: mem.c:204:17: warning: old-style function definition [-Wold-style-definition] 204 | private Pointer GetMoreCore( npages ) | ^~~~~~~~~~~ mem.c:251:20: error: too many arguments to function ‘sleep’; expected 0, have 1 251 | (void) sleep( 15 ); | ^~~~~ ~~ mem.c:119:19: note: declared here 119 | extern unsigned sleep(); | ^~~~~ mem.c:273:24: error: too many arguments to function ‘sleep’; expected 0, have 1 273 | (void) sleep( 15 ); | ^~~~~ ~~ mem.c:119:19: note: declared here 119 | extern unsigned sleep(); | ^~~~~ mem.c: In function ‘GetPage’: mem.c:290:17: warning: old-style function definition [-Wold-style-definition] 290 | private Pointer GetPage( nPages, size, no_mem_exit ) | ^~~~~~~ mem.c: In function ‘Falloc’: mem.c:334:14: warning: old-style function definition [-Wold-style-definition] 334 | public char *Falloc( nbytes, no_mem_exit ) | ^~~~~~ mem.c:347:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 347 | return( Valloc( nbytes, no_mem_exit ) ); | ^~~~~~ ~~~~~~ mem.c:330:19: note: declared here 330 | char *Valloc(); | ^~~~~~ mem.c: In function ‘Ffree’: mem.c:375:13: warning: old-style function definition [-Wold-style-definition] 375 | public void Ffree( p, nbytes ) | ^~~~~ mem.c:378:3: error: number of arguments doesn’t match prototype 378 | { | ^ mem.c:331:18: error: prototype declaration 331 | void Ffree(), Vfree(); | ^~~~~ mem.c:386:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 386 | Vfree( p ); | ^~~~~ ~ mem.c:331:27: note: declared here 331 | void Ffree(), Vfree(); | ^~~~~ mem.c: In function ‘MallocList’: mem.c:397:14: warning: old-style function definition [-Wold-style-definition] 397 | public MList MallocList( nbytes, no_mem_exit ) | ^~~~~~~~~~ mem.c:410:17: error: too many arguments to function ‘MallocBigList’; expected 0, have 2 410 | return( MallocBigList( nbytes, no_mem_exit ) ); | ^~~~~~~~~~~~~ ~~~~~~ mem.c:329:18: note: declared here 329 | private MList MallocBigList(); | ^~~~~~~~~~~~~ mem.c: In function ‘MallocBigList’: mem.c:437:15: warning: old-style function definition [-Wold-style-definition] 437 | private MList MallocBigList( nbytes, no_mem_exit ) | ^~~~~~~~~~~~~ mem.c:445:29: error: too many arguments to function ‘Valloc’; expected 0, have 2 445 | head = tail = (Pointer) Valloc( nbytes, no_mem_exit ); | ^~~~~~ ~~~~~~ mem.c:330:19: note: declared here 330 | char *Valloc(); | ^~~~~~ mem.c:451:31: error: too many arguments to function ‘Valloc’; expected 0, have 2 451 | tail->ptr = (Pointer) Valloc( nbytes, no_mem_exit ); | ^~~~~~ ~~~~~~ mem.c:330:19: note: declared here 330 | char *Valloc(); | ^~~~~~ mem.c:457:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 457 | Vfree( head ); | ^~~~~ ~~~~ mem.c:331:27: note: declared here 331 | void Ffree(), Vfree(); | ^~~~~ mem.c: In function ‘Vfree’: mem.c:487:13: warning: old-style function definition [-Wold-style-definition] 487 | public void Vfree( ptr ) | ^~~~~ mem.c:489:3: error: number of arguments doesn’t match prototype 489 | { | ^ mem.c:331:27: error: prototype declaration 331 | void Ffree(), Vfree(); | ^~~~~ mem.c: In function ‘Valloc’: mem.c:540:14: warning: old-style function definition [-Wold-style-definition] 540 | public char *Valloc( nbytes, no_mem_exit ) | ^~~~~~ mem.c:543:3: error: number of arguments doesn’t match prototype 543 | { | ^ mem.c:330:19: error: prototype declaration 330 | char *Valloc(); | ^~~~~~ mem.c:589:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 589 | Vfree( pg + 1 ); | ^~~~~ ~~~~~~ mem.c:487:13: note: declared here 487 | public void Vfree( ptr ) | ^~~~~ make[2]: *** [../rules.mak:15: mem.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/hist_io.o rm -f hist_io.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c hist_io.c hist_io.c: In function ‘DumpNodeHist’: hist_io.c:125:13: warning: old-style function definition [-Wold-style-definition] 125 | private int DumpNodeHist( nd, ndindx, fp ) | ^~~~~~~~~~~~ hist_io.c:142:9: error: too many arguments to function ‘Fwrite’; expected 0, have 3 142 | if( Fwrite( &header, Size_Node_Head, fp ) <= 0 ) | ^~~~~~ ~~~~~~~ In file included from hist_io.c:27: globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:154:17: error: too many arguments to function ‘Fwrite’; expected 0, have 3 154 | if( Fwrite( &hist, Size_PuntFile_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:161:17: error: too many arguments to function ‘Fwrite’; expected 0, have 3 161 | if( Fwrite( &hist, Size_File_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:172:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 172 | for( n = 0, ev = nd->events; ev != NULL; ev = ev->nlink, n++ ); | ^~~ In file included from hist_io.c:26: bin_io.h:58:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 58 | { \ | ^ hist_io.c:173:9: note: in expansion of macro ‘PackBytes’ 173 | PackBytes( h_end.npend, n, NB_RTIME ); | ^~~~~~~~~ hist_io.c:174:13: error: too many arguments to function ‘Fwrite’; expected 0, have 3 174 | if( Fwrite( &h_end, Size_File_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:178:22: error: too many arguments to function ‘Node2index’; expected 0, have 1 178 | ndindx = Node2index( ev->p.cause ); | ^~~~~~~~~~ ~~~~~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ hist_io.c:184:17: error: too many arguments to function ‘Fwrite’; expected 0, have 3 184 | if( Fwrite( &pending, Size_File_Pend, fp ) <= 0 ) | ^~~~~~ ~~~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c:191:13: error: too many arguments to function ‘Fwrite’; expected 0, have 3 191 | if( Fwrite( &h_end, Size_File_Hist, fp ) <= 0 ) | ^~~~~~ ~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c: In function ‘WriteHistHeader’: hist_io.c:203:13: warning: old-style function definition [-Wold-style-definition] 203 | private int WriteHistHeader( fd ) | ^~~~~~~~~~~~~~~ hist_io.c:218:9: error: too many arguments to function ‘Fwrite’; expected 0, have 3 218 | if( Fwrite( &fh, Size_File_Head, fd ) <= 0 ) | ^~~~~~ ~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ hist_io.c: In function ‘ReadHistHead’: hist_io.c:224:13: warning: old-style function definition [-Wold-style-definition] 224 | private int ReadHistHead( fd, pNewTime, pTime0 ) | ^~~~~~~~~~~~ hist_io.c:233:9: error: too many arguments to function ‘Fread’; expected 0, have 3 233 | if( Fread( &fh, Size_File_Head, fd ) != Size_File_Head ) | ^~~~~ ~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c: In function ‘DumpHist’: hist_io.c:271:13: warning: old-style function definition [-Wold-style-definition] 271 | public void DumpHist( fname ) | ^~~~~~~~ hist_io.c:273:3: error: number of arguments doesn’t match prototype 273 | { | ^ globals.h:129:13: error: prototype declaration 129 | extern void DumpHist( /* fname */ ); | ^~~~~~~~ hist_io.c:289:5: error: too many arguments to function ‘walk_net_index’; expected 0, have 2 289 | walk_net_index( DumpNodeHist, fp ); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~ globals.h:214:13: note: declared here 214 | extern void walk_net_index( /* fun, arg */ ); | ^~~~~~~~~~~~~~ hist_io.c: In function ‘rd_hist’: hist_io.c:295:13: warning: old-style function definition [-Wold-style-definition] 295 | private int rd_hist( fd, pnlist ) | ^~~~~~~ hist_io.c:310:12: error: too many arguments to function ‘Fread’; expected 0, have 3 310 | while( Fread( &head, Size_Node_Head, fd ) == Size_Node_Head ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:313:19: error: too many arguments to function ‘Index2node’; expected 0, have 1 313 | if( (nd = Index2node( ndindx )) == NULL ) | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ hist_io.c:330:9: error: too many arguments to function ‘SetFirstHist’; expected 0, have 4 330 | SetFirstHist( nd, val, inp, etime ); | ^~~~~~~~~~~~ ~~ globals.h:116:13: note: declared here 116 | extern void SetFirstHist( /* node, value, inp, time */ ); | ^~~~~~~~~~~~ hist_io.c:336:13: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 336 | FreeHistList( nd ); | ^~~~~~~~~~~~ ~~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ hist_io.c:340:17: error: too many arguments to function ‘Fread’; expected 0, have 3 340 | if( Fread( &hist, Size_File_Hist, fd ) != Size_File_Hist ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:361:21: error: too many arguments to function ‘Fread’; expected 0, have 3 361 | if( Fread( hist.ptime, Size_Ptime, fd ) != Size_Ptime ) | ^~~~~ ~~~~~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:369:17: error: too many arguments to function ‘AddPunted’; expected 0, have 3 369 | AddPunted( nd, &ev, etime ); | ^~~~~~~~~ ~~ globals.h:118:13: note: declared here 118 | extern void AddPunted( /* node, ev, tim */ ); | ^~~~~~~~~ hist_io.c:372:17: error: too many arguments to function ‘AddHist’; expected 0, have 6 372 | AddHist( nd, val, inp, etime, (long) delay, (long) rtime ); | ^~~~~~~ ~~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ hist_io.c:383:13: error: too many arguments to function ‘free_event’; expected 0, have 1 383 | free_event( nd->events ); | ^~~~~~~~~~ ~~~~~~~~~~ globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ hist_io.c:390:17: error: too many arguments to function ‘Fread’; expected 0, have 3 390 | if( Fread( &pend, Size_File_Pend, fd ) != Size_File_Pend ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ hist_io.c:406:24: error: too many arguments to function ‘Index2node’; expected 0, have 1 406 | cur_node = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ hist_io.c:408:13: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 408 | enqueue_event( nd, val, (long) delay, (long) rtime ); | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ hist_io.c: In function ‘fix_transistors’: hist_io.c:423:14: warning: old-style function definition [-Wold-style-definition] 423 | private void fix_transistors( nd ) | ^~~~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist_io.c:431:30: note: in expansion of macro ‘compute_trans_state’ 431 | l->xtor->state = compute_trans_state( l->xtor ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist_io.c:435:26: note: in expansion of macro ‘compute_trans_state’ 435 | l->xtor->state = compute_trans_state( l->xtor ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ hist_io.c:437:26: note: in expansion of macro ‘compute_trans_state’ 437 | l->xtor->state = compute_trans_state( l->xtor ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ hist_io.c: In function ‘ReadHist’: hist_io.c:441:13: warning: old-style function definition [-Wold-style-definition] 441 | public void ReadHist( fname ) | ^~~~~~~~ hist_io.c:443:3: error: number of arguments doesn’t match prototype 443 | { | ^ globals.h:130:13: error: prototype declaration 130 | extern void ReadHist( /* fname */ ); | ^~~~~~~~ hist_io.c:468:13: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 468 | FreeHistList( n ); /* undo any work done */ | ^~~~~~~~~~~~ ~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ hist_io.c:470:17: error: too many arguments to function ‘free_event’; expected 0, have 1 470 | free_event( n->events ); | ^~~~~~~~~~ ~~~~~~~~~ globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: hist_io.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/config.o rm -f config.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c config.c config.c:87:3: warning: missing braces around initializer [-Wmissing-braces] 87 | { | ^ config.c: In function ‘ParseLine’: config.c:123:13: warning: old-style function definition [-Wold-style-definition] 123 | private int ParseLine( line, args ) | ^~~~~~~~~ config.c: In function ‘config’: config.c:152:12: warning: old-style function definition [-Wold-style-definition] 152 | public int config( cname ) | ^~~~~~ config.c:154:3: error: number of arguments doesn’t match prototype 154 | { | ^ In file included from config.c:22: globals.h:68:12: error: prototype declaration 68 | extern int config( /* cname */ ); | ^~~~~~ config.c:176:16: error: too many arguments to function ‘FileStatus’; expected 0, have 1 176 | stat = FileStatus( cname ); | ^~~~~~~~~~ ~~~~~ globals.h:22:15: note: declared here 22 | extern Fstat *FileStatus( /* name */ ); | ^~~~~~~~~~ config.c:181:20: error: too many arguments to function ‘FileStatus’; expected 0, have 1 181 | stat = FileStatus( prm_file ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:22:15: note: declared here 22 | extern Fstat *FileStatus( /* name */ ); | ^~~~~~~~~~ config.c:187:24: error: too many arguments to function ‘FileStatus’; expected 0, have 1 187 | stat = FileStatus( prm_file ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:22:15: note: declared here 22 | extern Fstat *FileStatus( /* name */ ); | ^~~~~~~~~~ config.c:208:5: error: too many arguments to function ‘fgetline’; expected 0, have 3 208 | fgetline(line, LSIZE, cfile); | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ config.c:212:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 212 | if (fgetline(line, LSIZE, cfile) == NULL) { | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ config.c:225:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 225 | while( fgetline( line, LSIZE, cfile ) != NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ config.c:231:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 231 | if( str_eql( "resistance", targv[0] ) == 0 ) | ^~~~~~~ ~~~~~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:234:17: error: too many arguments to function ‘insert’; expected 0, have 5 234 | insert( targv[1], targv[2], targv[3], targv[4], targv[5] ); | ^~~~~~ ~~~~~~~~ config.c:120:17: note: declared here 120 | private void insert(); | ^~~~~~ config.c:246:21: error: too many arguments to function ‘str_eql’; expected 0, have 2 246 | if( str_eql( p->name, targv[0] ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c: In function ‘lresist’: config.c:340:16: warning: old-style function definition [-Wold-style-definition] 340 | private double lresist( list, l, size ) | ^~~~~~~ config.c: In function ‘wresist’: config.c:364:16: warning: old-style function definition [-Wold-style-definition] 364 | private double wresist( list, w, l ) | ^~~~~~~ config.c: In function ‘requiv’: config.c:402:17: warning: old-style function definition [-Wold-style-definition] 402 | public Resists *requiv( type, width, length ) | ^~~~~~ config.c:405:3: error: number of arguments doesn’t match prototype 405 | { | ^ globals.h:69:17: error: prototype declaration 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ config.c:417:27: error: too many arguments to function ‘Valloc’; expected 0, have 2 417 | rtab = (resptr *) Valloc( RES_TAB_SIZE * sizeof( resptr * ), 1 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c:428:22: error: too many arguments to function ‘MallocList’; expected 0, have 2 428 | r = (resptr) MallocList( sizeof( ResEntry ), 1 ); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ config.c: In function ‘linsert’: config.c:450:14: warning: old-style function definition [-Wold-style-definition] 450 | private void linsert( list, l, resist ) | ^~~~~~~ config.c:467:30: error: too many arguments to function ‘Valloc’; expected 0, have 2 467 | lnew = (struct length *) Valloc( sizeof( struct length ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c: In function ‘winsert’: config.c:479:14: warning: old-style function definition [-Wold-style-definition] 479 | private void winsert( list, w, l, resist ) | ^~~~~~~ config.c:497:29: error: too many arguments to function ‘Valloc’; expected 0, have 2 497 | wnew = (struct width *) Valloc( sizeof( struct width ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c:498:30: error: too many arguments to function ‘Valloc’; expected 0, have 2 498 | lnew = (struct length *) Valloc( sizeof( struct length ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ config.c: In function ‘insert’: config.c:513:14: warning: old-style function definition [-Wold-style-definition] 513 | private void insert( type, context, w, l, r ) | ^~~~~~ config.c:530:9: error: too many arguments to function ‘str_eql’; expected 0, have 2 530 | if( str_eql( context, "static" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:532:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 532 | else if( str_eql( context, "dynamic-high" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:534:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 534 | else if( str_eql( context, "dynamic-low" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:536:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 536 | else if( str_eql( context, "power" ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:547:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 547 | if( str_eql( ttype[t], type ) == 0 ) | ^~~~~~~ ~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ config.c:554:18: error: too many arguments to function ‘str_eql’; expected 0, have 2 554 | else if( str_eql( ttype_drop[t], type ) == 0 ) | ^~~~~~~ ~~~~~~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ make[2]: *** [../rules.mak:15: config.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/sstep.o rm -f sstep.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c sstep.c In file included from sstep.c:29: stables.c:152:24: warning: missing braces around initializer [-Wmissing-braces] 152 | char transmit[46][4] = { | ^ stables.c:202:23: warning: missing braces around initializer [-Wmissing-braces] 202 | char smerge[46][46] = { | ^ ...... 205 | 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , | { ...... 210 | 0 , 0 , 0 , 0 , 0 , 0 , | } 211 | /* DH */ 212 | 0 , DH , DH , DH , DH , DH , DH , DH , | { ...... 217 | DH , DH , DHDL, DH , DHDL, DHDL, | } 218 | /* DHWH */ 219 | 0 , DH , DHWH, DHWH, DHWH, DHWH, DHWH, DHWH, | { ...... 224 | DHWH, DHWL, DHDL, DHWL, DHDL, DHDL, | } 225 | /* DHCH */ 226 | 0 , DH , DHWH, DHCH, DHCH, DHCH, DHCH, DHCL, | { ...... 231 | DHCL, DHWL, DHDL, DHWL, DHDL, DHDL, | } 232 | /* DHcH */ 233 | 0 , DH , DHWH, DHCH, DHcH, DHcH, DHcL, DHCL, | { ...... 238 | DHCL, DHWL, DHDL, DHWL, DHDL, DHDL, | } 239 | /* DHZ */ 240 | 0 , DH , DHWH, DHCH, DHcH, DHZ , DHcL, DHCL, | { ...... 245 | DHCL, DHWL, DHDL, DHWL, DHDL, DHDL, | } 246 | /* DHcL */ 247 | 0 , DH , DHWH, DHCH, DHcL, DHcL, DHcL, DHCL, | { ...... 252 | DHCL, DHWL, DHDL, DHWL, DHDL, DHDL, | } 253 | /* DHCL */ 254 | 0 , DH , DHWH, DHCL, DHCL, DHCL, DHCL, DHCL, | { ...... 259 | DHCL, DHWL, DHDL, DHWL, DHDL, DHDL, | } 260 | /* DHWL */ 261 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 266 | DHWL, DHWL, DHDL, DHWL, DHDL, DHDL, | } 267 | /* DHDL */ 268 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 273 | DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | } 274 | /* WH */ 275 | 0 , DH , DHWH, DHWH, DHWH, DHWH, DHWH, DHWH, | { ...... 280 | WH , WHWL, WHDL, WHWL, WHDL, DL , | } 281 | /* WHCH */ 282 | 0 , DH , DHWH, DHCH, DHCH, DHCH, DHCH, DHCL, | { ...... 287 | WHCL, WHWL, WHDL, WHWL, WHDL, DL , | } 288 | /* WHcH */ 289 | 0 , DH , DHWH, DHCH, DHcH, DHcH, DHcL, DHCL, | { ...... 294 | WHCL, WHWL, WHDL, WHWL, WHDL, DL , | } 295 | /* WHZ */ 296 | 0 , DH , DHWH, DHCH, DHcH, DHZ , DHcL, DHCL, | { ...... 301 | WHCL, WHWL, WHDL, WHWL, WHDL, DL , | } 302 | /* WHcL */ 303 | 0 , DH , DHWH, DHCH, DHcL, DHcL, DHcL, DHCL, | { ...... 308 | WHCL, WHWL, WHDL, WHWL, WHDL, DL , | } 309 | /* WHCL */ 310 | 0 , DH , DHWH, DHCL, DHCL, DHCL, DHCL, DHCL, | { ...... 315 | WHCL, WHWL, WHDL, WHWL, WHDL, DL , | } 316 | /* WHWL */ 317 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 322 | WHWL, WHWL, WHDL, WHWL, WHDL, DL , | } 323 | /* WHDL */ 324 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 329 | WHDL, WHDL, WHDL, WHDL, WHDL, DL , | } 330 | /* CH */ 331 | 0 , DH , DHWH, DHCH, DHCH, DHCH, DHCH, DHCL, | { ...... 336 | CHCL, CHWL, CHDL, WL , WLDL, DL , | } 337 | /* CHcH */ 338 | 0 , DH , DHWH, DHCH, DHcH, DHcH, DHcL, DHCL, | { ...... 343 | CHCL, CHWL, CHDL, WL , WLDL, DL , | } 344 | /* CHZ */ 345 | 0 , DH , DHWH, DHCH, DHcH, DHZ , DHcL, DHCL, | { ...... 350 | CHCL, CHWL, CHDL, WL , WLDL, DL , | } 351 | /* CHcL */ 352 | 0 , DH , DHWH, DHCH, DHcL, DHcL, DHcL, DHCL, | { ...... 357 | CHCL, CHWL, CHDL, WL , WLDL, DL , | } 358 | /* CHCL */ 359 | 0 , DH , DHWH, DHCL, DHCL, DHCL, DHCL, DHCL, | { ...... 364 | CHCL, CHWL, CHDL, WL , WLDL, DL , | } 365 | /* CHWL */ 366 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 371 | CHWL, CHWL, CHDL, WL , WLDL, DL , | } 372 | /* CHDL */ 373 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 378 | CHDL, CHDL, CHDL, WLDL, WLDL, DL , | } 379 | /* cH */ 380 | 0 , DH , DHWH, DHCH, DHcH, DHcH, DHcL, DHCL, | { ...... 385 | CL , CLWL, CLDL, WL , WLDL, DL , | } 386 | /* cHZ */ 387 | 0 , DH , DHWH, DHCH, DHcH, DHZ , DHcL, DHCL, | { ...... 392 | CL , CLWL, CLDL, WL , WLDL, DL , | } 393 | /* cHcL */ 394 | 0 , DH , DHWH, DHCH, DHcL, DHcL, DHcL, DHCL, | { ...... 399 | CL , CLWL, CLDL, WL , WLDL, DL , | } 400 | /* cHCL */ 401 | 0 , DH , DHWH, DHCL, DHCL, DHCL, DHCL, DHCL, | { ...... 406 | CL , CLWL, CLDL, WL , WLDL, DL , | } 407 | /* cHWL */ 408 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 413 | CLWL, CLWL, CLDL, WL , WLDL, DL , | } 414 | /* cHDL */ 415 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 420 | CLDL, CLDL, CLDL, WLDL, WLDL, DL , | } 421 | /* Z */ 422 | 0 , DH , DHWH, DHCH, DHcH, DHZ , DHcL, DHCL, | { ...... 427 | CL , CLWL, CLDL, WL , WLDL, DL , | } 428 | /* ZcL */ 429 | 0 , DH , DHWH, DHCH, DHcL, DHcL, DHcL, DHCL, | { ...... 434 | CL , CLWL, CLDL, WL , WLDL, DL , | } 435 | /* ZCL */ 436 | 0 , DH , DHWH, DHCL, DHCL, DHCL, DHCL, DHCL, | { ...... 441 | CL , CLWL, CLDL, WL , WLDL, DL , | } 442 | /* ZWL */ 443 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 448 | CLWL, CLWL, CLDL, WL , WLDL, DL , | } 449 | /* ZDL */ 450 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 455 | CLDL, CLDL, CLDL, WLDL, WLDL, DL , | } 456 | /* cL */ 457 | 0 , DH , DHWH, DHCH, DHcL, DHcL, DHcL, DHCL, | { ...... 462 | CL , CLWL, CLDL, WL , WLDL, DL , | } 463 | /* cLCL */ 464 | 0 , DH , DHWH, DHCL, DHCL, DHCL, DHCL, DHCL, | { ...... 469 | CL , CLWL, CLDL, WL , WLDL, DL , | } 470 | /* cLWL */ 471 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 476 | CLWL, CLWL, CLDL, WL , WLDL, DL , | } 477 | /* cLDL */ 478 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 483 | CLDL, CLDL, CLDL, WLDL, WLDL, DL , | } 484 | /* CL */ 485 | 0 , DH , DHWH, DHCL, DHCL, DHCL, DHCL, DHCL, | { ...... 490 | CL , CLWL, CLDL, WL , WLDL, DL , | } 491 | /* CLWL */ 492 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 497 | CLWL, CLWL, CLDL, WL , WLDL, DL , | } 498 | /* CLDL */ 499 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 504 | CLDL, CLDL, CLDL, WLDL, WLDL, DL , | } 505 | /* WL */ 506 | 0 , DH , DHWL, DHWL, DHWL, DHWL, DHWL, DHWL, | { ...... 511 | WL , WL , WLDL, WL , WLDL, DL , | } 512 | /* WLDL */ 513 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 518 | WLDL, WLDL, WLDL, WLDL, WLDL, DL , | } 519 | /* DL */ 520 | 0 , DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, DHDL, | { ...... 526 | }; | } sstep.c: In function ‘switch_model’: sstep.c:55:13: warning: old-style function definition [-Wold-style-definition] 55 | public void switch_model( n ) | ^~~~~~~~~~~~ sstep.c:57:3: error: number of arguments doesn’t match prototype 57 | { | ^ In file included from sstep.c:18: globals.h:336:13: error: prototype declaration 336 | extern void switch_model( /* n */ ); | ^~~~~~~~~~~~ sstep.c:63:9: error: too many arguments to function ‘BuildConnList’; expected 0, have 1 63 | BuildConnList( n ); | ^~~~~~~~~~~~~ ~ globals.h:76:13: note: declared here 76 | extern void BuildConnList( /* n */ ); | ^~~~~~~~~~~~~ sstep.c:83:34: error: too many arguments to function ‘sc_thev’; expected 0, have 2 83 | newval = logic_state[sc_thev( this, this->nflags & WATCHED ? 1 : 0 )]; | ^~~~~~~ ~~~~ sstep.c:32:16: note: declared here 32 | private int sc_thev(); | ^~~~~~~ sstep.c:125:17: error: too many arguments to function ‘PuntEvent’; expected 0, have 2 125 | PuntEvent( this, e ); | ^~~~~~~~~ ~~~~ globals.h:304:13: note: declared here 304 | extern void PuntEvent( /* node, ev */ ); | ^~~~~~~~~ sstep.c:136:17: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 136 | enqueue_event( this, newval, delta, tau ); | ^~~~~~~~~~~~~ ~~~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ sstep.c: In function ‘sc_thev’: sstep.c:183:13: warning: old-style function definition [-Wold-style-definition] 183 | private int sc_thev( n, level ) | ^~~~~~~ sstep.c:222:44: error: too many arguments to function ‘sc_thev’; expected 0, have 2 222 | t->dcache.i = transmit[sc_thev( t->drain, level ? level + 1 : 0 )][t->state]; | ^~~~~~~ ~~~~~~~~ sstep.c:183:13: note: declared here 183 | private int sc_thev( n, level ) | ^~~~~~~ sstep.c:231:44: error: too many arguments to function ‘sc_thev’; expected 0, have 2 231 | t->scache.i = transmit[sc_thev( t->source, level ? level + 1 : 0 )][t->state]; | ^~~~~~~ ~~~~~~~~~ sstep.c:183:13: note: declared here 183 | private int sc_thev( n, level ) | ^~~~~~~ make[2]: *** [../rules.mak:15: sstep.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/network.o rm -f network.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c network.c network.c: In function ‘pgvalue’: network.c:53:14: warning: old-style function definition [-Wold-style-definition] 53 | private void pgvalue( t ) | ^~~~~~~ network.c: In function ‘pr_one_res’: network.c:81:14: warning: old-style function definition [-Wold-style-definition] 81 | private void pr_one_res( s, r ) | ^~~~~~~~~~ network.c: In function ‘pr_t_res’: network.c:100:14: warning: old-style function definition [-Wold-style-definition] 100 | private void pr_t_res( fp, r ) | ^~~~~~~~ network.c: In function ‘ptrans’: network.c:113:14: warning: old-style function definition [-Wold-style-definition] 113 | private void ptrans( t ) | ^~~~~~ network.c: In function ‘idelete’: network.c:130:13: warning: old-style function definition [-Wold-style-definition] 130 | public void idelete( n, list ) | ^~~~~~~ network.c:133:3: error: number of arguments doesn’t match prototype 133 | { | ^ In file included from network.c:20: globals.h:182:13: error: prototype declaration 182 | extern void idelete( /* n, list */ ); | ^~~~~~~ network.c: In function ‘iinsert’: network.c:157:13: warning: old-style function definition [-Wold-style-definition] 157 | public void iinsert( n, list ) | ^~~~~~~ network.c:160:3: error: number of arguments doesn’t match prototype 160 | { | ^ globals.h:183:13: error: prototype declaration 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ network.c:164:29: error: too many arguments to function ‘MallocList’; expected 0, have 2 164 | p = infree = (iptr) MallocList( sizeof( struct Input ), 1 ); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ network.c: In function ‘iinsert_once’: network.c:173:13: warning: old-style function definition [-Wold-style-definition] 173 | public void iinsert_once( n, list ) | ^~~~~~~~~~~~ network.c:176:3: error: number of arguments doesn’t match prototype 176 | { | ^ globals.h:184:13: error: prototype declaration 184 | extern void iinsert_once( /* n, list */ ); | ^~~~~~~~~~~~ network.c:183:5: error: too many arguments to function ‘iinsert’; expected 0, have 2 183 | iinsert( n, list ); | ^~~~~~~ ~ network.c:157:13: note: declared here 157 | public void iinsert( n, list ) | ^~~~~~~ network.c: In function ‘clear_input’: network.c:187:13: warning: old-style function definition [-Wold-style-definition] 187 | private int clear_input( n ) | ^~~~~~~~~~~ network.c: In function ‘ClearInputs’: network.c:216:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 216 | walk_net( clear_input, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ network.c: In function ‘setin’: network.c:223:12: warning: old-style function definition [-Wold-style-definition] 223 | public int setin( n, which ) | ^~~~~ network.c:226:3: error: number of arguments doesn’t match prototype 226 | { | ^ globals.h:186:12: error: prototype declaration 186 | extern int setin( /* n, which */ ); | ^~~~~ network.c:258:21: error: too many arguments to function ‘idelete’; expected 0, have 2 258 | idelete( n, list ); | ^~~~~~~ ~ network.c:130:13: note: declared here 130 | public void idelete( n, list ) | ^~~~~~~ network.c:263:21: error: too many arguments to function ‘iinsert’; expected 0, have 2 263 | iinsert( n, &hinputs ); | ^~~~~~~ ~ network.c:157:13: note: declared here 157 | public void iinsert( n, list ) | ^~~~~~~ network.c:271:21: error: too many arguments to function ‘idelete’; expected 0, have 2 271 | idelete( n, list ); | ^~~~~~~ ~ network.c:130:13: note: declared here 130 | public void idelete( n, list ) | ^~~~~~~ network.c:276:21: error: too many arguments to function ‘iinsert’; expected 0, have 2 276 | iinsert( n, &linputs ); | ^~~~~~~ ~ network.c:157:13: note: declared here 157 | public void iinsert( n, list ) | ^~~~~~~ network.c:284:21: error: too many arguments to function ‘idelete’; expected 0, have 2 284 | idelete( n, list ); | ^~~~~~~ ~ network.c:130:13: note: declared here 130 | public void idelete( n, list ) | ^~~~~~~ network.c:289:21: error: too many arguments to function ‘iinsert’; expected 0, have 2 289 | iinsert( n, &uinputs ); | ^~~~~~~ ~ network.c:157:13: note: declared here 157 | public void iinsert( n, list ) | ^~~~~~~ network.c:299:21: error: too many arguments to function ‘idelete’; expected 0, have 2 299 | idelete( n, list ); | ^~~~~~~ ~ network.c:130:13: note: declared here 130 | public void idelete( n, list ) | ^~~~~~~ network.c:304:21: error: too many arguments to function ‘iinsert’; expected 0, have 2 304 | iinsert( n, &xinputs ); | ^~~~~~~ ~ network.c:157:13: note: declared here 157 | public void iinsert( n, list ) | ^~~~~~~ network.c: In function ‘wr_value’: network.c:315:13: warning: old-style function definition [-Wold-style-definition] 315 | private int wr_value( n, fp ) | ^~~~~~~~ network.c: In function ‘wr_state’: network.c:328:12: warning: old-style function definition [-Wold-style-definition] 328 | public int wr_state( fname ) | ^~~~~~~~ network.c:330:3: error: number of arguments doesn’t match prototype 330 | { | ^ globals.h:187:12: error: prototype declaration 187 | extern int wr_state( /* fname */ ); | ^~~~~~~~ network.c:337:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 337 | walk_net( wr_value, (char *) fp ); | ^~~~~~~~ ~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ network.c: In function ‘rd_stvalue’: network.c:351:13: warning: old-style function definition [-Wold-style-definition] 351 | private int rd_stvalue( n, st ) | ^~~~~~~~~~ network.c:360:5: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 360 | FreeHistList( n ); | ^~~~~~~~~~~~ ~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ network.c:362:9: error: too many arguments to function ‘free_event’; expected 0, have 1 362 | free_event( n->events ); | ^~~~~~~~~~ ~~~~~~~~~ globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ network.c:414:24: note: in expansion of macro ‘compute_trans_state’ 414 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ network.c: In function ‘rd_state’: network.c:421:14: warning: old-style function definition [-Wold-style-definition] 421 | public char *rd_state( fname, restore ) | ^~~~~~~~ network.c:424:3: error: number of arguments doesn’t match prototype 424 | { | ^ globals.h:188:14: error: prototype declaration 188 | extern char *rd_state( /* fname, restore */ ); | ^~~~~~~~ network.c:431:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 431 | (void) fgetline( rline, 25, st.file ); | ^~~~~~~~ ~~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ network.c:447:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 447 | walk_net( rd_stvalue, (char *) &st ); | ^~~~~~~~ ~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ network.c:452:9: error: too many arguments to function ‘RestartAnalyzer’; expected 0, have 3 452 | RestartAnalyzer( sim_time0, cur_delta, FALSE ); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:385:13: note: declared here 385 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ network.c: In function ‘info’: network.c:472:12: warning: old-style function definition [-Wold-style-definition] 472 | public int info( n, which ) | ^~~~ network.c:475:3: error: number of arguments doesn’t match prototype 475 | { | ^ globals.h:189:12: error: prototype declaration 189 | extern int info( /* n, which */ ); | ^~~~ network.c:504:29: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 504 | if ((*which == '?') || !strcmp(which, "querysource")) | ^~~~~~ network.c:21:1: note: include ‘’ or provide a declaration of ‘strcmp’ 20 | #include "globals.h" +++ |+#include 21 | make[2]: *** [../rules.mak:15: network.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/stack.o rm -f stack.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c stack.c stack.c: In function ‘CanMerge’: stack.c:64:13: warning: old-style function definition [-Wold-style-definition] 64 | private int CanMerge( n ) | ^~~~~~~~ stack.c: In function ‘StackCap’: stack.c:101:15: warning: old-style function definition [-Wold-style-definition] 101 | public double StackCap( t ) | ^~~~~~~~ stack.c:103:3: error: number of arguments doesn’t match prototype 103 | { | ^ In file included from stack.c:18: globals.h:342:15: error: prototype declaration 342 | extern double StackCap( /* t */ ); | ^~~~~~~~ stack.c: In function ‘make_stacks’: stack.c:135:13: warning: old-style function definition [-Wold-style-definition] 135 | public void make_stacks( nlist ) | ^~~~~~~~~~~ stack.c:137:3: error: number of arguments doesn’t match prototype 137 | { | ^ globals.h:343:13: error: prototype declaration 343 | extern void make_stacks( /* nlist */ ); | ^~~~~~~~~~~ stack.c:166:18: error: too many arguments to function ‘StackCap’; expected 0, have 1 166 | C1 = StackCap( t1 ) / 2.0; | ^~~~~~~~ ~~ stack.c:101:15: note: declared here 101 | public double StackCap( t ) | ^~~~~~~~ stack.c:172:18: error: too many arguments to function ‘StackCap’; expected 0, have 1 172 | C2 = StackCap( t2 ) / 2.0; | ^~~~~~~~ ~~ stack.c:101:15: note: declared here 101 | public double StackCap( t ) | ^~~~~~~~ In file included from stack.c:20: net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ stack.c:186:9: note: in expansion of macro ‘NEW_TRANS’ 186 | NEW_TRANS( stack ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ stack.c:187:32: error: too many arguments to function ‘Falloc’; expected 0, have 2 187 | stack->r = (Resists *) Falloc( sizeof( TranResist ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ globals.h:162:14: note: declared here 162 | extern char *Falloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ stack.c:223:22: error: too many arguments to function ‘StackCap’; expected 0, have 1 223 | C1 = StackCap( t1 ) / 2.0; | ^~~~~~~~ ~~ stack.c:101:15: note: declared here 101 | public double StackCap( t ) | ^~~~~~~~ stack.c:227:17: error: too many arguments to function ‘Ffree’; expected 0, have 2 227 | Ffree( t1->r, sizeof( TranResist ) ); | ^~~~~ ~~~~~ globals.h:163:13: note: declared here 163 | extern void Ffree( /* p, nbytes */ ); | ^~~~~ stack.c:251:17: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 251 | FreeHistList( n1 ); | ^~~~~~~~~~~~ ~~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ stack.c: In function ‘DestroyStack’: stack.c:259:13: warning: old-style function definition [-Wold-style-definition] 259 | public void DestroyStack( stack ) | ^~~~~~~~~~~~ stack.c:261:3: error: number of arguments doesn’t match prototype 261 | { | ^ globals.h:344:13: error: prototype declaration 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ stack.c:282:13: note: in expansion of macro ‘CONNECT’ 282 | CONNECT( n->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ stack.c:294:9: note: in expansion of macro ‘CONNECT’ 294 | CONNECT( n->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ stack.c:308:5: error: too many arguments to function ‘Ffree’; expected 0, have 2 308 | Ffree( stack->r, sizeof( TranResist ) ); | ^~~~~ ~~~~~~~~ globals.h:163:13: note: declared here 163 | extern void Ffree( /* p, nbytes */ ); | ^~~~~ make[2]: *** [../rules.mak:15: stack.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/eval.o rm -f eval.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c eval.c eval.c: In function ‘init_vdd_gnd’: eval.c:64:5: error: too many arguments to function ‘enqueue_input’; expected 0, have 2 64 | enqueue_input( VDD_node, HIGH ); | ^~~~~~~~~~~~~ ~~~~~~~~ In file included from eval.c:23: globals.h:302:13: note: declared here 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ eval.c:65:5: error: too many arguments to function ‘enqueue_input’; expected 0, have 2 65 | enqueue_input( GND_node, LOW ); | ^~~~~~~~~~~~~ ~~~~~~~~ globals.h:302:13: note: declared here 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ eval.c: In function ‘pr_decay’: eval.c:90:14: warning: old-style function definition [-Wold-style-definition] 90 | private void pr_decay( e ) | ^~~~~~~~ eval.c: In function ‘pr_watched’: eval.c:103:14: warning: old-style function definition [-Wold-style-definition] 103 | private void pr_watched( e, n ) | ^~~~~~~~~~ eval.c: In function ‘pr_capwatched’: eval.c:139:14: warning: old-style function definition [-Wold-style-definition] 139 | private void pr_capwatched( e, n ) | ^~~~~~~~~~~~~ eval.c: In function ‘acc_step_power’: eval.c:167:14: warning: old-style function definition [-Wold-style-definition] 167 | private void acc_step_power( n ) | ^~~~~~~~~~~~~~ eval.c: In function ‘MarkNodes’: eval.c:178:14: warning: old-style function definition [-Wold-style-definition] 178 | private void MarkNodes( evlist ) | ^~~~~~~~~ eval.c:201:13: error: too many arguments to function ‘SetInputs’; expected 0, have 2 201 | SetInputs( &hinputs, HIGH ); /* HIGH inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:44:14: note: declared here 44 | private void SetInputs( /* listp, val */ ); | ^~~~~~~~~ eval.c:202:13: error: too many arguments to function ‘SetInputs’; expected 0, have 2 202 | SetInputs( &linputs, LOW ); /* LOW inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:44:14: note: declared here 44 | private void SetInputs( /* listp, val */ ); | ^~~~~~~~~ eval.c:203:13: error: too many arguments to function ‘SetInputs’; expected 0, have 2 203 | SetInputs( &uinputs, X ); /* X inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:44:14: note: declared here 44 | private void SetInputs( /* listp, val */ ); | ^~~~~~~~~ eval.c:211:23: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 211 | new = EnqueueOther(TIMED_EV, cur_delta + (Ulong)e->delay); | ^~~~~~~~~~~~ globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ eval.c:217:17: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 217 | free((char *)e->enode); | ^~~~ eval.c:24:1: note: include ‘’ or provide a declaration of ‘free’ 23 | #include "globals.h" +++ |+#include 24 | eval.c:217:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 217 | free((char *)e->enode); | ^~~~ eval.c:217:17: note: include ‘’ or provide a declaration of ‘free’ eval.c:247:13: error: too many arguments to function ‘AddHist’; expected 0, have 6 247 | AddHist( n, n->npot, 0, e->ntime, (long) e->delay, (long) e->rtime ); | ^~~~~~~ ~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ eval.c:250:13: error: too many arguments to function ‘evalAssertWhen’; expected 0, have 1 250 | evalAssertWhen(n); | ^~~~~~~~~~~~~~ ~ globals.h:257:17: note: declared here 257 | extern void evalAssertWhen( /* n*/ ); | ^~~~~~~~~~~~~~ eval.c:253:43: error: too many arguments to function ‘IncHistEvCnt’; expected 0, have 1 253 | { extern int ev_hgm; if( ev_hgm ) IncHistEvCnt( -1 ); } | ^~~~~~~~~~~~ ~~ globals.h:262:13: note: declared here 262 | extern void IncHistEvCnt( /* tp */ ); | ^~~~~~~~~~~~ globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ eval.c:309:28: note: in expansion of macro ‘compute_trans_state’ 309 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ eval.c: In function ‘EvalNodes’: eval.c:365:14: warning: old-style function definition [-Wold-style-definition] 365 | private long EvalNodes( evlist ) | ^~~~~~~~~ eval.c:402:25: error: too many arguments to function ‘subckt_model_C’; expected 0, have 1 402 | subckt_model_C(t); | ^~~~~~~~~~~~~~ ~ globals.h:374:13: note: declared here 374 | extern void subckt_model_C( /* t */ ); | ^~~~~~~~~~~~~~ eval.c:408:26: error: too many arguments to function ‘model’; expected 0, have 1 408 | (*model)( t->source ); | ~^~~~~~~ ~~~~~~~~~ eval.c:410:26: error: too many arguments to function ‘model’; expected 0, have 1 410 | (*model)( t->drain ); | ~^~~~~~~ ~~~~~~~~ eval.c:423:22: error: too many arguments to function ‘model’; expected 0, have 1 423 | (*model)( other ); | ~^~~~~~~ ~~~~~ eval.c: In function ‘SetInputs’: eval.c:442:14: warning: old-style function definition [-Wold-style-definition] 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:460:9: error: too many arguments to function ‘enqueue_input’; expected 0, have 2 460 | enqueue_input( n, val ); | ^~~~~~~~~~~~~ ~ globals.h:302:13: note: declared here 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ eval.c:463:13: error: too many arguments to function ‘AddHist’; expected 0, have 6 463 | AddHist( n, val, 1, cur_delta, 0L, 0L ); | ^~~~~~~ ~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ eval.c: In function ‘EvalNOinputs’: eval.c:496:9: error: too many arguments to function ‘AddHist’; expected 0, have 6 496 | AddHist( n, (int) n->curr->val, 0, cur_delta, 0L, 0L ); | ^~~~~~~ ~ globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ eval.c:498:14: error: too many arguments to function ‘model’; expected 0, have 1 498 | (*model)( n ); | ~^~~~~~~ ~ eval.c: In function ‘step’: eval.c:510:12: warning: old-style function definition [-Wold-style-definition] 510 | public int step( stop_time ) | ^~~~ eval.c:512:3: error: number of arguments doesn’t match prototype 512 | { | ^ globals.h:93:12: error: prototype declaration 93 | extern int step( /* stop_time */ ); | ^~~~ eval.c:520:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2 520 | SetInputs( &hinputs, HIGH ); /* HIGH inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:442:14: note: declared here 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:521:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2 521 | SetInputs( &linputs, LOW ); /* LOW inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:442:14: note: declared here 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:522:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2 522 | SetInputs( &uinputs, X ); /* X inputs */ | ^~~~~~~~~ ~~~~~~~~ eval.c:442:14: note: declared here 442 | private void SetInputs( listp, val ) | ^~~~~~~~~ eval.c:535:22: error: too many arguments to function ‘get_next_event’; expected 0, have 1 535 | while( (evlist = get_next_event( stop_time )) != NULL ) | ^~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:287:14: note: declared here 287 | extern evptr get_next_event( /* stop_time */ ); | ^~~~~~~~~~~~~~ eval.c:549:17: error: too many arguments to function ‘disp_watch_vec’; expected 0, have 1 549 | disp_watch_vec( brk_flag ); | ^~~~~~~~~~~~~~ ~~~~~~~~ globals.h:258:13: note: declared here 258 | extern void disp_watch_vec( /* which */ ); | ^~~~~~~~~~~~~~ eval.c:567:9: error: too many arguments to function ‘UpdateWindow’; expected 0, have 1 567 | UpdateWindow( cur_delta ); | ^~~~~~~~~~~~ ~~~~~~~~~ globals.h:390:13: note: declared here 390 | extern void UpdateWindow( /* endT */ ); | ^~~~~~~~~~~~ eval.c: At top level: eval.c:576:3: warning: missing braces around initializer [-Wmissing-braces] 576 | { | ^ eval.c: In function ‘ComputeTransState’: eval.c:597:12: warning: old-style function definition [-Wold-style-definition] 597 | public int ComputeTransState( t ) | ^~~~~~~~~~~~~~~~~ eval.c:599:3: error: number of arguments doesn’t match prototype 599 | { | ^ globals.h:99:12: error: prototype declaration 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: eval.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/sim.o rm -f sim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c sim.c sim.c: In function ‘PrArgs’: sim.c:91:14: warning: old-style function definition [-Wold-style-definition] 91 | private void PrArgs( argc, argv ) | ^~~~~~ sim.c: In function ‘CheckErrs’: sim.c:101:14: warning: old-style function definition [-Wold-style-definition] 101 | private void CheckErrs( n ) | ^~~~~~~~~ sim.c:101:14: warning: type of ‘n’ defaults to ‘int’ [-Wimplicit-int] In file included from sim.c:34: sim.c: In function ‘connect_txtors’: net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ sim.c:156:17: note: in expansion of macro ‘CONNECT’ 156 | CONNECT( on_trans, t ); | ^~~~~~~ In file included from sim.c:33: globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ sim.c:160:17: note: in expansion of macro ‘CONNECT’ 160 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ sim.c:165:17: note: in expansion of macro ‘CONNECT’ 165 | CONNECT( src->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ sim.c:170:17: note: in expansion of macro ‘CONNECT’ 170 | CONNECT( drn->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sim.c: In function ‘node_info’: sim.c:184:14: warning: old-style function definition [-Wold-style-definition] 184 | private void node_info( targc, targv ) | ^~~~~~~~~ sim.c:193:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 193 | n = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c: In function ‘nnode_info’: sim.c:205:14: warning: old-style function definition [-Wold-style-definition] 205 | private void nnode_info( targc, targv ) | ^~~~~~~~~~ sim.c:214:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 214 | n = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c: In function ‘parseAttr’: sim.c:236:13: warning: old-style function definition [-Wold-style-definition] 236 | private int parseAttr(str, a, p) | ^~~~~~~~~ sim.c: In function ‘rconvert’: sim.c:263:15: warning: old-style function definition [-Wold-style-definition] 263 | private float rconvert( resstring ) | ^~~~~~~~ sim.c: In function ‘lconvert’: sim.c:301:15: warning: old-style function definition [-Wold-style-definition] 301 | private float lconvert( lstring ) | ^~~~~~~~ sim.c: In function ‘newtrans’: sim.c:334:14: warning: old-style function definition [-Wold-style-definition] 334 | private void newtrans( implant, targc, targv ) | ^~~~~~~~ sim.c:353:15: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 353 | src = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:354:15: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 354 | drn = RsimGetNode( targv[2] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:364:16: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 364 | gate = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:365:15: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 365 | src = RsimGetNode( targv[2] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:366:15: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 366 | drn = RsimGetNode( targv[3] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ sim.c:394:5: note: in expansion of macro ‘NEW_TRANS’ 394 | NEW_TRANS( t ); /* create new transistor */ | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sim.c:405:9: error: too many arguments to function ‘EnterPos’; expected 0, have 2 405 | EnterPos( t, TRUE ); /* Enter transistor position */ | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ sim.c:418:9: error: too many arguments to function ‘EnterPos’; expected 0, have 2 418 | EnterPos( t, FALSE ); /* Enter transistor position */ | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ sim.c:428:12: error: too many arguments to function ‘requiv’; expected 0, have 3 428 | t->r = requiv( implant, width, length ); | ^~~~~~ ~~~~~~~ globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ sim.c: In function ‘alias’: sim.c:472:13: warning: old-style function definition [-Wold-style-definition] 472 | public void alias( targc, targv ) | ^~~~~ sim.c:482:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 482 | n = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:486:13: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 486 | m = RsimGetNode( targv[i] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c: In function ‘nthresh’: sim.c:513:14: warning: old-style function definition [-Wold-style-definition] 513 | private void nthresh( targc, targv ) | ^~~~~~~ sim.c:522:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 522 | n = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c: In function ‘ndelay’: sim.c:531:14: warning: old-style function definition [-Wold-style-definition] 531 | private void ndelay( targc, targv ) | ^~~~~~ sim.c:540:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 540 | n = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c: In function ‘cconvert’: sim.c:546:15: warning: old-style function definition [-Wold-style-definition] 546 | private float cconvert( capstring ) | ^~~~~~~~ sim.c: In function ‘ncap’: sim.c:580:14: warning: old-style function definition [-Wold-style-definition] 580 | private void ncap( targc, targv ) | ^~~~ sim.c:589:13: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 589 | n = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:595:13: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 595 | n = RsimGetNode( targv[1] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:596:13: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 596 | m = RsimGetNode( targv[2] ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c: In function ‘parse_line’: sim.c:613:13: warning: old-style function definition [-Wold-style-definition] 613 | private int parse_line( line, carg ) | ^~~~~~~~~~ sim.c:621:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 621 | while( ch = *line++ ) | ^~ sim.c: In function ‘input_sim’: sim.c:640:13: warning: old-style function definition [-Wold-style-definition] 640 | private int input_sim (simfile, has_param_file) | ^~~~~~~~~ sim.c:670:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 670 | while (fgetline(line, LSIZE, fin) != NULL) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ sim.c:676:30: error: too many arguments to function ‘config’; expected 0, have 1 676 | has_param_file = config("scmos100"); | ^~~~~~ ~~~~~~~~~~ globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ sim.c:725:42: error: too many arguments to function ‘config’; expected 0, have 1 725 | has_param_file = config( prmname ); | ^~~~~~ ~~~~~~~ globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ sim.c:743:29: warning: implicit declaration of function ‘fabs’ [-Wimplicit-function-declaration] 743 | if (fabs(lmbd - LAMBDA)/LAMBDA > 0.01) | ^~~~ sim.c:35:1: note: include ‘’ or provide a declaration of ‘fabs’ 34 | #include "net_macros.h" +++ |+#include 35 | sim.c:743:29: warning: incompatible implicit declaration of built-in function ‘fabs’ [-Wbuiltin-declaration-mismatch] 743 | if (fabs(lmbd - LAMBDA)/LAMBDA > 0.01) | ^~~~ sim.c:743:29: note: include ‘’ or provide a declaration of ‘fabs’ sim.c:795:17: error: too many arguments to function ‘newsubckt’; expected 0, have 2 795 | newsubckt(targc, targv); | ^~~~~~~~~ ~~~~~ globals.h:371:13: note: declared here 371 | extern int newsubckt( /* targc, targv */ ); | ^~~~~~~~~ sim.c:843:36: error: too many arguments to function ‘rd_netfile’; expected 0, have 2 843 | if (lineno == 1 && rd_netfile(fin, line)) | ^~~~~~~~~~ ~~~ globals.h:27:12: note: declared here 27 | extern int rd_netfile( /* f, line */ ); | ^~~~~~~~~~ sim.c: In function ‘rd_network’: sim.c:875:12: warning: old-style function definition [-Wold-style-definition] 875 | public int rd_network( simfile, prefix, has_param_file ) | ^~~~~~~~~~ sim.c:879:3: error: number of arguments doesn’t match prototype 879 | { | ^ globals.h:329:12: error: prototype declaration 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ sim.c:888:20: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 888 | VDD_node = RsimGetNode( "Vdd" ); | ^~~~~~~~~~~ ~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ sim.c:899:20: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 899 | GND_node = RsimGetNode( "Gnd" ); | ^~~~~~~~~~~ ~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ sim.c:910:9: note: in expansion of macro ‘NEW_TRANS’ 910 | NEW_TRANS( tcap ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ sim.c: In function ‘ConnectNetwork’: sim.c:967:5: error: too many arguments to function ‘make_parallel’; expected 0, have 1 967 | make_parallel( ndlist ); | ^~~~~~~~~~~~~ ~~~~~~ globals.h:224:13: note: declared here 224 | extern void make_parallel( /* nlist */ ); | ^~~~~~~~~~~~~ sim.c:968:5: error: too many arguments to function ‘make_stacks’; expected 0, have 1 968 | make_stacks( ndlist ); | ^~~~~~~~~~~ ~~~~~~ globals.h:343:13: note: declared here 343 | extern void make_stacks( /* nlist */ ); | ^~~~~~~~~~~ make[2]: *** [../rules.mak:15: sim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/binsim.o rm -f binsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c binsim.c binsim.c: In function ‘wr_nodes’: binsim.c:140:23: error: too many arguments to function ‘StackCap’; expected 0, have 1 140 | cap += (StackCap( t ) / 2.0); | ^~~~~~~~ ~ In file included from binsim.c:26: globals.h:342:15: note: declared here 342 | extern double StackCap( /* t */ ); | ^~~~~~~~ In file included from binsim.c:28: binsim.c:149:38: error: too many arguments to function ‘Node2index’; expected 0, have 1 149 | PackBytes( node.n.alias, Node2index( n->nlink ), NB_NDINDEX ) | ^~~~~~~~~~ ~~~~~~~~ bin_io.h:59:36: note: in definition of macro ‘PackBytes’ 59 | register unsigned long B_T = (NUM); \ | ^~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:152:16: error: too many arguments to function ‘Fwrite’; expected 0, have 3 152 | (void) Fwrite( &node, Size_File_Node, fnet ); | ^~~~~~ ~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c:153:16: error: too many arguments to function ‘Fwrite’; expected 0, have 3 153 | (void) Fwrite( pnode( n ), slen, fnet ); | ^~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c:159:20: error: too many arguments to function ‘Fwrite’; expected 0, have 3 159 | (void) Fwrite( &delays, Size_File_Delay, fnet ); | ^~~~~~ ~~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c:165:20: error: too many arguments to function ‘Fwrite’; expected 0, have 3 165 | (void) Fwrite( &thresh, Size_File_Thresh, fnet ); | ^~~~~~ ~~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c: In function ‘wr_trans’: binsim.c:173:14: warning: old-style function definition [-Wold-style-definition] 173 | private void wr_trans( t ) | ^~~~~~~~ binsim.c:185:14: error: too many arguments to function ‘Node2index’; expected 0, have 1 185 | ndindx = Node2index( t->gate ); | ^~~~~~~~~~ ~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:188:14: error: too many arguments to function ‘Node2index’; expected 0, have 1 188 | ndindx = Node2index( t->source ); | ^~~~~~~~~~ ~~~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:191:14: error: too many arguments to function ‘Node2index’; expected 0, have 1 191 | ndindx = Node2index( t->drain ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:217:20: note: declared here 217 | extern pointertype Node2index( /* nd */ ); | ^~~~~~~~~~ binsim.c:206:12: error: too many arguments to function ‘Fwrite’; expected 0, have 3 206 | (void) Fwrite( &trans, Size_File_Trans, fnet ); | ^~~~~~ ~~~~~~ globals.h:105:12: note: declared here 105 | extern int Fwrite( /* ptr, size, fp */ ); | ^~~~~~ binsim.c: In function ‘wr_txtors’: binsim.c:210:14: warning: old-style function definition [-Wold-style-definition] 210 | private void wr_txtors( tlist ) | ^~~~~~~~~ binsim.c: In function ‘WriteAscii’: binsim.c:236:14: warning: old-style function definition [-Wold-style-definition] 236 | private void WriteAscii( f ) | ^~~~~~~~~~ binsim.c: In function ‘ReadAscii’: binsim.c:249:13: warning: old-style function definition [-Wold-style-definition] 249 | private int ReadAscii( f, line ) | ^~~~~~~~~ binsim.c:262:13: error: too many arguments to function ‘fgetline’; expected 0, have 3 262 | if( fgetline( line, 200, f ) == NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ binsim.c: In function ‘wr_netfile’: binsim.c:285:13: warning: old-style function definition [-Wold-style-definition] 285 | public void wr_netfile( fname ) | ^~~~~~~~~~ binsim.c:287:3: error: number of arguments doesn’t match prototype 287 | { | ^ globals.h:26:13: error: prototype declaration 26 | extern void wr_netfile( /* fname */ ); | ^~~~~~~~~~ binsim.c: In function ‘rd_nodes’: binsim.c:313:14: warning: old-style function definition [-Wold-style-definition] 313 | private void rd_nodes( nname, n_nodes ) | ^~~~~~~~ binsim.c:328:13: error: too many arguments to function ‘Fread’; expected 0, have 3 328 | if( Fread( &node, Size_File_Node, fnet ) != Size_File_Node ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:332:13: error: too many arguments to function ‘Fread’; expected 0, have 3 332 | if( Fread( nname, slen, fnet ) != slen ) | ^~~~~ ~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:335:13: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 335 | n = RsimGetNode( nname ); | ^~~~~~~~~~~ ~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ binsim.c:356:17: error: too many arguments to function ‘Fread’; expected 0, have 3 356 | if( Fread( &delays, Size_File_Delay, fnet ) != Size_File_Delay ) | ^~~~~ ~~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:364:17: error: too many arguments to function ‘Fread’; expected 0, have 3 364 | if( Fread( &thresh, Size_File_Thresh, fnet ) != Size_File_Thresh ) | ^~~~~ ~~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ binsim.c:378:20: error: too many arguments to function ‘Index2node’; expected 0, have 1 378 | n->nlink = Index2node( n->c.time ); | ^~~~~~~~~~ ~~~~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c: In function ‘rd_txtors’: binsim.c:395:12: error: too many arguments to function ‘Fread’; expected 0, have 3 395 | while( Fread( &trans, Size_File_Trans, fnet ) == Size_File_Trans ) | ^~~~~ ~~~~~~ globals.h:104:12: note: declared here 104 | extern int Fread( /* ptr, size, fp */ ); | ^~~~~ In file included from binsim.c:29: net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ binsim.c:397:9: note: in expansion of macro ‘NEW_TRANS’ 397 | NEW_TRANS( t ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ binsim.c:400:19: error: too many arguments to function ‘Index2node’; expected 0, have 1 400 | t->gate = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c:403:21: error: too many arguments to function ‘Index2node’; expected 0, have 1 403 | t->source = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c:406:20: error: too many arguments to function ‘Index2node’; expected 0, have 1 406 | t->drain = Index2node( ndindx ); | ^~~~~~~~~~ ~~~~~~ globals.h:216:13: note: declared here 216 | extern nptr Index2node( /* index */ ); | ^~~~~~~~~~ binsim.c:418:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 418 | EnterPos( t, TRUE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ binsim.c:421:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 421 | EnterPos( t, FALSE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ binsim.c:423:16: error: too many arguments to function ‘requiv’; expected 0, have 3 423 | t->r = requiv( (int) t->ttype, width, length ); | ^~~~~~ ~~~~~~~~~~~~~~ globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ binsim.c: In function ‘rd_netfile’: binsim.c:434:12: warning: old-style function definition [-Wold-style-definition] 434 | public int rd_netfile( f, line ) | ^~~~~~~~~~ binsim.c:437:3: error: number of arguments doesn’t match prototype 437 | { | ^ globals.h:27:12: error: prototype declaration 27 | extern int rd_netfile( /* f, line */ ); | ^~~~~~~~~~ binsim.c:443:9: error: too many arguments to function ‘fgetline’; expected 0, have 3 443 | if( fgetline( line, 200, f ) == NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ binsim.c:464:5: error: too many arguments to function ‘adjust_transistors’; expected 0, have 1 464 | adjust_transistors( brd_tlist ); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ binsim.c:38:17: note: declared here 38 | private void adjust_transistors(); | ^~~~~~~~~~~~~~~~~~ binsim.c: In function ‘adjust_transistors’: binsim.c:470:14: warning: old-style function definition [-Wold-style-definition] 470 | private void adjust_transistors( tlist ) | ^~~~~~~~~~~~~~~~~~ binsim.c: In function ‘bin_connect_txtors’: net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:538:17: note: in expansion of macro ‘CONNECT’ 538 | CONNECT( on_trans, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:542:17: note: in expansion of macro ‘CONNECT’ 542 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:547:17: note: in expansion of macro ‘CONNECT’ 547 | CONNECT( t->source->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ binsim.c:552:17: note: in expansion of macro ‘CONNECT’ 552 | CONNECT( t->drain->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: binsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/access.o rm -f access.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c access.c access.c: In function ‘FileStatus’: access.c:34:15: warning: old-style function definition [-Wold-style-definition] 34 | public Fstat *FileStatus( name ) | ^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/newrstep.o rm -f newrstep.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c newrstep.c newrstep.c: In function ‘linear_model’: newrstep.c:156:13: warning: old-style function definition [-Wold-style-definition] 156 | public void linear_model( n ) | ^~~~~~~~~~~~ newrstep.c:158:3: error: number of arguments doesn’t match prototype 158 | { | ^ In file included from newrstep.c:33: globals.h:197:13: error: prototype declaration 197 | extern void linear_model( /* n */ ); | ^~~~~~~~~~~~ newrstep.c:167:9: error: too many arguments to function ‘BuildConnList’; expected 0, have 1 167 | BuildConnList( n ); | ^~~~~~~~~~~~~ ~ globals.h:76:13: note: declared here 76 | extern void BuildConnList( /* n */ ); | ^~~~~~~~~~~~~ newrstep.c:172:9: error: too many arguments to function ‘CleanEvents’; expected 0, have 1 172 | CleanEvents( n ); | ^~~~~~~~~~~ ~ newrstep.c:147:32: note: declared here 147 | private void parallel_op(), CleanEvents(); | ^~~~~~~~~~~ newrstep.c:180:12: error: too many arguments to function ‘schedulePureCS’; expected 0, have 1 180 | schedulePureCS( n ); | ^~~~~~~~~~~~~~ ~ newrstep.c:146:35: note: declared here 146 | private void scheduleDriven(), schedulePureCS(), UndoConnList(); | ^~~~~~~~~~~~~~ newrstep.c:183:5: error: too many arguments to function ‘UndoConnList’; expected 0, have 1 183 | UndoConnList( n ); | ^~~~~~~~~~~~ ~ newrstep.c:146:53: note: declared here 146 | private void scheduleDriven(), schedulePureCS(), UndoConnList(); | ^~~~~~~~~~~~ newrstep.c: In function ‘CleanEvents’: newrstep.c:187:14: warning: old-style function definition [-Wold-style-definition] 187 | private void CleanEvents( n ) | ^~~~~~~~~~~ newrstep.c:195:13: error: too many arguments to function ‘PuntEvent’; expected 0, have 2 195 | PuntEvent( n, ev ); | ^~~~~~~~~ ~ globals.h:304:13: note: declared here 304 | extern void PuntEvent( /* node, ev */ ); | ^~~~~~~~~ newrstep.c: In function ‘EnqueDecay’: newrstep.c:201:14: warning: old-style function definition [-Wold-style-definition] 201 | private void EnqueDecay( n, decayval ) | ^~~~~~~~~~ newrstep.c:215:13: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 215 | enqueue_event( n, DECAY, (long) decayval, (long) decayval ); | ^~~~~~~~~~~~~ ~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ newrstep.c: In function ‘UndoConnList’: newrstep.c:223:14: warning: old-style function definition [-Wold-style-definition] 223 | private void UndoConnList( n ) | ^~~~~~~~~~~~ newrstep.c:283:5: error: too many arguments to function ‘RecordConnList’; expected 0, have 1 283 | RecordConnList( num_trans ); | ^~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:399:13: note: declared here 399 | extern void RecordConnList( /* num_trans */ ); | ^~~~~~~~~~~~~~ newrstep.c: In function ‘QueueFVal’: newrstep.c:298:13: warning: old-style function definition [-Wold-style-definition] 298 | public void QueueFVal( nd, fval, tau, delay ) | ^~~~~~~~~ newrstep.c:302:3: error: number of arguments doesn’t match prototype 302 | { | ^ globals.h:198:13: error: prototype declaration 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ newrstep.c:315:9: error: too many arguments to function ‘PuntEvent’; expected 0, have 2 315 | PuntEvent( nd, ev ); | ^~~~~~~~~ ~~ globals.h:304:13: note: declared here 304 | extern void PuntEvent( /* node, ev */ ); | ^~~~~~~~~ newrstep.c:322:9: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 322 | enqueue_event( nd, fval, (long) delta, (long) ps2d( tau ) ); | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ newrstep.c:327:9: error: too many arguments to function ‘print_final’; expected 0, have 4 327 | print_final( nd, queued, tau, delta ); | ^~~~~~~~~~~ ~~ newrstep.c:154:17: note: declared here 154 | private void print_final(), print_spike(), print_spk(); | ^~~~~~~~~~~ newrstep.c: In function ‘QueueSpike’: newrstep.c:331:14: warning: old-style function definition [-Wold-style-definition] 331 | private void QueueSpike( nd, spk ) | ^~~~~~~~~~ newrstep.c:339:9: error: too many arguments to function ‘PuntEvent’; expected 0, have 2 339 | PuntEvent( nd, ev ); | ^~~~~~~~~ ~~ globals.h:304:13: note: declared here 304 | extern void PuntEvent( /* node, ev */ ); | ^~~~~~~~~ newrstep.c:355:9: error: too many arguments to function ‘print_spike’; expected 0, have 4 355 | print_spike( nd, spk, ch_delta, dr_delta ); | ^~~~~~~~~~~ ~~ newrstep.c:154:32: note: declared here 154 | private void print_final(), print_spike(), print_spk(); | ^~~~~~~~~~~ newrstep.c:363:5: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 363 | enqueue_event( nd, (int) spk->charge, (long) ch_delta, (long) ch_delta ); | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ newrstep.c:364:5: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 364 | enqueue_event( nd, (int) nd->npot, (long) dr_delta, (long) ch_delta ); | ^~~~~~~~~~~~~ ~~ globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ newrstep.c: In function ‘scheduleDriven’: newrstep.c:381:17: error: too many arguments to function ‘get_tau’; expected 0, have 4 381 | r = get_tau( nd, (tptr) NULL, dom, inc_level ); | ^~~~~~~ ~~ newrstep.c:150:44: note: declared here 150 | private Thev get_dc_val(), series_op(), get_tau(); | ^~~~~~~ newrstep.c:384:17: error: too many arguments to function ‘print_tau’; expected 0, have 3 384 | print_tau( nd, r, -1 ); | ^~~~~~~~~ ~~ newrstep.c:153:43: note: declared here 153 | private void print_dc(), print_fval(), print_tau(), print_taup(); | ^~~~~~~~~ newrstep.c:397:21: error: too many arguments to function ‘PuntEvent’; expected 0, have 2 397 | PuntEvent( nd, ev ); | ^~~~~~~~~ ~~ globals.h:304:13: note: declared here 304 | extern void PuntEvent( /* node, ev */ ); | ^~~~~~~~~ newrstep.c:434:13: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 434 | QueueFVal( nd, (int) r->final, tau, delay ); | ^~~~~~~~~ ~~ newrstep.c:298:13: note: declared here 298 | public void QueueFVal( nd, fval, tau, delay ) | ^~~~~~~~~ newrstep.c:447:27: error: too many arguments to function ‘get_tauP’; expected 0, have 4 447 | r->tauP = get_tauP( nd, (tptr) NULL, dom, inc_level ); | ^~~~~~~~ ~~ newrstep.c:151:17: note: declared here 151 | private double get_tauP(); | ^~~~~~~~ newrstep.c:451:33: error: too many arguments to function ‘ComputeSpike’; expected 0, have 3 451 | QueueSpike( nd, ComputeSpike( nd, r, dom ) ); | ^~~~~~~~~~~~ ~~ newrstep.c:152:17: note: declared here 152 | private pspk ComputeSpike(); | ^~~~~~~~~~~~ newrstep.c: In function ‘schedulePureCS’: newrstep.c:458:14: warning: old-style function definition [-Wold-style-definition] 458 | private void schedulePureCS( nlist ) | ^~~~~~~~~~~~~~ newrstep.c:476:13: error: too many arguments to function ‘get_tau’; expected 0, have 4 476 | r = get_tau( nd, (tptr) NULL, dom, inc_level ); | ^~~~~~~ ~~ newrstep.c:150:44: note: declared here 150 | private Thev get_dc_val(), series_op(), get_tau(); | ^~~~~~~ newrstep.c:519:9: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 519 | QueueFVal( nd, (int) r->final, tau, delay ); | ^~~~~~~~~ ~~ newrstep.c:298:13: note: declared here 298 | public void QueueFVal( nd, fval, tau, delay ) | ^~~~~~~~~ newrstep.c: In function ‘ComputeDC’: newrstep.c:529:13: warning: old-style function definition [-Wold-style-definition] 529 | private int ComputeDC( nlist ) | ^~~~~~~~~ newrstep.c:540:28: error: too many arguments to function ‘get_dc_val’; expected 0, have 3 540 | this->n.thev = r = get_dc_val( this, (tptr) NULL, inc_level ); | ^~~~~~~~~~ ~~~~ newrstep.c:150:17: note: declared here 150 | private Thev get_dc_val(), series_op(), get_tau(); | ^~~~~~~~~~ newrstep.c:608:13: error: too many arguments to function ‘print_fval’; expected 0, have 2 608 | print_fval( this, r ); | ^~~~~~~~~~ ~~~~ newrstep.c:153:29: note: declared here 153 | private void print_dc(), print_fval(), print_tau(), print_taup(); | ^~~~~~~~~~ newrstep.c: In function ‘get_dc_val’: newrstep.c:636:14: warning: old-style function definition [-Wold-style-definition] 636 | private Thev get_dc_val( n, tran, level ) | ^~~~~~~~~~ newrstep.c:618:22: error: too many arguments to function ‘MallocList’; expected 0, have 2 618 | (T) = (Thev) MallocList( sizeof( thevenin ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ newrstep.c:647:5: note: in expansion of macro ‘NEW_THEV’ 647 | NEW_THEV( r ); | ^~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ newrstep.c:687:32: error: too many arguments to function ‘get_dc_val’; expected 0, have 3 687 | cache = series_op( get_dc_val( other, t, level+inc_level ), t ); | ^~~~~~~~~~ ~~~~~ newrstep.c:636:14: note: declared here 636 | private Thev get_dc_val( n, tran, level ) | ^~~~~~~~~~ newrstep.c:687:21: error: too many arguments to function ‘series_op’; expected 0, have 2 687 | cache = series_op( get_dc_val( other, t, level+inc_level ), t ); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newrstep.c:150:31: note: declared here 150 | private Thev get_dc_val(), series_op(), get_tau(); | ^~~~~~~~~ newrstep.c:690:9: error: too many arguments to function ‘parallel_op’; expected 0, have 2 690 | parallel_op( r, cache ); | ^~~~~~~~~~~ ~ newrstep.c:147:17: note: declared here 147 | private void parallel_op(), CleanEvents(); | ^~~~~~~~~~~ newrstep.c:700:9: error: too many arguments to function ‘print_dc’; expected 0, have 3 700 | print_dc( n, r, level ); | ^~~~~~~~ ~ newrstep.c:153:17: note: declared here 153 | private void print_dc(), print_fval(), print_tau(), print_taup(); | ^~~~~~~~ newrstep.c: In function ‘get_parallel’: newrstep.c:742:14: warning: old-style function definition [-Wold-style-definition] 742 | private void get_parallel( r, t, restype ) | ^~~~~~~~~~~~ newrstep.c: In function ‘get_min_parallel’: newrstep.c:771:6: warning: old-style function definition [-Wold-style-definition] 771 | void get_min_parallel( r, t ) | ^~~~~~~~~~~~~~~~ newrstep.c: In function ‘series_op’: newrstep.c:804:14: warning: old-style function definition [-Wold-style-definition] 804 | private Thev series_op( r, t ) | ^~~~~~~~~ newrstep.c: In function ‘parallel_op’: newrstep.c:866:14: warning: old-style function definition [-Wold-style-definition] 866 | private void parallel_op( r, new ) | ^~~~~~~~~~~ newrstep.c: In function ‘GetTin’: newrstep.c:936:13: warning: old-style function definition [-Wold-style-definition] 936 | private int GetTin( t, ptin ) | ^~~~~~ newrstep.c: In function ‘parallel_GetTin’: newrstep.c:976:13: warning: old-style function definition [-Wold-style-definition] 976 | private int parallel_GetTin( t, itau ) | ^~~~~~~~~~~~~~~ newrstep.c: In function ‘get_tau’: newrstep.c:1018:14: warning: old-style function definition [-Wold-style-definition] 1018 | private Thev get_tau( n, tran, dom, level ) | ^~~~~~~ newrstep.c:1091:21: error: too many arguments to function ‘get_tau’; expected 0, have 4 1091 | cache = get_tau( other, t, dom, level + inc_level ); | ^~~~~~~ ~~~~~ newrstep.c:1018:14: note: declared here 1018 | private Thev get_tau( n, tran, dom, level ) | ^~~~~~~ newrstep.c:1152:9: error: too many arguments to function ‘print_tau’; expected 0, have 3 1152 | print_tau( n, r, level ); | ^~~~~~~~~ ~ newrstep.c:153:43: note: declared here 153 | private void print_dc(), print_fval(), print_tau(), print_taup(); | ^~~~~~~~~ newrstep.c: In function ‘get_tauP’: newrstep.c:1166:16: warning: old-style function definition [-Wold-style-definition] 1166 | private double get_tauP( n, tran, dom, level ) | ^~~~~~~~ newrstep.c:1184:13: error: too many arguments to function ‘get_tau’; expected 0, have 4 1184 | r = get_tau( n, (tptr) NULL, dom, 0 ); | ^~~~~~~ ~ newrstep.c:1018:14: note: declared here 1018 | private Thev get_tau( n, tran, dom, level ) | ^~~~~~~ newrstep.c:1204:24: error: too many arguments to function ‘get_tauP’; expected 0, have 4 1204 | r->tauP *= get_tauP( other, t, dom, level + inc_level ); | ^~~~~~~~ ~~~~~ newrstep.c:1166:16: note: declared here 1166 | private double get_tauP( n, tran, dom, level ) | ^~~~~~~~ newrstep.c:1210:9: error: too many arguments to function ‘print_taup’; expected 0, have 3 1210 | print_taup( n, level, taup ); | ^~~~~~~~~~ ~ newrstep.c:153:56: note: declared here 153 | private void print_dc(), print_fval(), print_tau(), print_taup(); | ^~~~~~~~~~ In file included from newrstep.c:1216: spiketbl.c: At top level: spiketbl.c:10:1: warning: missing braces around initializer [-Wmissing-braces] 10 | { | ^ 11 | /* non-linear nmos driven low / pmos driven high */ 12 | /* .01 */ 0.005, 0.051, 0.106, 0.163, | {{ 13 | 0.225, 0.293, 0.367, 0.452, 14 | 0.552, 0.683, 0.899, | } 15 | /* 0.1 */ 0.005, 0.051, 0.105, 0.162, | { 16 | 0.223, 0.288, 0.360, 0.441, 17 | 0.537, 0.661, 0.852, | } 18 | /* 0.2 */ 0.005, 0.051, 0.104, 0.159, | { 19 | 0.217, 0.278, 0.345, 0.419, 20 | 0.505, 0.614, 0.768, | } 21 | /* 0.3 */ 0.005, 0.051, 0.102, 0.154, | { 22 | 0.208, 0.265, 0.325, 0.390, 23 | 0.464, 0.555, 0.676, | } 24 | /* 0.4 */ 0.005, 0.050, 0.099, 0.148, | { 25 | 0.197, 0.248, 0.300, 0.355, 26 | 0.417, 0.490, 0.583, | } 27 | /* 0.5 */ 0.005, 0.049, 0.096, 0.140, | { 28 | 0.184, 0.226, 0.270, 0.315, 29 | 0.363, 0.419, 0.487, | } 30 | /* 0.6 */ 0.005, 0.048, 0.090, 0.129, | { 31 | 0.166, 0.200, 0.234, 0.269, 32 | 0.304, 0.344, 0.392, | } 33 | /* 0.7 */ 0.005, 0.046, 0.083, 0.114, | { 34 | 0.142, 0.168, 0.192, 0.216, 35 | 0.240, 0.266, 0.295, | } 36 | /* 0.8 */ 0.005, 0.042, 0.071, 0.093, | { 37 | 0.112, 0.128, 0.142, 0.156, 38 | 0.169, 0.182, 0.198, | } 39 | /* 0.9 */ 0.005, 0.033, 0.050, 0.061, | { 40 | 0.069, 0.076, 0.081, 0.086, 41 | 0.090, 0.093, 0.099, | } 42 | /* .99 */ 0.003, 0.008, 0.009, 0.009, | { 43 | 0.009, 0.010, 0.010, 0.010, 44 | 0.010, 0.010, 0.010, | }} ...... 47 | /* .01 */ 0.100, 0.313, 0.441, 0.540, | {{ 48 | 0.623, 0.696, 0.762, 0.824, 49 | 0.882, 0.937, 0.984, | } 50 | /* 0.1 */ 0.097, 0.292, 0.404, 0.489, | { 51 | 0.560, 0.624, 0.682, 0.736, 52 | 0.789, 0.830, 0.893, | } 53 | /* 0.2 */ 0.094, 0.272, 0.370, 0.443, | { 54 | 0.503, 0.557, 0.606, 0.652, 55 | 0.698, 0.745, 0.793, | } 56 | /* 0.3 */ 0.091, 0.252, 0.337, 0.398, | { 57 | 0.449, 0.494, 0.534, 0.573, 58 | 0.612, 0.652, 0.694, | } 59 | /* 0.4 */ 0.087, 0.232, 0.304, 0.355, | { 60 | 0.396, 0.432, 0.465, 0.496, 61 | 0.527, 0.560, 0.594, | } 62 | /* 0.5 */ 0.083, 0.209, 0.269, 0.310, | { 63 | 0.342, 0.370, 0.396, 0.420, 64 | 0.444, 0.468, 0.496, | } 65 | /* 0.6 */ 0.078, 0.184, 0.231, 0.262, | { 66 | 0.286, 0.307, 0.325, 0.343, 67 | 0.360, 0.377, 0.397, | } 68 | /* 0.7 */ 0.071, 0.155, 0.189, 0.210, | { 69 | 0.227, 0.241, 0.253, 0.264, 70 | 0.275, 0.286, 0.298, | } 71 | /* 0.8 */ 0.061, 0.120, 0.140, 0.153, | { 72 | 0.162, 0.169, 0.176, 0.182, 73 | 0.187, 0.193, 0.199, | } 74 | /* 0.9 */ 0.045, 0.073, 0.081, 0.085, | { 75 | 0.088, 0.091, 0.093, 0.095, 76 | 0.096, 0.098, 0.100, | } 77 | /* .99 */ 0.009, 0.010, 0.010, 0.010, | { 78 | 0.010, 0.010, 0.010, 0.010, 79 | 0.010, 0.010, 0.010, | }} ...... 82 | /* .01 */ 0.010, 0.099, 0.198, 0.296, | {{ 83 | 0.394, 0.491, 0.589, 0.688, 84 | 0.787, 0.887, 0.979, | } 85 | /* 0.1 */ 0.010, 0.095, 0.185, 0.272, | { 86 | 0.357, 0.441, 0.525, 0.610, 87 | 0.699, 0.792, 0.887, | } 88 | /* 0.2 */ 0.010, 0.091, 0.173, 0.250, | { 89 | 0.324, 0.396, 0.468, 0.541, 90 | 0.617, 0.699, 0.787, | } 91 | /* 0.3 */ 0.010, 0.087, 0.162, 0.230, | { 92 | 0.294, 0.355, 0.416, 0.477, 93 | 0.541, 0.610, 0.688, | } 94 | /* 0.4 */ 0.010, 0.083, 0.150, 0.209, | { 95 | 0.264, 0.315, 0.365, 0.416, 96 | 0.468, 0.525, 0.589, | } 97 | /* 0.5 */ 0.010, 0.078, 0.137, 0.188, | { 98 | 0.233, 0.275, 0.315, 0.355, 99 | 0.396, 0.441, 0.491, | } 100 | /* 0.6 */ 0.009, 0.072, 0.123, 0.164, | { 101 | 0.200, 0.233, 0.264, 0.294, 102 | 0.324, 0.357, 0.394, | } 103 | /* 0.7 */ 0.009, 0.065, 0.106, 0.138, | { 104 | 0.164, 0.188, 0.209, 0.230, 105 | 0.250, 0.272, 0.296, | } 106 | /* 0.8 */ 0.009, 0.055, 0.085, 0.106, | { 107 | 0.123, 0.137, 0.150, 0.162, 108 | 0.173, 0.185, 0.198, | } 109 | /* 0.9 */ 0.008, 0.039, 0.055, 0.065, | { 110 | 0.072, 0.078, 0.083, 0.087, 111 | 0.091, 0.095, 0.099, | } 112 | /* .99 */ 0.004, 0.008, 0.009, 0.009, | { ...... 115 | }; | }} spiketbl.c:118:1: warning: missing braces around initializer [-Wmissing-braces] 118 | { | ^ 119 | /* .01 */ 9.12006e+00, 6.31441e-01, 2.57972e-01, 1.44287e-01, | { 120 | 9.08200e-02, 6.01663e-02, 4.03907e-02, 2.65355e-02, 121 | 1.61530e-02, 7.81327e-03, 9.32511e-04, | } 122 | /* 0.1 */ 6.75920e+01, 4.23025e+00, 1.67348e+00, 9.22844e-01, | { 123 | 5.78068e-01, 3.83611e-01, 2.59448e-01, 1.72782e-01, 124 | 1.07510e-01, 5.40007e-02, 7.10297e-03, | } 125 | /* 0.2 */ 1.19421e+02, 7.15202e+00, 2.80304e+00, 1.54448e+00, | { 126 | 9.70528e-01, 6.47718e-01, 4.41433e-01, 2.96820e-01, 127 | 1.86968e-01, 9.55642e-02, 1.30529e-02, | } 128 | /* 0.3 */ 1.63622e+02, 9.51381e+00, 3.72112e+00, 2.05847e+00, | { 129 | 1.30175e+00, 8.75381e-01, 6.01600e-01, 4.08196e-01, 130 | 2.59717e-01, 1.34386e-01, 1.87625e-02, | } 131 | /* 0.4 */ 2.01466e+02, 1.14592e+01, 4.49666e+00, 2.50681e+00, | { 132 | 1.59963e+00, 1.08575e+00, 7.53099e-01, 5.15657e-01, 133 | 3.31075e-01, 1.72965e-01, 2.44792e-02, | } 134 | /* 0.5 */ 2.33031e+02, 1.30456e+01, 5.16491e+00, 2.91360e+00, | { 135 | 1.88135e+00, 1.29123e+00, 9.04789e-01, 6.25272e-01, 136 | 4.04824e-01, 2.13117e-01, 3.03870e-02, | } 137 | /* 0.6 */ 2.57614e+02, 1.42986e+01, 5.75449e+00, 3.30168e+00, | { 138 | 2.16446e+00, 1.50508e+00, 1.06642e+00, 7.43858e-01, 139 | 4.85264e-01, 2.56919e-01, 3.66949e-02, | } 140 | /* 0.7 */ 2.73495e+02, 1.52373e+01, 6.30568e+00, 3.70558e+00, | { 141 | 2.47626e+00, 1.74816e+00, 1.25340e+00, 8.82200e-01, 142 | 5.79179e-01, 3.07615e-01, 4.37233e-02, | } 143 | /* 0.8 */ 2.76873e+02, 1.59248e+01, 6.91424e+00, 4.20379e+00, | { 144 | 2.87725e+00, 2.06596e+00, 1.49889e+00, 1.06318e+00, 145 | 7.00760e-01, 3.71884e-01, 5.21156e-02, | } 146 | /* 0.9 */ 2.57710e+02, 1.67902e+01, 7.96238e+00, 5.07908e+00, | { 147 | 3.57464e+00, 2.60911e+00, 1.90987e+00, 1.35912e+00, 148 | 8.94002e-01, 4.70028e-01, 6.37819e-02, | } 149 | /* .99 */ 1.96679e+02, 2.57710e+01, 1.38437e+01, 9.11648e+00, | { ...... 152 | }; | } newrstep.c: In function ‘ComputeSpike’: newrstep.c:1226:14: warning: old-style function definition [-Wold-style-definition] 1226 | private pspk ComputeSpike( nd, r, dom ) | ^~~~~~~~~~~~ newrstep.c:1302:9: error: too many arguments to function ‘print_spk’; expected 0, have 8 1302 | print_spk( nd, r, tab_indx, dom, alpha, beta, &spk, TRUE ); | ^~~~~~~~~ ~~ newrstep.c:154:47: note: declared here 154 | private void print_final(), print_spike(), print_spk(); | ^~~~~~~~~ newrstep.c:1307:9: error: too many arguments to function ‘print_spk’; expected 0, have 8 1307 | print_spk( nd, r, tab_indx, dom, alpha, beta, &spk, FALSE ); | ^~~~~~~~~ ~~ newrstep.c:154:47: note: declared here 154 | private void print_final(), print_spike(), print_spk(); | ^~~~~~~~~ newrstep.c: In function ‘get_indent’: newrstep.c:1447:15: warning: old-style function definition [-Wold-style-definition] 1447 | private char *get_indent( i ) | ^~~~~~~~~~ newrstep.c: In function ‘r2ascii’: newrstep.c:1469:15: warning: old-style function definition [-Wold-style-definition] 1469 | private char *r2ascii( s, r ) | ^~~~~~~ newrstep.c: In function ‘print_dc’: newrstep.c:1489:14: warning: old-style function definition [-Wold-style-definition] 1489 | private void print_dc( n, r, level ) | ^~~~~~~~ newrstep.c: In function ‘print_fval’: newrstep.c:1514:14: warning: old-style function definition [-Wold-style-definition] 1514 | private void print_fval( n, r ) | ^~~~~~~~~~ newrstep.c: In function ‘print_tau’: newrstep.c:1524:14: warning: old-style function definition [-Wold-style-definition] 1524 | private void print_tau( n, r, level ) | ^~~~~~~~~ newrstep.c: In function ‘print_taup’: newrstep.c:1551:14: warning: old-style function definition [-Wold-style-definition] 1551 | private void print_taup( n, level, taup ) | ^~~~~~~~~~ newrstep.c: In function ‘print_final’: newrstep.c:1561:14: warning: old-style function definition [-Wold-style-definition] 1561 | private void print_final( nd, queued, tau, delay ) | ^~~~~~~~~~~ newrstep.c: In function ‘print_spike’: newrstep.c:1586:14: warning: old-style function definition [-Wold-style-definition] 1586 | private void print_spike( nd, spk, ch_delay, dr_delay ) | ^~~~~~~~~~~ newrstep.c: In function ‘print_spk’: newrstep.c:1603:14: warning: old-style function definition [-Wold-style-definition] 1603 | private void print_spk( nd, r, tab, dom, alpha, beta, spk, is_spk ) | ^~~~~~~~~ make[2]: *** [../rules.mak:13: newrstep.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/intr.o rm -f intr.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c intr.c intr.c: In function ‘InitSignals’: intr.c:56:28: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 56 | (void) signal( SIGINT, int_handler ); | ^~~~~~~~~~~ | | | void (*)(void) In file included from intr.c:17: /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ intr.c:31:14: note: ‘int_handler’ declared here 31 | private void int_handler() | ^~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ intr.c:57:28: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 57 | (void) signal( SIGHUP, bye_bye ); /* for magic's sake */ | ^~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ intr.c:44:14: note: ‘bye_bye’ declared here 44 | private void bye_bye() | ^~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/netupdate.o rm -f netupdate.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c netupdate.c netupdate.c: In function ‘InitAliasTbl’: netupdate.c:76:32: error: too many arguments to function ‘Valloc’; expected 0, have 2 76 | aliases.bucket = (nptr **) Valloc( SIZEOF( nptr * ) * aliases.size, 1 ); | ^~~~~~ In file included from netupdate.c:48: globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c: In function ‘FreeAliasTbl’: netupdate.c:91:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 91 | Vfree( aliases.bucket[ i ] ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ netupdate.c:93:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 93 | Vfree( aliases.bucket ); | ^~~~~ ~~~~~~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ netupdate.c: In function ‘IncreaseAliasTbl’: netupdate.c:100:14: warning: old-style function definition [-Wold-style-definition] 100 | private void IncreaseAliasTbl( i ) | ^~~~~~~~~~~~~~~~ netupdate.c:109:32: error: too many arguments to function ‘Valloc’; expected 0, have 2 109 | aliases.bucket = (nptr **) Valloc( SIZEOF( nptr * ) * aliases.size, 1 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c:112:5: error: too many arguments to function ‘Vfree’; expected 0, have 1 112 | Vfree( old.bucket ); | ^~~~~ ~~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ netupdate.c: In function ‘EnterAlias’: netupdate.c:116:14: warning: old-style function definition [-Wold-style-definition] 116 | private void EnterAlias( n, nd ) | ^~~~~~~~~~ netupdate.c:131:24: error: too many arguments to function ‘Valloc’; expected 0, have 2 131 | tbl = (nptr *) Valloc( SIZEOF( nptr ) * ALIAS_TBL_SIZE, 1 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c: In function ‘LookupAlias’: netupdate.c:140:14: warning: old-style function definition [-Wold-style-definition] 140 | private nptr LookupAlias( n ) | ^~~~~~~~~~~ netupdate.c: In function ‘alias_node’: netupdate.c:257:14: warning: old-style function definition [-Wold-style-definition] 257 | private void alias_node( ac, av ) | ^~~~~~~~~~ netupdate.c:269:30: error: too many arguments to function ‘FindNode_TxtorPos’; expected 0, have 1 269 | nd = (av[0][1] != '=') ? FindNode_TxtorPos( av[2] ) : RsimGetNode( av[2] ); | ^~~~~~~~~~~~~~~~~ ~~~~~ globals.h:352:13: note: declared here 352 | extern nptr FindNode_TxtorPos( /* s */ ); | ^~~~~~~~~~~~~~~~~ netupdate.c:269:59: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 269 | nd = (av[0][1] != '=') ? FindNode_TxtorPos( av[2] ) : RsimGetNode( av[2] ); | ^~~~~~~~~~~ ~~~~~ globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ netupdate.c: In function ‘new_node’: netupdate.c:277:14: warning: old-style function definition [-Wold-style-definition] 277 | private void new_node( ac, av ) | ^~~~~~~~ netupdate.c:291:10: error: too many arguments to function ‘GetNewNode’; expected 0, have 1 291 | nd = GetNewNode( av[3] ); | ^~~~~~~~~~ ~~~~~ globals.h:210:13: note: declared here 210 | extern nptr GetNewNode( /* name */ ); | ^~~~~~~~~~ netupdate.c: In function ‘eliminate_node’: netupdate.c:299:14: warning: old-style function definition [-Wold-style-definition] 299 | private void eliminate_node( ac, av ) | ^~~~~~~~~~~~~~ netupdate.c:309:14: error: too many arguments to function ‘find’; expected 0, have 1 309 | nd = find( av[1] ); | ^~~~ ~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ netupdate.c:321:5: error: too many arguments to function ‘n_delete’; expected 0, have 1 321 | n_delete( nd ); | ^~~~~~~~ ~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c: In function ‘change_cap’: netupdate.c:329:14: warning: old-style function definition [-Wold-style-definition] 329 | private void change_cap( ac, av ) | ^~~~~~~~~~ netupdate.c: In function ‘ChangeNodeName’: netupdate.c:356:14: warning: old-style function definition [-Wold-style-definition] 356 | private void ChangeNodeName( nd, str ) | ^~~~~~~~~~~~~~ netupdate.c:364:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 364 | if( str_eql( str, nd->nname ) == 0 ) | ^~~~~~~ ~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ netupdate.c:374:5: error: too many arguments to function ‘n_delete’; expected 0, have 1 374 | n_delete( nd ); | ^~~~~~~~ ~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c:376:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 376 | nd->nname = Valloc( len, 1 ); | ^~~~~~ ~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ netupdate.c:381:9: error: too many arguments to function ‘str_eql’; expected 0, have 2 381 | if( str_eql( str, "Vdd" ) ) | ^~~~~~~ ~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ netupdate.c:383:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 383 | else if( str_eql( str, "Gnd" ) ) | ^~~~~~~ ~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ netupdate.c: In function ‘rename_node’: netupdate.c:388:14: warning: old-style function definition [-Wold-style-definition] 388 | private void rename_node( ac, av ) | ^~~~~~~~~~~ netupdate.c: In function ‘BestNodeName’: netupdate.c:406:13: warning: old-style function definition [-Wold-style-definition] 406 | private int BestNodeName( name1, name2 ) | ^~~~~~~~~~~~ netupdate.c: In function ‘hier_rename_node’: netupdate.c:444:14: warning: old-style function definition [-Wold-style-definition] 444 | private void hier_rename_node( ac, av ) | ^~~~~~~~~~~~~~~~ netupdate.c: In function ‘connect_nodes’: netupdate.c:465:14: warning: old-style function definition [-Wold-style-definition] 465 | private void connect_nodes( ac, av ) | ^~~~~~~~~~~~~ netupdate.c:546:5: error: too many arguments to function ‘n_delete’; expected 0, have 1 546 | n_delete( nd2 ); | ^~~~~~~~ ~~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c: In function ‘break_node’: netupdate.c:563:14: warning: old-style function definition [-Wold-style-definition] 563 | private void break_node( ac, av ) | ^~~~~~~~~~ netupdate.c:580:14: error: too many arguments to function ‘GetNewNode’; expected 0, have 1 580 | new_nd = GetNewNode( av[4] ); | ^~~~~~~~~~ ~~~~~ globals.h:210:13: note: declared here 210 | extern nptr GetNewNode( /* name */ ); | ^~~~~~~~~~ netupdate.c: In function ‘add_new_trans’: netupdate.c:587:14: warning: old-style function definition [-Wold-style-definition] 587 | private void add_new_trans( ac, av ) | ^~~~~~~~~~~~~ In file included from netupdate.c:49: net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ netupdate.c:622:5: note: in expansion of macro ‘NEW_TRANS’ 622 | NEW_TRANS( t ); | ^~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ netupdate.c:624:12: error: too many arguments to function ‘requiv’; expected 0, have 3 624 | t->r = requiv( (int) tran.ttype, width, length ); | ^~~~~~ ~~~~~~~~~~~~~~~~ globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ netupdate.c: In function ‘delete_trans’: netupdate.c:658:14: warning: old-style function definition [-Wold-style-definition] 658 | private void delete_trans( ac, av ) | ^~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:668:5: note: in expansion of macro ‘FindTxtor’ 668 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:670:5: error: too many arguments to function ‘DeleteTxtorPos’; expected 0, have 1 670 | DeleteTxtorPos( t ); | ^~~~~~~~~~~~~~ ~ globals.h:351:13: note: declared here 351 | extern void DeleteTxtorPos( /* tran */ ); | ^~~~~~~~~~~~~~ netupdate.c:686:34: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 686 | if( t->ttype & STACKED ) DestroyStack( t->dcache.t ); | ^~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c:687:33: error: too many arguments to function ‘UnParallelTrans’; expected 0, have 1 687 | if( t->ttype & ORLIST ) UnParallelTrans( t ); | ^~~~~~~~~~~~~~~ ~ globals.h:225:13: note: declared here 225 | extern void UnParallelTrans( /* t */ ); | ^~~~~~~~~~~~~~~ netupdate.c: In function ‘exchange_terms’: netupdate.c:719:14: warning: old-style function definition [-Wold-style-definition] 719 | private void exchange_terms( ac, av ) | ^~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:728:5: note: in expansion of macro ‘FindTxtor’ 728 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c: In function ‘change_tsize’: netupdate.c:734:14: warning: old-style function definition [-Wold-style-definition] 734 | private void change_tsize( ac, av ) | ^~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:746:5: note: in expansion of macro ‘FindTxtor’ 746 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:762:12: error: too many arguments to function ‘requiv’; expected 0, have 3 762 | t->r = requiv( (int) t->ttype, width, length ); | ^~~~~~ ~~~~~~~~~~~~~~ globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ netupdate.c: In function ‘change_tposition’: netupdate.c:772:14: warning: old-style function definition [-Wold-style-definition] 772 | private void change_tposition( ac, av ) | ^~~~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:781:5: note: in expansion of macro ‘FindTxtor’ 781 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:783:5: error: too many arguments to function ‘DeleteTxtorPos’; expected 0, have 1 783 | DeleteTxtorPos( t ); | ^~~~~~~~~~~~~~ ~ globals.h:351:13: note: declared here 351 | extern void DeleteTxtorPos( /* tran */ ); | ^~~~~~~~~~~~~~ netupdate.c: In function ‘move_trans_terms’: netupdate.c:792:14: warning: old-style function definition [-Wold-style-definition] 792 | private void move_trans_terms( ac, av ) | ^~~~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:805:5: note: in expansion of macro ‘FindTxtor’ 805 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:814:33: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 814 | if( t->ttype & STACKED ) DestroyStack( t->dcache.t ); | ^~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c:815:33: error: too many arguments to function ‘UnParallelTrans’; expected 0, have 1 815 | if( t->ttype & ORLIST ) UnParallelTrans( t ); | ^~~~~~~~~~~~~~~ ~ globals.h:225:13: note: declared here 225 | extern void UnParallelTrans( /* t */ ); | ^~~~~~~~~~~~~~~ netupdate.c:826:13: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 826 | DestroyStack( gate->t.tran ); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c: In function ‘SwitchContext’: netupdate.c:895:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 895 | EnterPos( t, TRUE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ netupdate.c: In function ‘move_trans_to_node’: netupdate.c:902:14: warning: old-style function definition [-Wold-style-definition] 902 | private void move_trans_to_node( ac, av ) | ^~~~~~~~~~~~~~~~~~ netupdate.c:650:16: error: too many arguments to function ‘FindTxtorPos’; expected 0, have 2 650 | if( ((T) = FindTxtorPos( X, Y )) == NULL ) \ | ^~~~~~~~~~~~ netupdate.c:916:5: note: in expansion of macro ‘FindTxtor’ 916 | FindTxtor( t, av[1], av[2], x, y ); | ^~~~~~~~~ globals.h:350:13: note: declared here 350 | extern tptr FindTxtorPos( /* x, y */ ); | ^~~~~~~~~~~~ netupdate.c:934:33: error: too many arguments to function ‘DestroyStack’; expected 0, have 1 934 | if( t->ttype & STACKED ) DestroyStack( t->dcache.t ); | ^~~~~~~~~~~~ ~~~~~~~~~~~ globals.h:344:13: note: declared here 344 | extern void DestroyStack( /* stack */ ); | ^~~~~~~~~~~~ netupdate.c:935:33: error: too many arguments to function ‘UnParallelTrans’; expected 0, have 1 935 | if( t->ttype & ORLIST ) UnParallelTrans( t ); | ^~~~~~~~~~~~~~~ ~ globals.h:225:13: note: declared here 225 | extern void UnParallelTrans( /* t */ ); | ^~~~~~~~~~~~~~~ netupdate.c: In function ‘change_thresh’: netupdate.c:984:14: warning: old-style function definition [-Wold-style-definition] 984 | private void change_thresh( ac, av ) | ^~~~~~~~~~~~~ netupdate.c:992:10: error: too many arguments to function ‘find’; expected 0, have 1 992 | nd = find( av[1] ); | ^~~~ ~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ netupdate.c: In function ‘ndelay’: netupdate.c:1005:14: warning: old-style function definition [-Wold-style-definition] 1005 | private void ndelay( ac, av ) | ^~~~~~ netupdate.c:1013:10: error: too many arguments to function ‘find’; expected 0, have 1 1013 | nd = find( av[1] ); | ^~~~ ~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ netupdate.c: In function ‘parse_line’: netupdate.c:1030:13: warning: old-style function definition [-Wold-style-definition] 1030 | private int parse_line( line, carg ) | ^~~~~~~~~~ netupdate.c:1038:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1038 | while( ch = *line++ ) | ^~ netupdate.c: In function ‘input_changes’: netupdate.c:1054:14: warning: old-style function definition [-Wold-style-definition] 1054 | private void input_changes( fin ) | ^~~~~~~~~~~~~ netupdate.c:1068:12: error: too many arguments to function ‘fgetline’; expected 0, have 3 1068 | while( fgetline( line, LSIZE, fin ) != NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ netupdate.c: In function ‘mark_del_alias’: netupdate.c:1117:13: warning: old-style function definition [-Wold-style-definition] 1117 | private int mark_del_alias( n ) | ^~~~~~~~~~~~~~ netupdate.c: In function ‘rm_nodes’: netupdate.c:1153:9: error: too many arguments to function ‘walk_net’; expected 0, have 2 1153 | walk_net( mark_del_alias, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ netupdate.c:1170:13: error: too many arguments to function ‘free_event’; expected 0, have 1 1170 | free_event( node->events ); | ^~~~~~~~~~ ~~~~~~~~~~~~ globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ netupdate.c:1173:13: error: too many arguments to function ‘idelete’; expected 0, have 2 1173 | idelete( node, listTbl[INPUT_NUM( node->nflags )] ); | ^~~~~~~ ~~~~ globals.h:182:13: note: declared here 182 | extern void idelete( /* n, list */ ); | ^~~~~~~ netupdate.c:1175:9: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 1175 | FreeHistList( node ); | ^~~~~~~~~~~~ ~~~~ globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ netupdate.c:1178:13: error: too many arguments to function ‘n_delete’; expected 0, have 1 1178 | n_delete( node ); | ^~~~~~~~ ~~~~ globals.h:212:13: note: declared here 212 | extern void n_delete( /* nd */ ); | ^~~~~~~~ netupdate.c: In function ‘conn_ch_trans’: netupdate.c:1189:14: warning: old-style function definition [-Wold-style-definition] 1189 | private void conn_ch_trans( tlist ) | ^~~~~~~~~~~~~ netupdate.c:1200:13: error: too many arguments to function ‘EnterPos’; expected 0, have 2 1200 | EnterPos( t, TRUE ); | ^~~~~~~~ ~ globals.h:349:13: note: declared here 349 | extern void EnterPos( /* tran, is_pos */ ); | ^~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1225:25: note: in expansion of macro ‘CONNECT’ 1225 | CONNECT( on_trans, t ) | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1227:25: note: in expansion of macro ‘CONNECT’ 1227 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1230:21: note: in expansion of macro ‘CONNECT’ 1230 | CONNECT( src->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ netupdate.c:1232:21: note: in expansion of macro ‘CONNECT’ 1232 | CONNECT( drn->nterm, t ); | ^~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ netupdate.c: In function ‘add_tran_cap’: netupdate.c:1277:14: warning: old-style function definition [-Wold-style-definition] 1277 | private void add_tran_cap( t ) | ^~~~~~~~~~~~ netupdate.c: In function ‘changed_nodes’: netupdate.c:1307:13: error: too many arguments to function ‘n_insert’; expected 0, have 1 1307 | n_insert( n ); | ^~~~~~~~ ~ globals.h:211:13: note: declared here 211 | extern void n_insert( /* nd */ ); | ^~~~~~~~ netupdate.c:1329:17: error: too many arguments to function ‘iinsert’; expected 0, have 2 1329 | iinsert( stack, &ilist ); | ^~~~~~~ ~~~~~ globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ netupdate.c:1335:17: error: too many arguments to function ‘iinsert’; expected 0, have 2 1335 | iinsert( stack, &ilist ); | ^~~~~~~ ~~~~~ globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ netupdate.c:1345:9: error: too many arguments to function ‘iinsert’; expected 0, have 2 1345 | iinsert( n, &ilist ); | ^~~~~~~ ~ globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ netupdate.c: In function ‘rd_changes’: netupdate.c:1351:13: warning: old-style function definition [-Wold-style-definition] 1351 | public iptr rd_changes( fname, logname ) | ^~~~~~~~~~ netupdate.c:1354:3: error: number of arguments doesn’t match prototype 1354 | { | ^ globals.h:170:13: error: prototype declaration 170 | extern iptr rd_changes( /* fname, logname */ ); | ^~~~~~~~~~ netupdate.c:1358:20: error: conflicting types for ‘getenv’; have ‘char *(void)’ 1358 | extern char *getenv(); | ^~~~~~ In file included from netupdate.c:40: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ netupdate.c:1388:23: error: too many arguments to function ‘walk_trans’; expected 0, have 2 1388 | if( num_cap_set ) walk_trans( add_tran_cap, (char *) 0 ); | ^~~~~~~~~~ ~~~~~~~~~~~~ globals.h:353:13: note: declared here 353 | extern void walk_trans( /* func, arg */ ); | ^~~~~~~~~~ netupdate.c:1389:5: error: too many arguments to function ‘make_parallel’; expected 0, have 1 1389 | make_parallel( ch_nlist ); | ^~~~~~~~~~~~~ ~~~~~~~~ globals.h:224:13: note: declared here 224 | extern void make_parallel( /* nlist */ ); | ^~~~~~~~~~~~~ netupdate.c:1390:5: error: too many arguments to function ‘make_stacks’; expected 0, have 1 1390 | make_stacks( ch_nlist ); | ^~~~~~~~~~~ ~~~~~~~~ globals.h:343:13: note: declared here 343 | extern void make_stacks( /* nlist */ ); | ^~~~~~~~~~~ netupdate.c:1399:25: error: too many arguments to function ‘RestartAnalyzer’; expected 0, have 3 1399 | if( analyzerON ) RestartAnalyzer( sim_time0, sim_time0, FALSE ); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:385:13: note: declared here 385 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ netupdate.c:1405:9: error: too many arguments to function ‘getenv’; expected 0, have 1 1405 | if( getenv( "RSIM_CHANGED" ) != NULL ) | ^~~~~~ ~~~~~~~~~~~~~~ netupdate.c:1358:20: note: declared here 1358 | extern char *getenv(); | ^~~~~~ make[2]: *** [../rules.mak:13: netupdate.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/prints.o rm -f prints.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c prints.c prints.c: In function ‘logprint’: prints.c:27:13: warning: old-style function definition [-Wold-style-definition] 27 | public void logprint( s ) | ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/usage.o rm -f usage.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c usage.c usage.c: In function ‘tvsub’: usage.c:188:14: warning: old-style function definition [-Wold-style-definition] 188 | private void tvsub( tdiff, t1, t0 ) | ^~~~~ usage.c: In function ‘pr_secs’: usage.c:201:15: warning: old-style function definition [-Wold-style-definition] 201 | private char *pr_secs( dst, l ) | ^~~~~~~ usage.c: In function ‘pr_usage’: usage.c:231:14: warning: old-style function definition [-Wold-style-definition] 231 | private void pr_usage( dst, r0, r1, t0, t1 ) | ^~~~~~~~ usage.c: In function ‘print_usage’: usage.c:263:13: warning: old-style function definition [-Wold-style-definition] 263 | public void print_usage( partial, dest ) | ^~~~~~~~~~~ usage.c: In function ‘get_usage’: usage.c:280:13: warning: old-style function definition [-Wold-style-definition] 280 | public void get_usage( dest ) | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' --- compiling base/rsim.o rm -f rsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c rsim.c rsim.c: In function ‘parse_line’: rsim.c:108:13: warning: old-style function definition [-Wold-style-definition] 108 | public void parse_line( line, bufsize ) | ^~~~~~~~~~ rsim.c:111:3: error: number of arguments doesn’t match prototype 111 | { | ^ In file included from rsim.c:29: rsim.h:110:13: error: prototype declaration 110 | extern void parse_line(); | ^~~~~~~~~~ rsim.c:122:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 122 | while( i = *line++ ) | ^ rsim.c:167:17: error: too many arguments to function ‘expand’; expected 0, have 4 167 | if( expand( targv[--targc], &extra, &bufsize, wc ) ) | ^~~~~~ ~~~~~~~~~~~~~~ rsim.h:112:13: note: declared here 112 | extern int expand(); | ^~~~~~ rsim.c: In function ‘expand’: rsim.c:187:5: warning: old-style function definition [-Wold-style-definition] 187 | int expand( string, buffer, bufsize, wc ) | ^~~~~~ rsim.c:192:3: error: number of arguments doesn’t match prototype 192 | { | ^ rsim.h:112:13: error: prototype declaration 112 | extern int expand(); | ^~~~~~ rsim.c:266:13: error: too many arguments to function ‘expand’; expected 0, have 4 266 | if( expand( index, buffer, bufsize, wc ) ) | ^~~~~~ ~~~~~ rsim.c:187:5: note: declared here 187 | int expand( string, buffer, bufsize, wc ) | ^~~~~~ rsim.c: In function ‘apply’: rsim.c:291:14: warning: old-style function definition [-Wold-style-definition] 291 | private void apply (fun, vfunc, arg) | ^~~~~ rsim.c:307:63: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 307 | Tcl_SplitList(irsiminterp, targv[applyStart], &argc, (CONST char ***)&argv); | ^~~~~ | CONST86 rsim.c:307:63: note: each undeclared identifier is reported only once for each function it appears in rsim.c:307:68: error: expected ‘)’ before ‘char’ 307 | Tcl_SplitList(irsiminterp, targv[applyStart], &argc, (CONST char ***)&argv); | ~ ^~~~~ | ) rsim.c:307:55: warning: passing argument 3 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 307 | Tcl_SplitList(irsiminterp, targv[applyStart], &argc, (CONST char ***)&argv); | ^~~~~ | | | int * In file included from /usr/include/tcl.h:2439, from /usr/include/tk.h:19, from rsim.c:22: /usr/include/tclDecls.h:1795:64: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1795 | const char *listStr, Tcl_Size *argcPtr, | ~~~~~~~~~~^~~~~~~ rsim.c:354:21: error: too many arguments to function ‘str_match’; expected 0, have 2 354 | if (str_match(p, b->name )) | ^~~~~~~~~ ~ In file included from rsim.c:27: globals.h:207:12: note: declared here 207 | extern int str_match( /* p, s */ ); | ^~~~~~~~~ rsim.c:357:26: error: too many arguments to function ‘vfunc’; expected 0, have 2 357 | (*vfunc)(b, flag); | ~^~~~~~~ ~ rsim.c:360:30: error: too many arguments to function ‘fun’; expected 0, have 2 360 | (*fun)(b->nodes[j], flag); | ~^~~~~ ~~~~~~~~~~~ rsim.c:363:22: error: too many arguments to function ‘match_net’; expected 0, have 3 363 | found += match_net(p, fun, flag); | ^~~~~~~~~ ~ globals.h:218:12: note: declared here 218 | extern int match_net( /* pattern, fun, arg */ ); | ^~~~~~~~~ rsim.c:367:22: error: too many arguments to function ‘find’; expected 0, have 1 367 | nptr n = find(p); | ^~~~ ~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ rsim.c:370:27: error: too many arguments to function ‘fun’; expected 0, have 2 370 | found += (*fun)(n, flag); | ~^~~~~ ~ rsim.c:374:25: error: too many arguments to function ‘str_eql’; expected 0, have 2 374 | if (str_eql(p, b->name) == 0) | ^~~~~~~ ~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:377:30: error: too many arguments to function ‘vfunc’; expected 0, have 2 377 | (*vfunc)(b, flag); | ~^~~~~~~ ~ rsim.c:380:34: error: too many arguments to function ‘fun’; expected 0, have 2 380 | (*fun)(b->nodes[j], flag); | ~^~~~~ ~~~~~~~~~~~ rsim.c: In function ‘ch2pot’: rsim.c:400:12: warning: old-style function definition [-Wold-style-definition] 400 | public int ch2pot( ch ) | ^~~~~~ rsim.c:402:1: error: number of arguments doesn’t match prototype 402 | { | ^ globals.h:260:12: error: prototype declaration 260 | extern int ch2pot( /* ch */ ); | ^~~~~~ rsim.c: In function ‘xwatch’: rsim.c:653:13: warning: old-style function definition [-Wold-style-definition] 653 | private int xwatch( n, flag ) | ^~~~~~ rsim.c:662:13: error: too many arguments to function ‘iinsert_once’; expected 0, have 2 662 | iinsert_once( n, &wlist ); | ^~~~~~~~~~~~ ~ globals.h:184:13: note: declared here 184 | extern void iinsert_once( /* n, list */ ); | ^~~~~~~~~~~~ rsim.c:664:13: error: too many arguments to function ‘idelete’; expected 0, have 2 664 | idelete( n, &wlist ); | ^~~~~~~ ~ globals.h:182:13: note: declared here 182 | extern void idelete( /* n, list */ ); | ^~~~~~~ rsim.c: In function ‘vwatch’: rsim.c:673:13: warning: old-style function definition [-Wold-style-definition] 673 | private int vwatch( b, flag ) | ^~~~~~ rsim.c:678:9: error: too many arguments to function ‘iinsert_once’; expected 0, have 2 678 | iinsert_once( (nptr) b, &wvlist ); | ^~~~~~~~~~~~ ~~~~~~~~ globals.h:184:13: note: declared here 184 | extern void iinsert_once( /* n, list */ ); | ^~~~~~~~~~~~ rsim.c:680:9: error: too many arguments to function ‘idelete’; expected 0, have 2 680 | idelete( (nptr) b, &wvlist ); | ^~~~~~~ ~~~~~~~~ globals.h:182:13: note: declared here 182 | extern void idelete( /* n, list */ ); | ^~~~~~~ rsim.c: In function ‘dvec’: rsim.c:697:13: warning: old-style function definition [-Wold-style-definition] 697 | private int dvec(b) | ^~~~ rsim.c: In function ‘dnode’: rsim.c:749:14: warning: old-style function definition [-Wold-style-definition] 749 | private void dnode(n) | ^~~~~ rsim.c: In function ‘prtime’: rsim.c:802:14: warning: old-style function definition [-Wold-style-definition] 802 | private void prtime(col) | ^~~~~~ rsim.c: In function ‘get_nd_list’: rsim.c:860:13: warning: old-style function definition [-Wold-style-definition] 860 | private int get_nd_list(n, ptail) | ^~~~~~~~~~~ rsim.c: In function ‘xtrace’: rsim.c:904:13: warning: old-style function definition [-Wold-style-definition] 904 | private int xtrace( n, flag ) | ^~~~~~ rsim.c: In function ‘xpowtrace’: rsim.c:932:13: warning: old-style function definition [-Wold-style-definition] 932 | private int xpowtrace( n, flag ) | ^~~~~~~~~ rsim.c: In function ‘vtrace’: rsim.c:959:13: warning: old-style function definition [-Wold-style-definition] 959 | private int vtrace( b, flag ) | ^~~~~~ rsim.c: In function ‘vpowtrace’: rsim.c:980:13: warning: old-style function definition [-Wold-style-definition] 980 | private int vpowtrace( b, flag ) | ^~~~~~~~~ rsim.c: In function ‘set_vec_nodes’: rsim.c:1002:14: warning: old-style function definition [-Wold-style-definition] 1002 | private void set_vec_nodes( flag ) | ^~~~~~~~~~~~~ rsim.c: In function ‘nstop’: rsim.c:1018:13: warning: old-style function definition [-Wold-style-definition] 1018 | private int nstop( n, flag ) | ^~~~~ rsim.c: In function ‘vstop’: rsim.c:1039:13: warning: old-style function definition [-Wold-style-definition] 1039 | private int vstop( b, flag ) | ^~~~~ rsim.c: In function ‘sumcapdoit’: rsim.c:1082:13: warning: old-style function definition [-Wold-style-definition] 1082 | private int sumcapdoit( n, capsum ) | ^~~~~~~~~~ rsim.c: In function ‘sumcap’: rsim.c:1103:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 1103 | walk_net( sumcapdoit, (char *) &capsum ); | ^~~~~~~~ ~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘readVector’: rsim.c:1166:15: warning: old-style function definition [-Wold-style-definition] 1166 | private char *readVector( vstring, nbits ) | ^~~~~~~~~~ rsim.c:1282:36: error: too many arguments to function ‘ch2pot’; expected 0, have 1 1282 | if ((newvecs[i] = potchars[ch2pot(newvecs[i])]) == '.') | ^~~~~~ ~~~~~~~~~~ rsim.c:400:12: note: declared here 400 | public int ch2pot( ch ) | ^~~~~~ rsim.c: In function ‘parse_bus’: rsim.c:1297:6: warning: old-style function definition [-Wold-style-definition] 1297 | nptr parse_bus(vstring, idx) | ^~~~~~~~~ rsim.c:1332:12: error: too many arguments to function ‘find’; expected 0, have 1 1332 | return(find(rstring)); | ^~~~ ~~~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ rsim.c: In function ‘dovector’: rsim.c:1345:9: error: too many arguments to function ‘find’; expected 0, have 1 1345 | if( find( targv[1] ) != NULL ) | ^~~~ ~~~~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ rsim.c:1356:17: error: too many arguments to function ‘undefseq’; expected 0, have 3 1356 | if( undefseq( (nptr) b, &slist, &maxsequence ) or | ^~~~~~~~ ~~~~~~~~ rsim.c:95:13: note: declared here 95 | private int undefseq( /* p, list, lmax */ ); | ^~~~~~~~ rsim.c:1357:15: error: too many arguments to function ‘undefseq’; expected 0, have 3 1357 | undefseq( (nptr) b, &xclock, &maxclock ) ) | ^~~~~~~~ ~~~~~~~~ rsim.c:95:13: note: declared here 95 | private int undefseq( /* p, list, lmax */ ); | ^~~~~~~~ rsim.c:1364:13: error: too many arguments to function ‘idelete’; expected 0, have 2 1364 | idelete( (nptr) b, &wvlist ); /* untrace its nodes */ | ^~~~~~~ ~~~~~~~~ globals.h:182:13: note: declared here 182 | extern void idelete( /* n, list */ ); | ^~~~~~~ rsim.c:1371:17: error: too many arguments to function ‘RemoveVector’; expected 0, have 1 1371 | RemoveVector( b ); | ^~~~~~~~~~~~ ~ globals.h:387:13: note: declared here 387 | extern void RemoveVector( /* b */ ); | ^~~~~~~~~~~~ rsim.c:1372:13: error: too many arguments to function ‘Vfree’; expected 0, have 1 1372 | Vfree( b->name ); | ^~~~~ ~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:1373:13: error: too many arguments to function ‘Vfree’; expected 0, have 1 1373 | Vfree( b ); | ^~~~~ ~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:1381:18: error: too many arguments to function ‘find’; expected 0, have 1 1381 | if ((n = find(targv[i])) == NULL) | ^~~~ ~~~~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ rsim.c:1401:16: error: too many arguments to function ‘Valloc’; expected 0, have 2 1401 | b = (bptr) Valloc( SIZEOF( Bits ) + (locargc - 3) * SIZEOF( nptr ), 0 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ rsim.c:1402:33: error: too many arguments to function ‘Valloc’; expected 0, have 2 1402 | if( b == NULL or (b->name = Valloc( strlen( targv[1] ) + 1, 0 )) == NULL ) | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ rsim.c:1404:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 1404 | if( b ) Vfree( b ); | ^~~~~ ~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:1415:18: error: too many arguments to function ‘find’; expected 0, have 1 1415 | if ((n = find(targv[i])) == NULL) | ^~~~ ~~~~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ rsim.c:1445:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 1445 | Vfree( b->name ); | ^~~~~ ~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:1446:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 1446 | Vfree( b ); | ^~~~~ ~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c: In function ‘setvector’: rsim.c:1464:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 1464 | if (str_eql(b->name, targv[1]) == 0) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:1479:16: error: too many arguments to function ‘setin’; expected 0, have 2 1479 | (void) setin(b->nodes[i], &val[i]); | ^~~~~ ~~~~~~~~~~~ globals.h:186:12: note: declared here 186 | extern int setin( /* n, which */ ); | ^~~~~ rsim.c: In function ‘CompareVector’: rsim.c:1486:13: warning: old-style function definition [-Wold-style-definition] 1486 | private int CompareVector( np, name, nbits, mask, value ) | ^~~~~~~~~~~~~ rsim.c:1512:20: error: too many arguments to function ‘ch2pot’; expected 0, have 1 1512 | if( (val = ch2pot( value[i] )) >= N_POTS ) | ^~~~~~ ~~~~~~~~ rsim.c:400:12: note: declared here 400 | public int ch2pot( ch ) | ^~~~~~ rsim.c: In function ‘SetNode’: rsim.c:1549:13: warning: old-style function definition [-Wold-style-definition] 1549 | private int SetNode( nd, find_one ) | ^~~~~~~ rsim.c: In function ‘SetVector’: rsim.c:1558:13: warning: old-style function definition [-Wold-style-definition] 1558 | private int SetVector( bp, find_one ) | ^~~~~~~~~ rsim.c: In function ‘FindOne’: rsim.c:1572:14: warning: old-style function definition [-Wold-style-definition] 1572 | private void FindOne( f ) | ^~~~~~~ rsim.c: In function ‘convertVector’: rsim.c:1586:7: warning: old-style function definition [-Wold-style-definition] 1586 | Ulong convertVector(nodes, nbits) | ^~~~~~~~~~~~~ rsim.c: In function ‘doQuery’: rsim.c:1716:11: warning: variable ‘name’ set but not used [-Wunused-but-set-variable] 1716 | char *name; | ^~~~ rsim.c: In function ‘doUntil’: rsim.c:1793:13: error: too many arguments to function ‘clockit’; expected 0, have 1 1793 | clockit(1); } | ^~~~~~~ ~ rsim.c:96:13: note: declared here 96 | private int clockit( /* n */ ); | ^~~~~~~ rsim.c:1802:13: error: too many arguments to function ‘clockit’; expected 0, have 1 1802 | clockit(1); } | ^~~~~~~ ~ rsim.c:96:13: note: declared here 96 | private int clockit( /* n */ ); | ^~~~~~~ rsim.c: In function ‘setupAssertWhen’: rsim.c:1831:13: warning: old-style function definition [-Wold-style-definition] 1831 | private int setupAssertWhen(n, val) | ^~~~~~~~~~~~~~~ rsim.c:1837:23: error: too many arguments to function ‘Falloc’; expected 0, have 2 1837 | p = ( awptr ) Falloc(sizeof(assertWhen),1); | ^~~~~~ ~~~~~~~~~~~~~~~~~~ globals.h:162:14: note: declared here 162 | extern char *Falloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ In file included from rsim.c:26: rsim.c: In function ‘doWhen’: rsim.c:1870:41: error: too many arguments to function ‘ch2pot’; expected 0, have 1 1870 | aw_trig->awmask |= POT2MASK(ch2pot(*apot)); | ^~~~~~ ~~~~~ net.h:264:45: note: in definition of macro ‘POT2MASK’ 264 | #define POT2MASK( p ) ( 1 << (1 + p) ) | ^ rsim.c:400:12: note: declared here 400 | public int ch2pot( ch ) | ^~~~~~ rsim.c: In function ‘cancelWhen’: rsim.c:1889:5: warning: old-style function definition [-Wold-style-definition] 1889 | int cancelWhen(n, tag) | ^~~~~~~~~~ rsim.c:1904:14: error: too many arguments to function ‘Ffree’; expected 0, have 1 1904 | Ffree(p); | ^~~~~ ~ globals.h:163:13: note: declared here 163 | extern void Ffree( /* p, nbytes */ ); | ^~~~~ rsim.c: In function ‘getWhen’: rsim.c:1917:5: warning: old-style function definition [-Wold-style-definition] 1917 | int getWhen(n, tag) | ^~~~~~~ rsim.c: In function ‘doWhenever’: rsim.c:1946:12: error: too many arguments to function ‘walk_net’; expected 0, have 2 1946 | walk_net( cancelWhen, (char *)&tag ); | ^~~~~~~~ ~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c:1949:12: error: too many arguments to function ‘walk_net’; expected 0, have 2 1949 | walk_net( getWhen, (char *)&tag ); | ^~~~~~~~ ~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c:1968:41: error: too many arguments to function ‘ch2pot’; expected 0, have 1 1968 | aw_trig->awmask |= POT2MASK(ch2pot(*apot)); | ^~~~~~ ~~~~~ net.h:264:45: note: in definition of macro ‘POT2MASK’ 264 | #define POT2MASK( p ) ( 1 << (1 + p) ) | ^ rsim.c:400:12: note: declared here 400 | public int ch2pot( ch ) | ^~~~~~ rsim.c: In function ‘doAssertWhen’: rsim.c:2004:41: error: too many arguments to function ‘ch2pot’; expected 0, have 1 2004 | aw_trig->awmask |= POT2MASK(ch2pot(*apot)); | ^~~~~~ ~~~~~ net.h:264:45: note: in definition of macro ‘POT2MASK’ 264 | #define POT2MASK( p ) ( 1 << (1 + p) ) | ^ rsim.c:400:12: note: declared here 400 | public int ch2pot( ch ) | ^~~~~~ rsim.c: In function ‘evalAssertWhen’: rsim.c:2019:17: warning: old-style function definition [-Wold-style-definition] 2019 | public void evalAssertWhen(n) | ^~~~~~~~~~~~~~ rsim.c:2021:1: error: number of arguments doesn’t match prototype 2021 | { | ^ globals.h:257:17: error: prototype declaration 257 | extern void evalAssertWhen( /* n*/ ); | ^~~~~~~~~~~~~~ rsim.c:2034:23: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 2034 | new = EnqueueOther(TIMED_EV, cur_delta + 1); | ^~~~~~~~~~~~ globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ rsim.c:2058:13: error: too many arguments to function ‘Ffree’; expected 0, have 2 2058 | Ffree(p2, sizeof( assertWhen ) ); | ^~~~~ ~~ globals.h:163:13: note: declared here 163 | extern void Ffree( /* p, nbytes */ ); | ^~~~~ rsim.c: In function ‘collect_inputs’: rsim.c:2066:13: warning: old-style function definition [-Wold-style-definition] 2066 | private int collect_inputs( n, inps ) | ^~~~~~~~~~~~~~ rsim.c: In function ‘inputs’: rsim.c:2088:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 2088 | walk_net( collect_inputs, (char *) inptbl ); | ^~~~~~~~ ~~~~~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘disp_watch_vec’: rsim.c:2152:13: warning: old-style function definition [-Wold-style-definition] 2152 | public void disp_watch_vec( which ) | ^~~~~~~~~~~~~~ rsim.c:2154:3: error: number of arguments doesn’t match prototype 2154 | { | ^ globals.h:258:13: error: prototype declaration 258 | extern void disp_watch_vec( /* which */ ); | ^~~~~~~~~~~~~~ rsim.c: In function ‘relax’: rsim.c:2206:13: warning: old-style function definition [-Wold-style-definition] 2206 | private int relax( stoptime ) | ^~~~~ rsim.c:2209:12: error: too many arguments to function ‘step’; expected 0, have 1 2209 | while( step( stoptime ) ) | ^~~~ ~~~~~~~~ globals.h:93:12: note: declared here 93 | extern int step( /* stop_time */ ); | ^~~~ rsim.c: In function ‘undefseq’: rsim.c:2310:5: warning: old-style function definition [-Wold-style-definition] 2310 | int undefseq( p, list, lmax ) | ^~~~~~~~ rsim.c:2329:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 2329 | Vfree( t ); | ^~~~~ ~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c: In function ‘defsequence’: rsim.c:2343:14: warning: old-style function definition [-Wold-style-definition] 2343 | private void defsequence( list, lmax ) | ^~~~~~~~~~~ rsim.c:2358:20: error: too many arguments to function ‘undefseq’; expected 0, have 3 2358 | (void) undefseq( (*list)->ptr.n, list, lmax ); | ^~~~~~~~ ~~~~~~~~~~~~~~ rsim.c:2310:5: note: declared here 2310 | int undefseq( p, list, lmax ) | ^~~~~~~~ rsim.c:2364:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 2364 | if( str_eql( b->name, targv[1] ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:2369:9: error: too many arguments to function ‘find’; expected 0, have 1 2369 | n = find( targv[1] ); | ^~~~ ~~~~~~~~ globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ rsim.c:2386:16: error: too many arguments to function ‘undefseq’; expected 0, have 3 2386 | (void) undefseq( which ? (nptr) b : n, list, lmax ); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rsim.c:2310:5: note: declared here 2310 | int undefseq( p, list, lmax ) | ^~~~~~~~ rsim.c:2390:16: error: too many arguments to function ‘Valloc’; expected 0, have 2 2390 | s = (sptr) Valloc( SIZEOF( sequence ) + size * (targc - 2) - 1, 0 ); | ^~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ rsim.c:2410:13: error: too many arguments to function ‘Vfree’; expected 0, have 1 2410 | Vfree(s); | ^~~~~ ~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:2418:12: error: too many arguments to function ‘undefseq’; expected 0, have 3 2418 | (void) undefseq( s->ptr.n, list, lmax ); | ^~~~~~~~ ~~~~~~~~ rsim.c:2310:5: note: declared here 2310 | int undefseq( p, list, lmax ) | ^~~~~~~~ rsim.c: In function ‘rm_from_seq’: rsim.c:2456:13: warning: old-style function definition [-Wold-style-definition] 2456 | private int rm_from_seq( list ) | ^~~~~~~~~~~ rsim.c:2468:13: error: too many arguments to function ‘Vfree’; expected 0, have 1 2468 | Vfree( s ); | ^~~~~ ~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c: In function ‘rm_del_from_lists’: rsim.c:2533:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 2533 | Vfree( b->name ); | ^~~~~ ~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:2534:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 2534 | Vfree( b ); | ^~~~~ ~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c: In function ‘vecvalue’: rsim.c:2546:14: warning: old-style function definition [-Wold-style-definition] 2546 | private void vecvalue( list, index ) | ^~~~~~~~ rsim.c:2558:20: error: too many arguments to function ‘setin’; expected 0, have 2 2558 | (void) setin( *n++, &list->values[ offset++ ] ); | ^~~~~ ~~~~ globals.h:186:12: note: declared here 186 | extern int setin( /* n, which */ ); | ^~~~~ rsim.c: In function ‘clockit’: rsim.c:2628:5: warning: old-style function definition [-Wold-style-definition] 2628 | int clockit(n) | ^~~~~~~ rsim.c: In function ‘runseq’: rsim.c:2694:21: error: too many arguments to function ‘clockit’; expected 0, have 1 2694 | if (clockit(1)) | ^~~~~~~ ~ rsim.c:2628:5: note: declared here 2628 | int clockit(n) | ^~~~~~~ rsim.c: In function ‘doclock’: rsim.c:2727:12: error: too many arguments to function ‘clockit’; expected 0, have 1 2727 | (void) clockit( n ); /* do the hard work */ | ^~~~~~~ ~ rsim.c:2628:5: note: declared here 2628 | int clockit(n) | ^~~~~~~ rsim.c: In function ‘do_flags’: rsim.c:2754:13: warning: old-style function definition [-Wold-style-definition] 2754 | private int do_flags( bits, name, offwrd, words ) | ^~~~~~~~ rsim.c:2786:45: error: too many arguments to function ‘str_eql’; expected 0, have 2 2786 | else if( targc == 2 and offwrd != 0 and str_eql( targv[1], "*" ) == 0 ) | ^~~~~~~ ~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:2796:21: error: too many arguments to function ‘str_eql’; expected 0, have 2 2796 | if( str_eql( words[i], targv[t] ) == 0 ) | ^~~~~~~ ~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c: In function ‘setmodel’: rsim.c:2888:9: error: too many arguments to function ‘NewModel’; expected 0, have 1 2888 | NewModel( new ); | ^~~~~~~~ ~~~ globals.h:121:13: note: declared here 121 | extern void NewModel( /* nmodel */ ); | ^~~~~~~~ rsim.c: In function ‘capsummer’: rsim.c:2926:13: warning: old-style function definition [-Wold-style-definition] 2926 | private int capsummer( n ) | ^~~~~~~~~ rsim.c: In function ‘setcaplog’: rsim.c:2953:9: error: too many arguments to function ‘walk_net’; expected 0, have 2 2953 | walk_net( capsummer, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘do_rdstate’: rsim.c:2986:15: error: too many arguments to function ‘rd_state’; expected 0, have 2 2986 | if( err = rd_state( targv[1], (targv[0][1] == '<') ? TRUE : FALSE ) ) | ^~~~~~~~ ~~~~~~~~ globals.h:188:14: note: declared here 188 | extern char *rd_state( /* fname, restore */ ); | ^~~~~~~~ rsim.c:2986:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2986 | if( err = rd_state( targv[1], (targv[0][1] == '<') ? TRUE : FALSE ) ) | ^~~ rsim.c: In function ‘do_wrstate’: rsim.c:2997:9: error: too many arguments to function ‘wr_state’; expected 0, have 1 2997 | if( wr_state( targv[1] ) ) | ^~~~~~~~ ~~~~~~~~ globals.h:187:12: note: declared here 187 | extern int wr_state( /* fname */ ); | ^~~~~~~~ rsim.c: In function ‘cpath’: rsim.c:3068:14: warning: old-style function definition [-Wold-style-definition] 3068 | private void cpath( n, level ) | ^~~~~ rsim.c: In function ‘do_cpath’: rsim.c:3128:13: warning: old-style function definition [-Wold-style-definition] 3128 | private int do_cpath( n ) | ^~~~~~~~ rsim.c: In function ‘adoit’: rsim.c:3160:13: warning: old-style function definition [-Wold-style-definition] 3160 | private int adoit( n, ac ) | ^~~~~ rsim.c: In function ‘doactivity’: rsim.c:3206:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 3206 | walk_net( adoit, (char *) &ac ); | ^~~~~~~~ ~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘cdoit’: rsim.c:3227:13: warning: old-style function definition [-Wold-style-definition] 3227 | private int cdoit( n, ac ) | ^~~~~ rsim.c: In function ‘dochanges’: rsim.c:3275:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 3275 | walk_net( cdoit, (char *) &ac ); | ^~~~~~~~ ~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘xrelax’: rsim.c:3285:13: warning: old-style function definition [-Wold-style-definition] 3285 | private int xrelax(n, type) | ^~~~~~ rsim.c:3297:7: error: too many arguments to function ‘enqueue_input’; expected 0, have 2 3297 | enqueue_input(n, set_type); | ^~~~~~~~~~~~~ ~ globals.h:302:13: note: declared here 302 | extern void enqueue_input( /* n, newvalue */ ); | ^~~~~~~~~~~~~ rsim.c: In function ‘doXRelax’: rsim.c:3323:4: error: too many arguments to function ‘walk_net’; expected 0, have 2 3323 | walk_net(xrelax, &set_type); | ^~~~~~~~ ~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c:3325:4: error: too many arguments to function ‘step’; expected 0, have 1 3325 | step(cur_delta); | ^~~~ ~~~~~~~~~ globals.h:93:12: note: declared here 93 | extern int step( /* stop_time */ ); | ^~~~ rsim.c: In function ‘xdoit’: rsim.c:3332:13: warning: old-style function definition [-Wold-style-definition] 3332 | private int xdoit( n, ac ) | ^~~~~ rsim.c: In function ‘doprintX’: rsim.c:3361:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 3361 | walk_net( xdoit, (char *) 0 ); | ^~~~~~~~ ~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘aldoit’: rsim.c:3372:13: warning: old-style function definition [-Wold-style-definition] 3372 | private int aldoit(n, canonical) | ^~~~~~ rsim.c: In function ‘doprintAlias’: rsim.c:3399:8: warning: implicit declaration of function ‘alias’; did you mean ‘UnAlias’? [-Wimplicit-function-declaration] 3399 | alias(targc, targv); | ^~~~~ | UnAlias rsim.c:3408:11: error: too many arguments to function ‘walk_net’; expected 0, have 2 3408 | walk_net(aldoit, aliasroot); | ^~~~~~~~ ~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘print_list’: rsim.c:3418:13: warning: old-style function definition [-Wold-style-definition] 3418 | private int print_list( n, l, eolist ) | ^~~~~~~~~~ rsim.c: In function ‘printPending’: rsim.c:3445:21: error: too many arguments to function ‘pending_events’; expected 0, have 3 3445 | while( (delta = pending_events( delta, &list, &eolst )) and n != 0 ) | ^~~~~~~~~~~~~~ ~~~~~ globals.h:286:14: note: declared here 286 | extern Ulong pending_events( /* delta, list, end_of_list */ ); | ^~~~~~~~~~~~~~ rsim.c: In function ‘dodisplay’: rsim.c:3492:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 3492 | if (str_eql(p, cmdfile_str) == 0) | ^~~~~~~ ~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:3494:18: error: too many arguments to function ‘str_eql’; expected 0, have 2 3494 | else if (str_eql(p, automatic_str) == 0) | ^~~~~~~ ~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:3497:17: error: too many arguments to function ‘str_eql’; expected 0, have 2 3497 | else if(str_eql(p, tclproc_str) == 0) | ^~~~~~~ ~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c: In function ‘setlogchanges’: rsim.c:3580:13: error: too many arguments to function ‘str_eql’; expected 0, have 2 3580 | if( str_eql( "off", targv[1] ) == 0 ) | ^~~~~~~ ~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:3584:17: error: too many arguments to function ‘Vfree’; expected 0, have 1 3584 | Vfree( changelog ); | ^~~~~ ~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:3590:20: error: too many arguments to function ‘FileStatus’; expected 0, have 1 3590 | stat = FileStatus( targv[1] ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:22:15: note: declared here 22 | extern Fstat *FileStatus( /* name */ ); | ^~~~~~~~~~ rsim.c:3601:21: error: too many arguments to function ‘Vfree’; expected 0, have 1 3601 | Vfree( changelog ); | ^~~~~ ~~~~~~~~~ globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ rsim.c:3602:29: error: too many arguments to function ‘Valloc’; expected 0, have 2 3602 | changelog = Valloc( strlen( targv[1] ) + 1, 0 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ rsim.c: In function ‘schedule’: rsim.c:3641:13: error: too many arguments to function ‘DequeueScheduled’; expected 0, have 1 3641 | DequeueScheduled(schedidx); | ^~~~~~~~~~~~~~~~ ~~~~~~~~ globals.h:311:13: note: declared here 311 | extern void DequeueScheduled( /* idx */ ); | ^~~~~~~~~~~~~~~~ rsim.c:3648:18: error: too many arguments to function ‘FindScheduled’; expected 0, have 1 3648 | ev = FindScheduled(schedidx); | ^~~~~~~~~~~~~ ~~~~~~~~ globals.h:310:14: note: declared here 310 | extern evptr FindScheduled( /* idx */ ); | ^~~~~~~~~~~~~ rsim.c:3681:11: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 3681 | new = EnqueueOther(TIMED_EV, stime); | ^~~~~~~~~~~~ globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ rsim.c: In function ‘do_incsim’: rsim.c:3711:15: error: too many arguments to function ‘rd_changes’; expected 0, have 2 3711 | ch_list = rd_changes( targv[1], changelog ); | ^~~~~~~~~~ ~~~~~~~~ globals.h:170:13: note: declared here 170 | extern iptr rd_changes( /* fname, logname */ ); | ^~~~~~~~~~ rsim.c:3716:9: error: too many arguments to function ‘incsim’; expected 0, have 1 3716 | incsim( ch_list ); | ^~~~~~ ~~~~~~~ globals.h:150:13: note: declared here 150 | extern void incsim( /* ch_list */ ); | ^~~~~~ rsim.c: In function ‘xDisplay’: rsim.c:3729:16: error: conflicting types for ‘getenv’; have ‘char *(void)’ 3729 | char *s, *getenv(); | ^~~~~~ In file included from rsim.c:17: /usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’ 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ rsim.c:3735:17: error: too many arguments to function ‘getenv’; expected 0, have 1 3735 | s = getenv( "DISPLAY" ); | ^~~~~~ ~~~~~~~~~ rsim.c:3729:16: note: declared here 3729 | char *s, *getenv(); | ^~~~~~ rsim.c: In function ‘analyzer’: rsim.c:3774:49: error: too many arguments to function ‘shift_args’; expected 0, have 1 3774 | case 'b' : ndigits = 1; shift_args(TRUE); break; | ^~~~~~~~~~ rsim.h:114:13: note: declared here 114 | extern void shift_args(); | ^~~~~~~~~~ rsim.c:3775:49: error: too many arguments to function ‘shift_args’; expected 0, have 1 3775 | case 'o' : ndigits = 3; shift_args(TRUE); break; | ^~~~~~~~~~ rsim.h:114:13: note: declared here 114 | extern void shift_args(); | ^~~~~~~~~~ rsim.c:3776:49: error: too many arguments to function ‘shift_args’; expected 0, have 1 3776 | case 'h' : ndigits = 4; shift_args(TRUE); break; | ^~~~~~~~~~ rsim.h:114:13: note: declared here 114 | extern void shift_args(); | ^~~~~~~~~~ rsim.c:3782:17: error: too many arguments to function ‘shift_args’; expected 0, have 1 3782 | shift_args(TRUE); | ^~~~~~~~~~ rsim.h:114:13: note: declared here 114 | extern void shift_args(); | ^~~~~~~~~~ rsim.c:3785:21: error: too many arguments to function ‘shift_args’; expected 0, have 1 3785 | shift_args(TRUE); | ^~~~~~~~~~ rsim.h:114:13: note: declared here 114 | extern void shift_args(); | ^~~~~~~~~~ rsim.c:3797:5: error: too many arguments to function ‘DisplayTraces’; expected 0, have 1 3797 | DisplayTraces(analyzerON); /* pass 0 first time */ | ^~~~~~~~~~~~~ ~~~~~~~~~~ globals.h:383:13: note: declared here 383 | extern void DisplayTraces( /* isMapped */ ); | ^~~~~~~~~~~~~ rsim.c: In function ‘start_analyzer’: rsim.c:3811:12: warning: old-style function definition [-Wold-style-definition] 3811 | public int start_analyzer(tkwind) | ^~~~~~~~~~~~~~ rsim.c:3813:1: error: number of arguments doesn’t match prototype 3813 | { | ^ rsim.h:108:12: error: prototype declaration 108 | extern int start_analyzer(); | ^~~~~~~~~~~~~~ rsim.c:3816:14: error: too many arguments to function ‘InitDisplay’; expected 0, have 2 3816 | if (!InitDisplay(first_file, tkwind)) | ^~~~~~~~~~~ ~~~~~~~~~~ globals.h:392:12: note: declared here 392 | extern int InitDisplay( /* fname, display_unit */ ); | ^~~~~~~~~~~ rsim.c:3818:9: error: too many arguments to function ‘InitTimes’; expected 0, have 4 3818 | InitTimes(sim_time0, stepsize, cur_delta, 1); | ^~~~~~~~~ ~~~~~~~~~ globals.h:393:13: note: declared here 393 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ rsim.c:3821:5: error: too many arguments to function ‘DisplayTraces’; expected 0, have 1 3821 | DisplayTraces(analyzerON); /* pass 0 first time */ | ^~~~~~~~~~~~~ ~~~~~~~~~~ globals.h:383:13: note: declared here 383 | extern void DisplayTraces( /* isMapped */ ); | ^~~~~~~~~~~~~ rsim.c: In function ‘dump_hist’: rsim.c:3860:5: error: too many arguments to function ‘DumpHist’; expected 0, have 1 3860 | DumpHist( fname ); | ^~~~~~~~ ~~~~~ globals.h:129:13: note: declared here 129 | extern void DumpHist( /* fname */ ); | ^~~~~~~~ rsim.c: In function ‘do_readh’: rsim.c:3872:5: error: too many arguments to function ‘ReadHist’; expected 0, have 1 3872 | ReadHist( targv[1] ); | ^~~~~~~~ ~~~~~~~~ globals.h:130:13: note: declared here 130 | extern void ReadHist( /* fname */ ); | ^~~~~~~~ rsim.c:3873:25: error: too many arguments to function ‘RestartAnalyzer’; expected 0, have 3 3873 | if( analyzerON ) RestartAnalyzer( sim_time0, cur_delta, TRUE ); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:385:13: note: declared here 385 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ rsim.c: In function ‘back_time’: rsim.c:3897:12: error: too many arguments to function ‘back_sim_time’; expected 0, have 2 3897 | (void) back_sim_time( cur_delta, FALSE ); | ^~~~~~~~~~~~~ ~~~~~~~~~ globals.h:306:14: note: declared here 306 | extern evptr back_sim_time( /* btime, is_inc */ ); | ^~~~~~~~~~~~~ rsim.c:3899:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 3899 | walk_net( backToTime, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c:3903:25: error: too many arguments to function ‘RestartAnalyzer’; expected 0, have 3 3903 | if( analyzerON ) RestartAnalyzer( sim_time0, cur_delta, TRUE ); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:385:13: note: declared here 385 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ rsim.c: In function ‘wr_net’: rsim.c:3928:5: error: too many arguments to function ‘wr_netfile’; expected 0, have 1 3928 | wr_netfile( fname ); | ^~~~~~~~~~ ~~~~~ globals.h:26:13: note: declared here 26 | extern void wr_netfile( /* fname */ ); | ^~~~~~~~~~ rsim.c: In function ‘IncHistEvCnt’: rsim.c:3943:6: warning: old-style function definition [-Wold-style-definition] 3943 | void IncHistEvCnt( tp ) | ^~~~~~~~~~~~ rsim.c:3945:3: error: number of arguments doesn’t match prototype 3945 | { | ^ globals.h:262:13: error: prototype declaration 262 | extern void IncHistEvCnt( /* tp */ ); | ^~~~~~~~~~~~ rsim.c:3969:24: error: too many arguments to function ‘MallocList’; expected 0, have 2 3969 | h = (hptr) MallocList( sizeof( HistEnt ), 1 ); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ rsim.c: In function ‘do_ev_stats’: rsim.c:3993:9: error: too many arguments to function ‘str_eql’; expected 0, have 2 3993 | if( str_eql( "on", targv[1] ) == 0 ) | ^~~~~~~ ~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:4002:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 4002 | else if( str_eql( "clear", targv[1] ) == 0 ) | ^~~~~~~ ~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:4007:14: error: too many arguments to function ‘str_eql’; expected 0, have 2 4007 | else if( str_eql( "off", targv[1] ) == 0 ) | ^~~~~~~ ~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c: In function ‘do_pr_ev_stats’: rsim.c:4050:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int:60’ [-Wformat=] 4050 | fprintf( fp, "%d\t%d\n", h->time, h->t.xx ); | ~^ ~~~~~~~ | | | | int long unsigned int:60 rsim.c: In function ‘RecordConnList’: rsim.c:4071:6: warning: old-style function definition [-Wold-style-definition] 4071 | void RecordConnList( ntx ) | ^~~~~~~~~~~~~~ rsim.c:4073:3: error: number of arguments doesn’t match prototype 4073 | { | ^ globals.h:399:13: error: prototype declaration 399 | extern void RecordConnList( /* num_trans */ ); | ^~~~~~~~~~~~~~ rsim.c: In function ‘cl_compar’: rsim.c:4078:13: warning: old-style function definition [-Wold-style-definition] 4078 | private int cl_compar( a, b ) | ^~~~~~~~~ rsim.c: In function ‘do_cl_stats’: rsim.c:4090:19: warning: conflicting types for built-in function ‘sqrt’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch] 4090 | extern double sqrt(); | ^~~~ rsim.c:30:1: note: ‘sqrt’ is declared in header ‘’ 29 | #include "rsim.h" +++ |+#include 30 | rsim.c:4122:11: error: too many arguments to function ‘sqrt’; expected 0, have 1 4122 | dev = sqrt( dev / tot ); | ^~~~ ~~~~~~~~~ rsim.c:4090:19: note: declared here 4090 | extern double sqrt(); | ^~~~ rsim.c: In function ‘count_trans’: rsim.c:4159:13: warning: old-style function definition [-Wold-style-definition] 4159 | private int count_trans( n, tt ) | ^~~~~~~~~~~ rsim.c: In function ‘do_stats’: rsim.c:4190:13: error: too many arguments to function ‘walk_net’; expected 0, have 2 4190 | walk_net( count_trans, &tt ); | ^~~~~~~~ ~~~~~~~~~~~ globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ rsim.c: In function ‘shift_args’: rsim.c:4237:6: warning: old-style function definition [-Wold-style-definition] 4237 | void shift_args( left ) | ^~~~~~~~~~ rsim.c:4239:3: error: number of arguments doesn’t match prototype 4239 | { | ^ rsim.h:114:13: error: prototype declaration 114 | extern void shift_args(); | ^~~~~~~~~~ rsim.c: In function ‘do_time’: rsim.c:4266:5: error: too many arguments to function ‘shift_args’; expected 0, have 1 4266 | shift_args( TRUE ); | ^~~~~~~~~~ rsim.c:4237:6: note: declared here 4237 | void shift_args( left ) | ^~~~~~~~~~ rsim.c:4275:5: error: too many arguments to function ‘print_usage’; expected 0, have 2 4275 | print_usage( narg, usage_str ); /* targc == 0 -> total usage */ | ^~~~~~~~~~~ ~~~~ globals.h:365:13: note: declared here 365 | extern void print_usage( /* partial, dest */ ); | ^~~~~~~~~~~ rsim.c: In function ‘flush_hist’: rsim.c:4318:5: error: too many arguments to function ‘FlushHist’; expected 0, have 1 4318 | FlushHist(ftime); | ^~~~~~~~~ ~~~~~ globals.h:124:13: note: declared here 124 | extern void FlushHist( /* ftime */ ); | ^~~~~~~~~ rsim.c:4321:25: error: too many arguments to function ‘RestartAnalyzer’; expected 0, have 3 4321 | if( analyzerON ) RestartAnalyzer( sim_time0, cur_delta, TRUE ); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ globals.h:385:13: note: declared here 385 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ rsim.c: In function ‘parse_trigger’: rsim.c:4360:12: error: too many arguments to function ‘ch2pot’; expected 0, have 1 4360 | edge = ch2pot( targv[2][0] ); | ^~~~~~ ~~~~~~~~~~~ rsim.c:400:12: note: declared here 400 | public int ch2pot( ch ) | ^~~~~~ rsim.c:4372:9: error: too many arguments to function ‘add_trigger’; expected 0, have 3 4372 | if( add_trigger( f.node, edge, delay ) ) | ^~~~~~~~~~~ ~~~~~~ rsim.c:4342:17: note: declared here 4342 | extern int add_trigger(); | ^~~~~~~~~~~ rsim.c: In function ‘parse_sampler’: rsim.c:4411:13: error: too many arguments to function ‘add_sampler’; expected 0, have 2 4411 | return( add_sampler( period, offset ) ); | ^~~~~~~~~~~ ~~~~~~ rsim.c:4343:17: note: declared here 4343 | extern int add_sampler(); | ^~~~~~~~~~~ rsim.c: In function ‘setup_fsim’: rsim.c:4419:13: warning: old-style function definition [-Wold-style-definition] 4419 | private int setup_fsim( file, p_seed ) | ^~~~~~~~~~ rsim.c:4441:24: error: too many arguments to function ‘fgetline’; expected 0, have 3 4441 | while( not err and fgetline( line, 256, fp ) != NULL ) | ^~~~~~~~ ~~~~ globals.h:103:14: note: declared here 103 | extern char *fgetline( /* bp, len, fp */ ); | ^~~~~~~~ rsim.c:4444:9: error: too many arguments to function ‘parse_line’; expected 0, have 2 4444 | parse_line( line, 256 ); | ^~~~~~~~~~ ~~~~ rsim.c:108:13: note: declared here 108 | public void parse_line( line, bufsize ) | ^~~~~~~~~~ rsim.c:4451:17: error: too many arguments to function ‘str_eql’; expected 0, have 2 4451 | if( str_eql( "seed", targv[0] ) == 0 ) | ^~~~~~~ ~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:4474:17: error: too many arguments to function ‘str_eql’; expected 0, have 2 4474 | if( str_eql( "sample", targv[0] ) == 0 ) | ^~~~~~~ ~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:4476:22: error: too many arguments to function ‘str_eql’; expected 0, have 2 4476 | else if( str_eql( "trigger", targv[0] ) == 0 ) | ^~~~~~~ ~~~~~~~~~ globals.h:206:12: note: declared here 206 | extern int str_eql( /* s1, s2 */ ); | ^~~~~~~ rsim.c:4492:13: error: too many arguments to function ‘shift_args’; expected 0, have 1 4492 | shift_args( FALSE ); | ^~~~~~~~~~ rsim.c:4237:6: note: declared here 4237 | void shift_args( left ) | ^~~~~~~~~~ rsim.c: In function ‘do_fsim’: rsim.c:4528:9: error: too many arguments to function ‘exec_fsim’; expected 0, have 2 4528 | exec_fsim( outname, p_seed ); | ^~~~~~~~~ ~~~~~~~ rsim.c:4346:17: note: declared here 4346 | extern void exec_fsim(); | ^~~~~~~~~ rsim.c: In function ‘BaseName’: rsim.c:4538:14: warning: old-style function definition [-Wold-style-definition] 4538 | public char *BaseName( fname ) | ^~~~~~~~ rsim.c:4540:3: error: number of arguments doesn’t match prototype 4540 | { | ^ rsim.h:104:14: error: prototype declaration 104 | extern char *BaseName(); | ^~~~~~~~ make[2]: *** [../rules.mak:13: rsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/base' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/analyzer.o rm -f analyzer.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c analyzer.c analyzer.c: In function ‘SetName’: analyzer.c:25:14: warning: old-style function definition [-Wold-style-definition] 25 | public char *SetName( n ) | ^~~~~~~ analyzer.c:27:3: error: number of arguments doesn’t match prototype 27 | { | ^ In file included from analyzer.c:20: ana_glob.h:12:14: error: prototype declaration 12 | extern char *SetName( /* n */ ); | ^~~~~~~ analyzer.c: In function ‘AddTrace’: analyzer.c:40:14: warning: old-style function definition [-Wold-style-definition] 40 | private void AddTrace( t ) | ^~~~~~~~ analyzer.c: In function ‘OffsetNode’: analyzer.c:58:12: warning: old-style function definition [-Wold-style-definition] 58 | public int OffsetNode( nd, flag ) | ^~~~~~~~~~ analyzer.c:61:1: error: number of arguments doesn’t match prototype 61 | { | ^ ana_glob.h:15:12: error: prototype declaration 15 | extern int OffsetNode( /* nd, flag */ ); | ^~~~~~~~~~ analyzer.c: In function ‘OffsetVector’: analyzer.c:66:12: warning: old-style function definition [-Wold-style-definition] 66 | public int OffsetVector( vec, flag ) | ^~~~~~~~~~~~ analyzer.c:69:1: error: number of arguments doesn’t match prototype 69 | { | ^ ana_glob.h:16:12: error: prototype declaration 16 | extern int OffsetVector( /* vec, flag */ ); | ^~~~~~~~~~~~ analyzer.c: In function ‘AddNode’: analyzer.c:74:12: warning: old-style function definition [-Wold-style-definition] 74 | public int AddNode( nd, flag ) | ^~~~~~~ analyzer.c:77:3: error: number of arguments doesn’t match prototype 77 | { | ^ ana_glob.h:13:12: error: prototype declaration 13 | extern int AddNode( /* nd, flag */ ); | ^~~~~~~ analyzer.c:88:22: error: too many arguments to function ‘Valloc’; expected 0, have 2 88 | if( (t = (Trptr) Valloc( sizeof( TraceEnt ), 0 )) == NULL ) | ^~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from analyzer.c:18: ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ analyzer.c:94:15: error: too many arguments to function ‘SetName’; expected 0, have 1 94 | t->name = SetName( nd->nname ); | ^~~~~~~ ~~~~~~~~~ analyzer.c:25:14: note: declared here 25 | public char *SetName( n ) | ^~~~~~~ analyzer.c: In function ‘AddVector’: analyzer.c:105:12: warning: old-style function definition [-Wold-style-definition] 105 | public int AddVector( vec, flag ) | ^~~~~~~~~ analyzer.c:108:3: error: number of arguments doesn’t match prototype 108 | { | ^ ana_glob.h:14:12: error: prototype declaration 14 | extern int AddVector( /* vec, flag */ ); | ^~~~~~~~~ analyzer.c:113:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 113 | t = (Trptr) Valloc( sizeof( TraceEnt ) + sizeof( Cache ) * (n - 1), 0 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ analyzer.c:120:15: error: too many arguments to function ‘SetName’; expected 0, have 1 120 | t->name = SetName( vec->name ); | ^~~~~~~ ~~~~~~~~~ analyzer.c:25:14: note: declared here 25 | public char *SetName( n ) | ^~~~~~~ analyzer.c: In function ‘DisplayTraces’: analyzer.c:136:13: warning: old-style function definition [-Wold-style-definition] 136 | public void DisplayTraces( isMapped ) | ^~~~~~~~~~~~~ analyzer.c:138:3: error: number of arguments doesn’t match prototype 138 | { | ^ ana_glob.h:17:13: error: prototype declaration 17 | extern void DisplayTraces( /* isMapped */ ); | ^~~~~~~~~~~~~ analyzer.c:157:13: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 157 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:158:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 158 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:161:17: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 161 | DrawScrollBar( FALSE ); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ analyzer.c:164:13: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 164 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ analyzer.c: In function ‘RestartAnalyzer’: analyzer.c:178:13: warning: old-style function definition [-Wold-style-definition] 178 | public void RestartAnalyzer( first_time, last_time, same_hist ) | ^~~~~~~~~~~~~~~ analyzer.c:181:3: error: number of arguments doesn’t match prototype 181 | { | ^ ana_glob.h:19:13: error: prototype declaration 19 | extern void RestartAnalyzer( /* first_time, last_time, same_hist */ ); | ^~~~~~~~~~~~~~~ analyzer.c:200:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 200 | InitTimes( first_time, tims.steps / DEF_STEPS, last_time, 1); | ^~~~~~~~~ ~~~~~~~~~~ ana_glob.h:186:13: note: declared here 186 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ analyzer.c:202:9: error: too many arguments to function ‘UpdateTraceCache’; expected 0, have 1 202 | UpdateTraceCache( 0 ); | ^~~~~~~~~~~~~~~~ ~ ana_glob.h:195:13: note: declared here 195 | extern void UpdateTraceCache( /* first_trace */ ); | ^~~~~~~~~~~~~~~~ analyzer.c: In function ‘RemoveTrace’: analyzer.c:209:13: warning: old-style function definition [-Wold-style-definition] 209 | public void RemoveTrace( t ) | ^~~~~~~~~~~ analyzer.c:232:5: error: too many arguments to function ‘Vfree’; expected 0, have 1 232 | Vfree( t ); | ^~~~~ ~ ../base/globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ analyzer.c: In function ‘ClearTraces’: analyzer.c:266:9: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 266 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:268:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 268 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:269:5: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 269 | DrawScrollBar( wasTooSmall ); | ^~~~~~~~~~~~~ ~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ analyzer.c:271:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 271 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ analyzer.c:238:10: warning: variable ‘change’ set but not used [-Wunused-but-set-variable] 238 | int change, wasTooSmall; | ^~~~~~ analyzer.c: In function ‘UpdateWinRemove’: analyzer.c:293:9: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 293 | DrawScrollBar( FALSE ); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ analyzer.c:297:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 297 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:298:5: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 298 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ analyzer.c:299:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 299 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ analyzer.c: In function ‘RemoveVector’: analyzer.c:305:13: warning: old-style function definition [-Wold-style-definition] 305 | public void RemoveVector( b ) | ^~~~~~~~~~~~ analyzer.c:307:3: error: number of arguments doesn’t match prototype 307 | { | ^ ana_glob.h:21:13: error: prototype declaration 21 | extern void RemoveVector( /* b */ ); | ^~~~~~~~~~~~ analyzer.c: In function ‘RemoveNode’: analyzer.c:329:13: warning: old-style function definition [-Wold-style-definition] 329 | public void RemoveNode( n ) | ^~~~~~~~~~ analyzer.c:331:3: error: number of arguments doesn’t match prototype 331 | { | ^ ana_glob.h:22:13: error: prototype declaration 22 | extern void RemoveNode( /* n */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: analyzer.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/base.o rm -f base.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c base.c base.c: In function ‘ChangeTraceBase’: base.c:23:13: warning: old-style function definition [-Wold-style-definition] 23 | public void ChangeTraceBase(trace, base) | ^~~~~~~~~~~~~~~ base.c:31:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 31 | PRINT("\nSelect a trace first!"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from base.c:16: ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ base.c:36:13: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration] 36 | switch (tolower(*base)) { | ^~~~~~~ base.c:18:1: note: include ‘’ or provide a declaration of ‘tolower’ 17 | #include "graphics.h" +++ |+#include 18 | base.c:56:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 56 | PRINT("\nUnknown base type!"); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ base.c:67:13: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 67 | DrawScrollBar(FALSE); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ base.c:69:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 69 | DrawCursVal(cursorBox); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ base.c:70:13: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 70 | DrawTraces(tims.start, tims.end); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ base.c:79:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 79 | DrawCursVal(rb); | ^~~~~~~~~~~ ~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ base.c:82:13: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 82 | RedrawTraces(&rb); /* just redraw this trace */ | ^~~~~~~~~~~~ ~~~ ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ base.c: In function ‘ChangeBase’: base.c:91:13: warning: old-style function definition [-Wold-style-definition] 91 | public void ChangeBase(base) | ^~~~~~~~~~ base.c:93:1: error: number of arguments doesn’t match prototype 93 | { | ^ ana_glob.h:27:13: error: prototype declaration 27 | extern void ChangeBase( /* base */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: base.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/coords.o rm -f coords.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c coords.c coords.c: In function ‘MaxTraceDigits’: coords.c:224:13: warning: old-style function definition [-Wold-style-definition] 224 | private int MaxTraceDigits( n ) | ^~~~~~~~~~~~~~ coords.c: In function ‘MaxTraceName’: coords.c:252:13: warning: old-style function definition [-Wold-style-definition] 252 | private int MaxTraceName( n ) | ^~~~~~~~~~~~ coords.c: In function ‘GetMinWsize’: coords.c:269:13: warning: old-style function definition [-Wold-style-definition] 269 | public void GetMinWsize( w, h ) | ^~~~~~~~~~~ coords.c:271:3: error: number of arguments doesn’t match prototype 271 | { | ^ In file included from coords.c:20: ana_glob.h:50:13: error: prototype declaration 50 | extern void GetMinWsize( /* w, h */ ); | ^~~~~~~~~~~ coords.c: In function ‘WindowChanges’: coords.c:331:13: error: too many arguments to function ‘UpdateTraceCache’; expected 0, have 1 331 | UpdateTraceCache( last_disp ); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:195:13: note: declared here 195 | extern void UpdateTraceCache( /* first_trace */ ); | ^~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: coords.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/zoom.o rm -f zoom.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c zoom.c zoom.c: In function ‘Zoom’: zoom.c:19:13: warning: old-style function definition [-Wold-style-definition] 19 | public void Zoom( what ) | ^~~~ zoom.c:21:3: error: number of arguments doesn’t match prototype 21 | { | ^ In file included from zoom.c:16: ana_glob.h:214:13: error: prototype declaration 214 | extern void Zoom( /* what */ ); | ^~~~ zoom.c:60:9: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 60 | DrawTraces( start, tims.end ); | ^~~~~~~~~~ ~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: zoom.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/setsteps.o rm -f setsteps.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c setsteps.c setsteps.c: In function ‘GetWidth’: setsteps.c:22:14: warning: old-style function definition [-Wold-style-definition] 22 | private void GetWidth( str ) | ^~~~~~~~ setsteps.c:45:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 45 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ In file included from setsteps.c:19: ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ setsteps.c: In function ‘SetWidth’: setsteps.c:49:13: warning: old-style function definition [-Wold-style-definition] 49 | public void SetWidth( s ) | ^~~~~~~~ setsteps.c:51:3: error: number of arguments doesn’t match prototype 51 | { | ^ ana_glob.h:132:13: error: prototype declaration 132 | extern void SetWidth( /* s */ ); | ^~~~~~~~ setsteps.c:52:5: error: too many arguments to function ‘Query’; expected 0, have 2 52 | Query( "\nEnter Time Steps > ", GetWidth ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:153:13: note: declared here 153 | extern void Query( /* prompt, func */ ); | ^~~~~ setsteps.c: In function ‘SetTimeLeft’: setsteps.c:66:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 66 | DrawTraces(tims.start, tims.end); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ setsteps.c: In function ‘SetTimeRight’: setsteps.c:76:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 76 | DrawTraces(tims.start, tims.end); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ make[2]: *** [../rules.mak:15: setsteps.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/deltaT.o rm -f deltaT.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c deltaT.c deltaT.c: In function ‘FindPreviousEdge’: deltaT.c:20:18: warning: old-style function definition [-Wold-style-definition] 20 | private TimeType FindPreviousEdge( t, tm, edgeH ) | ^~~~~~~~~~~~~~~~ deltaT.c: In function ‘FindNextEdge’: deltaT.c:70:18: warning: old-style function definition [-Wold-style-definition] 70 | private TimeType FindNextEdge( t, tm, edgeH ) | ^~~~~~~~~~~~ deltaT.c: In function ‘WaitForRelease’: deltaT.c:134:5: error: too many arguments to function ‘GrabMouse’; expected 0, have 3 134 | GrabMouse( window, ButtonPressMask | ButtonReleaseMask, None ); | ^~~~~~~~~ ~~~~~~ In file included from deltaT.c:16: ana_glob.h:207:13: note: declared here 207 | extern void GrabMouse( /* w, ev_mask, cursor */ ); | ^~~~~~~~~ deltaT.c: In function ‘Terminate’: deltaT.c:150:14: warning: old-style function definition [-Wold-style-definition] 150 | private void Terminate( cancel ) | ^~~~~~~~~ deltaT.c:154:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 154 | PRINT( "(canceled: click on a trace)" ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ deltaT.c:155:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 155 | SendEventTo( NULL ); | ^~~~~~~~~~~ ~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ deltaT.c: In function ‘SetEdge1’: deltaT.c:161:14: warning: old-style function definition [-Wold-style-definition] 161 | private void SetEdge1( ev ) | ^~~~~~~~ deltaT.c:176:10: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 176 | t1 = GetYTrace( ev->y ); | ^~~~~~~~~ ~~~~~ ana_glob.h:115:14: note: declared here 115 | extern Trptr GetYTrace( /* y */ ); | ^~~~~~~~~ deltaT.c:177:10: error: too many arguments to function ‘XToTime’; expected 0, have 1 177 | tm = XToTime( ev->x ); | ^~~~~~~ ~~~~~ ana_glob.h:180:17: note: declared here 180 | extern TimeType XToTime( /* x */ ); | ^~~~~~~ deltaT.c:184:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 184 | x1 = TimeToX( time1 ); | ^~~~~~~ ~~~~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ deltaT.c:193:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 193 | PRINT( " | t2 = " ); | ^~~~~ ~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ deltaT.c:195:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 195 | SendEventTo( SetEdge2 ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ deltaT.c: In function ‘SetEdge2’: deltaT.c:199:14: warning: old-style function definition [-Wold-style-definition] 199 | private void SetEdge2( ev ) | ^~~~~~~~ deltaT.c:216:10: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 216 | t2 = GetYTrace( ev->y ); | ^~~~~~~~~ ~~~~~ ana_glob.h:115:14: note: declared here 115 | extern Trptr GetYTrace( /* y */ ); | ^~~~~~~~~ deltaT.c:217:13: error: too many arguments to function ‘XToTime’; expected 0, have 1 217 | time2 = XToTime( ev->x ); | ^~~~~~~ ~~~~~ ana_glob.h:180:17: note: declared here 180 | extern TimeType XToTime( /* x */ ); | ^~~~~~~ deltaT.c:224:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 224 | x2 = TimeToX( time2 ); | ^~~~~~~ ~~~~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ deltaT.c: In function ‘DeltaT’: deltaT.c:246:13: warning: old-style function definition [-Wold-style-definition] 246 | public void DeltaT( s ) | ^~~~~~ deltaT.c:248:3: error: number of arguments doesn’t match prototype 248 | { | ^ ana_glob.h:59:13: error: prototype declaration 59 | extern void DeltaT( /* s */ ); | ^~~~~~ deltaT.c:249:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 249 | PRINT( "\nt1 = " ); | ^~~~~ ~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ deltaT.c:250:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 250 | SendEventTo( SetEdge1 ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ make[2]: *** [../rules.mak:15: deltaT.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/defaults.o rm -f defaults.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c defaults.c defaults.c: In function ‘GetXDefault’: defaults.c:71:14: warning: old-style function definition [-Wold-style-definition] 71 | public char *GetXDefault( key ) | ^~~~~~~~~~~ defaults.c:73:3: error: number of arguments doesn’t match prototype 73 | { | ^ In file included from defaults.c:20: ana_glob.h:84:14: error: prototype declaration 84 | extern char *GetXDefault( /* key */ ); | ^~~~~~~~~~~ defaults.c: In function ‘IsDefault’: defaults.c:81:12: warning: old-style function definition [-Wold-style-definition] 81 | public int IsDefault( key, val ) | ^~~~~~~~~ defaults.c:84:3: error: number of arguments doesn’t match prototype 84 | { | ^ ana_glob.h:85:12: error: prototype declaration 85 | extern int IsDefault( /* key, val */ ); | ^~~~~~~~~ defaults.c: In function ‘ProgDefault’: defaults.c:91:14: warning: old-style function definition [-Wold-style-definition] 91 | public char *ProgDefault( key ) | ^~~~~~~~~~~ defaults.c:91:14: warning: type of ‘key’ defaults to ‘int’ [-Wimplicit-int] defaults.c:92:3: error: number of arguments doesn’t match prototype 92 | { | ^ ana_glob.h:86:14: error: prototype declaration 86 | extern char *ProgDefault( /* key */ ); | ^~~~~~~~~~~ make[2]: *** [../rules.mak:15: defaults.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/movetrace.o rm -f movetrace.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c movetrace.c movetrace.c: In function ‘GetYTrace’: movetrace.c:34:14: warning: old-style function definition [-Wold-style-definition] 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:36:3: error: number of arguments doesn’t match prototype 36 | { | ^ In file included from movetrace.c:21: ana_glob.h:115:14: error: prototype declaration 115 | extern Trptr GetYTrace( /* y */ ); | ^~~~~~~~~ movetrace.c: In function ‘UnderlineTrace’: movetrace.c:57:13: warning: old-style function definition [-Wold-style-definition] 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c:60:3: error: number of arguments doesn’t match prototype 60 | { | ^ ana_glob.h:116:13: error: prototype declaration 116 | extern void UnderlineTrace( /* t, color */ ); | ^~~~~~~~~~~~~~ movetrace.c: In function ‘MoveTrace’: movetrace.c:73:13: warning: old-style function definition [-Wold-style-definition] 73 | public void MoveTrace( y ) | ^~~~~~~~~ movetrace.c:75:3: error: number of arguments doesn’t match prototype 75 | { | ^ ana_glob.h:117:13: error: prototype declaration 117 | extern void MoveTrace( /* y */ ); | ^~~~~~~~~ movetrace.c:84:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 84 | if( (select = GetYTrace( y )) == NULL ) | ^~~~~~~~~ ~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:103:5: error: too many arguments to function ‘GrabMouse’; expected 0, have 3 103 | GrabMouse( window, ButtonPressMask | ButtonMotionMask | ButtonReleaseMask, | ^~~~~~~~~ ~~~~~~ ana_glob.h:207:13: note: declared here 207 | extern void GrabMouse( /* w, ev_mask, cursor */ ); | ^~~~~~~~~ movetrace.c:110:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 110 | new = GetYTrace( ev.xmotion.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:112:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 112 | new = GetYTrace( ev.xbutton.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:153:9: error: too many arguments to function ‘SelectTrace’; expected 0, have 1 153 | SelectTrace( select ); | ^~~~~~~~~~~ ~~~~~~ movetrace.c:28:32: note: declared here 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c:156:9: error: too many arguments to function ‘MoveTraces’; expected 0, have 2 156 | MoveTraces( select, old ); | ^~~~~~~~~~ ~~~~~~ movetrace.c:28:47: note: declared here 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~ movetrace.c:157:9: error: too many arguments to function ‘UnderlineTrace’; expected 0, have 2 157 | UnderlineTrace( selectedTrace, gcs.black ); /* select box erased it */ | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~ movetrace.c:57:13: note: declared here 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c:160:9: error: too many arguments to function ‘DeleteTrace’; expected 0, have 1 160 | DeleteTrace( select ); | ^~~~~~~~~~~ ~~~~~~ movetrace.c:28:17: note: declared here 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c: In function ‘DeleteTrace’: movetrace.c:168:13: warning: old-style function definition [-Wold-style-definition] 168 | public void DeleteTrace( t ) | ^~~~~~~~~~~ movetrace.c:170:3: error: number of arguments doesn’t match prototype 170 | { | ^ movetrace.c:28:17: error: prototype declaration 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c:193:5: error: too many arguments to function ‘Vfree’; expected 0, have 1 193 | Vfree( t ); | ^~~~~ ~ In file included from movetrace.c:18: ../base/globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ movetrace.c:205:9: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 205 | DrawScrollBar( FALSE ); | ^~~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ movetrace.c:209:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 209 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:210:5: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 210 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:211:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 211 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ movetrace.c: In function ‘SelectTrace’: movetrace.c:218:13: warning: old-style function definition [-Wold-style-definition] 218 | public void SelectTrace( t ) | ^~~~~~~~~~~ movetrace.c:220:3: error: number of arguments doesn’t match prototype 220 | { | ^ movetrace.c:28:32: error: prototype declaration 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~~ movetrace.c:225:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 225 | PRINT( "\nvector: " ); | ^~~~~ ~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:226:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 226 | PRINT( t->n.vec->name ); | ^~~~~ ~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:231:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 231 | PRINT( "\nalias: " ); | ^~~~~ ~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:232:13: error: too many arguments to function ‘PRINT’; expected 0, have 1 232 | PRINT( t->n.vec->nodes[0]->nname ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:237:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 237 | PRINT( "\nnode: " ); | ^~~~~ ~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:238:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 238 | PRINT( t->n.nd->nname ); | ^~~~~ ~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ movetrace.c:242:9: error: too many arguments to function ‘UnderlineTrace’; expected 0, have 2 242 | UnderlineTrace( selectedTrace, gcs.white ); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~ movetrace.c:57:13: note: declared here 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c:244:5: error: too many arguments to function ‘UnderlineTrace’; expected 0, have 2 244 | UnderlineTrace( t, gcs.black ); | ^~~~~~~~~~~~~~ ~ movetrace.c:57:13: note: declared here 57 | public void UnderlineTrace( t, color ) | ^~~~~~~~~~~~~~ movetrace.c: In function ‘MoveTraces’: movetrace.c:252:13: warning: old-style function definition [-Wold-style-definition] 252 | public void MoveTraces( from, to ) | ^~~~~~~~~~ movetrace.c:254:3: error: number of arguments doesn’t match prototype 254 | { | ^ movetrace.c:28:47: error: prototype declaration 28 | public void DeleteTrace(), SelectTrace(), MoveTraces(); | ^~~~~~~~~~ movetrace.c:319:5: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 319 | RedrawNames( rb ); | ^~~~~~~~~~~ ~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:320:5: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 320 | DrawCursVal( rb ); | ^~~~~~~~~~~ ~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ movetrace.c:323:5: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 323 | RedrawTraces( &rb ); | ^~~~~~~~~~~~ ~~~ ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ movetrace.c: In function ‘SelectCursTrace’: movetrace.c:332:13: warning: old-style function definition [-Wold-style-definition] 332 | public void SelectCursTrace( y ) | ^~~~~~~~~~~~~~~ movetrace.c:334:3: error: number of arguments doesn’t match prototype 334 | { | ^ ana_glob.h:118:13: error: prototype declaration 118 | extern void SelectCursTrace( /* y */ ); | ^~~~~~~~~~~~~~~ movetrace.c:346:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 346 | if( (select = GetYTrace( y )) ) | ^~~~~~~~~ ~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:353:5: error: too many arguments to function ‘GrabMouse’; expected 0, have 3 353 | GrabMouse( window, ButtonPressMask | ButtonMotionMask | ButtonReleaseMask, | ^~~~~~~~~ ~~~~~~ ana_glob.h:207:13: note: declared here 207 | extern void GrabMouse( /* w, ev_mask, cursor */ ); | ^~~~~~~~~ movetrace.c:360:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 360 | new = GetYTrace( ev.xmotion.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:362:19: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 362 | new = GetYTrace( ev.xbutton.y ); | ^~~~~~~~~ ~~~~~~~~~~~~ movetrace.c:34:14: note: declared here 34 | public Trptr GetYTrace( y ) | ^~~~~~~~~ movetrace.c:388:9: error: too many arguments to function ‘ExpandCursVal’; expected 0, have 1 388 | ExpandCursVal( select ); | ^~~~~~~~~~~~~ ~~~~~~ ana_glob.h:202:13: note: declared here 202 | extern void ExpandCursVal( /* t */ ); | ^~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: movetrace.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/update.o rm -f update.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c update.c update.c: In function ‘ScrollUpdate’: update.c:27:13: warning: old-style function definition [-Wold-style-definition] 27 | public void ScrollUpdate( m ) | ^~~~~~~~~~~~ update.c:29:3: error: number of arguments doesn’t match prototype 29 | { | ^ In file included from update.c:18: ana_glob.h:161:13: error: prototype declaration 161 | extern void ScrollUpdate( /* s */ ); | ^~~~~~~~~~~~ update.c: In function ‘RestoreScroll’: update.c:49:9: error: too many arguments to function ‘UpdateWindow’; expected 0, have 1 49 | UpdateWindow( updPendTime ); | ^~~~~~~~~~~~ ~~~~~~~~~~~ ana_glob.h:199:13: note: declared here 199 | extern void UpdateWindow( /* endT */ ); | ^~~~~~~~~~~~ make[2]: *** [../rules.mak:15: update.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/namelen.o rm -f namelen.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c namelen.c namelen.c: In function ‘GetNameLen’: namelen.c:25:13: warning: old-style function definition [-Wold-style-definition] 25 | public void GetNameLen( str ) | ^~~~~~~~~~ namelen.c:53:23: error: too many arguments to function ‘SetName’; expected 0, have 1 53 | t->name = SetName( t->n.vec->name ); | ^~~~~~~ ~~~~~~~~~~~~~~ In file included from namelen.c:20: ana_glob.h:12:14: note: declared here 12 | extern char *SetName( /* n */ ); | ^~~~~~~ namelen.c:55:23: error: too many arguments to function ‘SetName’; expected 0, have 1 55 | t->name = SetName( t->n.nd->nname ); | ^~~~~~~ ~~~~~~~~~~~~~~ ana_glob.h:12:14: note: declared here 12 | extern char *SetName( /* n */ ); | ^~~~~~~ namelen.c:81:13: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 81 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ namelen.c:83:9: error: too many arguments to function ‘RedrawNames’; expected 0, have 1 83 | RedrawNames( namesBox ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:193:13: note: declared here 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ namelen.c:84:9: error: too many arguments to function ‘DrawScrollBar’; expected 0, have 1 84 | DrawScrollBar( wasTooSmall ); | ^~~~~~~~~~~~~ ~~~~~~~~~~~ ana_glob.h:144:13: note: declared here 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ namelen.c:86:9: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 86 | DrawTraces( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ namelen.c: In function ‘SetNameLen’: namelen.c:93:13: warning: old-style function definition [-Wold-style-definition] 93 | public void SetNameLen( s ) | ^~~~~~~~~~ namelen.c:95:3: error: number of arguments doesn’t match prototype 95 | { | ^ ana_glob.h:123:13: error: prototype declaration 123 | extern void SetNameLen( /* s */ ); | ^~~~~~~~~~ namelen.c:97:5: error: too many arguments to function ‘Query’; expected 0, have 2 97 | Query( " > ", GetNameLen ); | ^~~~~ ~~~~~ ana_glob.h:153:13: note: declared here 153 | extern void Query( /* prompt, func */ ); | ^~~~~ make[2]: *** [../rules.mak:15: namelen.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/movetot.o rm -f movetot.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c movetot.c movetot.c: In function ‘MoveToTimeValue’: movetot.c:22:5: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 22 | DrawTraces(start, tims.end); | ^~~~~~~~~~ ~~~~~ In file included from movetot.c:7: ana_glob.h:197:13: note: declared here 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ movetot.c: At top level: movetot.c:40:13: error: conflicting types for ‘MoveToTime’; have ‘void(char *)’ 40 | public void MoveToTime(char *s) | ^~~~~~~~~~ ana_glob.h:110:13: note: previous declaration of ‘MoveToTime’ with type ‘void(void)’ 110 | extern void MoveToTime( /* s */ ); | ^~~~~~~~~~ movetot.c: In function ‘MoveToTime’: movetot.c:43:5: error: too many arguments to function ‘Query’; expected 0, have 2 43 | Query( "\nEnter Time > ", MoveToT ); | ^~~~~ ~~~~~~~~~~~~~~~~~ ana_glob.h:153:13: note: declared here 153 | extern void Query( /* prompt, func */ ); | ^~~~~ make[2]: *** [../rules.mak:15: movetot.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/tkana.o rm -f tkana.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c tkana.c tkana.c:86:7: error: conflicting types for ‘analyzer_time_cursor’; have ‘float(int)’ 86 | float analyzer_time_cursor(int x) | ^~~~~~~~~~~~~~~~~~~~ In file included from tkana.c:27: ana_glob.h:227:14: note: previous declaration of ‘analyzer_time_cursor’ with type ‘float(void)’ 227 | extern float analyzer_time_cursor(); | ^~~~~~~~~~~~~~~~~~~~ In file included from ../base/../usersubckt/subckt.h:54, from ../base/net.h:35, from ana.h:22, from tkana.c:24: tkana.c: In function ‘analyzer_time_cursor’: tkana.c:88:24: error: too many arguments to function ‘XToTime’; expected 0, have 1 88 | float ctime = d2ns(XToTime(x)); | ^~~~~~~ ~ ../base/units.h:15:36: note: in definition of macro ‘d2ns’ 15 | #define d2ns( D ) ( (D) * 0.001 ) /* deltas to ns */ | ^ ana_glob.h:180:17: note: declared here 180 | extern TimeType XToTime( /* x */ ); | ^~~~~~~ tkana.c: At top level: tkana.c:106:5: error: conflicting types for ‘analyzer_trace_top’; have ‘int(char *)’ 106 | int analyzer_trace_top(char *tracename) | ^~~~~~~~~~~~~~~~~~ ana_glob.h:229:12: note: previous declaration of ‘analyzer_trace_top’ with type ‘int(void)’ 229 | extern int analyzer_trace_top(); | ^~~~~~~~~~~~~~~~~~ tkana.c:112:5: error: conflicting types for ‘analyzer_trace_bottom’; have ‘int(char *)’ 112 | int analyzer_trace_bottom(char *tracename) | ^~~~~~~~~~~~~~~~~~~~~ ana_glob.h:230:12: note: previous declaration of ‘analyzer_trace_bottom’ with type ‘int(void)’ 230 | extern int analyzer_trace_bottom(); | ^~~~~~~~~~~~~~~~~~~~~ tkana.c:118:5: error: conflicting types for ‘analyzer_trace_order’; have ‘int(char *)’ 118 | int analyzer_trace_order(char *tracename) | ^~~~~~~~~~~~~~~~~~~~ ana_glob.h:231:12: note: previous declaration of ‘analyzer_trace_order’ with type ‘int(void)’ 231 | extern int analyzer_trace_order(); | ^~~~~~~~~~~~~~~~~~~~ tkana.c:131:5: error: conflicting types for ‘analyzer_trace_base’; have ‘int(char *)’ 131 | int analyzer_trace_base(char *tracename) | ^~~~~~~~~~~~~~~~~~~ ana_glob.h:232:12: note: previous declaration of ‘analyzer_trace_base’ with type ‘int(void)’ 232 | extern int analyzer_trace_base(); | ^~~~~~~~~~~~~~~~~~~ tkana.c:139:7: error: conflicting types for ‘analyzer_trace_class’; have ‘char *(char *)’ 139 | char *analyzer_trace_class(char *tracename) | ^~~~~~~~~~~~~~~~~~~~ ana_glob.h:233:14: note: previous declaration of ‘analyzer_trace_class’ with type ‘char *(void)’ 233 | extern char *analyzer_trace_class(); | ^~~~~~~~~~~~~~~~~~~~ tkana.c:147:7: error: conflicting types for ‘analyzer_trace_cursor’; have ‘char *(int)’ 147 | char *analyzer_trace_cursor(int y) | ^~~~~~~~~~~~~~~~~~~~~ ana_glob.h:234:14: note: previous declaration of ‘analyzer_trace_cursor’ with type ‘char *(void)’ 234 | extern char *analyzer_trace_cursor(); | ^~~~~~~~~~~~~~~~~~~~~ tkana.c: In function ‘analyzer_list_all’: tkana.c:158:10: warning: old-style function definition [-Wold-style-definition] 158 | Tcl_Obj *analyzer_list_all(interp) | ^~~~~~~~~~~~~~~~~ tkana.c:160:1: error: number of arguments doesn’t match prototype 160 | { | ^ ana_glob.h:238:17: error: prototype declaration 238 | extern Tcl_Obj *analyzer_list_all(); | ^~~~~~~~~~~~~~~~~ tkana.c: In function ‘analyzer_list_vectors’: tkana.c:171:10: warning: old-style function definition [-Wold-style-definition] 171 | Tcl_Obj *analyzer_list_vectors(interp) | ^~~~~~~~~~~~~~~~~~~~~ tkana.c:173:1: error: number of arguments doesn’t match prototype 173 | { | ^ ana_glob.h:236:17: error: prototype declaration 236 | extern Tcl_Obj *analyzer_list_vectors(); | ^~~~~~~~~~~~~~~~~~~~~ tkana.c: In function ‘analyzer_list_nodes’: tkana.c:185:10: warning: old-style function definition [-Wold-style-definition] 185 | Tcl_Obj *analyzer_list_nodes(interp) | ^~~~~~~~~~~~~~~~~~~ tkana.c:187:1: error: number of arguments doesn’t match prototype 187 | { | ^ ana_glob.h:237:17: error: prototype declaration 237 | extern Tcl_Obj *analyzer_list_nodes(); | ^~~~~~~~~~~~~~~~~~~ tkana.c: In function ‘SendEventTo’: tkana.c:203:13: warning: old-style function definition [-Wold-style-definition] 203 | public void SendEventTo(f) | ^~~~~~~~~~~ tkana.c:205:1: error: number of arguments doesn’t match prototype 205 | { | ^ ana_glob.h:63:13: error: prototype declaration 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ tkana.c: In function ‘DrawScrollBar’: tkana.c:214:13: warning: old-style function definition [-Wold-style-definition] 214 | public void DrawScrollBar(b) | ^~~~~~~~~~~~~ tkana.c:216:1: error: number of arguments doesn’t match prototype 216 | { | ^ ana_glob.h:144:13: error: prototype declaration 144 | extern void DrawScrollBar( /* isExpose */ ); | ^~~~~~~~~~~~~ tkana.c: In function ‘GrabMouse’: tkana.c:235:13: warning: old-style function definition [-Wold-style-definition] 235 | public void GrabMouse(w, ev_mask, cursor) | ^~~~~~~~~ tkana.c:239:1: error: number of arguments doesn’t match prototype 239 | { | ^ ana_glob.h:207:13: error: prototype declaration 207 | extern void GrabMouse( /* w, ev_mask, cursor */ ); | ^~~~~~~~~ tkana.c: In function ‘InitDisplay’: tkana.c:274:12: warning: old-style function definition [-Wold-style-definition] 274 | public int InitDisplay(fname, tkwind) | ^~~~~~~~~~~ tkana.c:277:1: error: number of arguments doesn’t match prototype 277 | { | ^ ana_glob.h:181:12: error: prototype declaration 181 | extern int InitDisplay( /* fname, display_unit */ ); | ^~~~~~~~~~~ tkana.c:278:19: warning: unused variable ‘font’ [-Wunused-variable] 278 | XFontStruct *font; | ^~~~ make[2]: *** [../rules.mak:15: tkana.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/textwind.o rm -f textwind.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c textwind.c textwind.c: In function ‘PRINT’: textwind.c:67:13: warning: old-style function definition [-Wold-style-definition] 67 | public void PRINT( s ) | ^~~~~ textwind.c:69:3: error: number of arguments doesn’t match prototype 69 | { | ^ In file included from textwind.c:20: ana_glob.h:151:13: error: prototype declaration 151 | extern void PRINT( /* s */ ); | ^~~~~ textwind.c: In function ‘Query’: textwind.c:135:13: warning: old-style function definition [-Wold-style-definition] 135 | public void Query( prompt, func ) | ^~~~~ textwind.c:138:3: error: number of arguments doesn’t match prototype 138 | { | ^ ana_glob.h:153:13: error: prototype declaration 153 | extern void Query( /* prompt, func */ ); | ^~~~~ textwind.c:141:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 141 | PRINT( prompt ); | ^~~~~ ~~~~~~ textwind.c:67:13: note: declared here 67 | public void PRINT( s ) | ^~~~~ textwind.c:146:5: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 146 | SendEventTo( StrInput ); | ^~~~~~~~~~~ ~~~~~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ textwind.c: In function ‘StrInput’: textwind.c:179:14: warning: old-style function definition [-Wold-style-definition] 179 | private void StrInput( ev ) | ^~~~~~~~ textwind.c:194:10: error: too many arguments to function ‘FQuerying’; expected 0, have 1 194 | (*FQuerying)( NULL ); | ~^~~~~~~~~~~ ~~~~ textwind.c:281:9: error: too many arguments to function ‘SendEventTo’; expected 0, have 1 281 | SendEventTo( NULL ); | ^~~~~~~~~~~ ~~~~ ana_glob.h:63:13: note: declared here 63 | extern void SendEventTo( /* f */ ); | ^~~~~~~~~~~ textwind.c:284:10: error: too many arguments to function ‘FQuerying’; expected 0, have 1 284 | (*FQuerying)( inpStart ); | ~^~~~~~~~~~~ ~~~~~~~~ make[2]: *** [../rules.mak:15: textwind.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/graphics.o rm -f graphics.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c graphics.c graphics.c:47:34: warning: missing braces around initializer [-Wmissing-braces] 47 | private char tops_bits[3][2] = { 0x5, 0x7, 0x1, 0x3, 0x4, 0x6 }; | ^ | { } { } { } graphics.c:48:34: warning: missing braces around initializer [-Wmissing-braces] 48 | private char bots_bits[3][2] = { 0x7, 0x5, 0x3, 0x1, 0x6, 0x4 }; | ^ | { } { } { } graphics.c: In function ‘GetColor’: graphics.c:54:13: warning: old-style function definition [-Wold-style-definition] 54 | private int GetColor( key, colors, ndefined ) | ^~~~~~~~ graphics.c:65:9: error: too many arguments to function ‘GetXDefault’; expected 0, have 1 65 | s = GetXDefault( key ); | ^~~~~~~~~~~ ~~~ In file included from graphics.c:25: ana_glob.h:84:14: note: declared here 84 | extern char *GetXDefault( /* key */ ); | ^~~~~~~~~~~ graphics.c:68:13: error: too many arguments to function ‘IsDefault’; expected 0, have 2 68 | if( IsDefault( key, s ) ) | ^~~~~~~~~ ~~~ ana_glob.h:85:12: note: declared here 85 | extern int IsDefault( /* key, val */ ); | ^~~~~~~~~ graphics.c:72:13: error: too many arguments to function ‘ProgDefault’; expected 0, have 1 72 | s = ProgDefault( key ); | ^~~~~~~~~~~ ~~~ ana_glob.h:86:14: note: declared here 86 | extern char *ProgDefault( /* key */ ); | ^~~~~~~~~~~ graphics.c: In function ‘SetColors’: graphics.c:164:17: error: too many arguments to function ‘GetXDefault’; expected 0, have 1 164 | if( strcmp( GetXDefault( DEFL_RV ), "on" ) == 0 ) | ^~~~~~~~~~~ ana_glob.h:84:14: note: declared here 84 | extern char *GetXDefault( /* key */ ); | ^~~~~~~~~~~ graphics.c: In function ‘MakeCursor’: graphics.c:225:16: warning: old-style function definition [-Wold-style-definition] 225 | private Cursor MakeCursor( fg, bg, curs, mask, w, h, x, y ) | ^~~~~~~~~~ graphics.c:225:16: warning: type of ‘x’ defaults to ‘int’ [-Wimplicit-int] graphics.c:225:16: warning: type of ‘y’ defaults to ‘int’ [-Wimplicit-int] graphics.c: In function ‘InitGraphics’: graphics.c:272:13: warning: old-style function definition [-Wold-style-definition] 272 | public void InitGraphics(font) | ^~~~~~~~~~~~ graphics.c:274:3: error: number of arguments doesn’t match prototype 274 | { | ^ ana_glob.h:94:13: error: prototype declaration 94 | extern void InitGraphics( /* font */ ); | ^~~~~~~~~~~~ In file included from graphics.c:37: Bitmaps/sizebox: At top level: Bitmaps/sizebox:3:13: warning: ‘sizebox_bits’ defined but not used [-Wunused-variable] 3 | static char sizebox_bits[] = { | ^~~~~~~~~~~~ In file included from graphics.c:36: Bitmaps/iconbox:3:13: warning: ‘iconbox_bits’ defined but not used [-Wunused-variable] 3 | static char iconbox_bits[] = { | ^~~~~~~~~~~~ In file included from graphics.c:35: Bitmaps/chk:3:13: warning: ‘chk_bits’ defined but not used [-Wunused-variable] 3 | static char chk_bits[] = { | ^~~~~~~~ In file included from graphics.c:30: Bitmaps/right_arrows:3:13: warning: ‘right_arrows_bits’ defined but not used [-Wunused-variable] 3 | static char right_arrows_bits[] = { | ^~~~~~~~~~~~~~~~~ In file included from graphics.c:29: Bitmaps/left_arrows:3:13: warning: ‘left_arrows_bits’ defined but not used [-Wunused-variable] 3 | static char left_arrows_bits[] = { | ^~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: graphics.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/window.o rm -f window.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c window.c window.c: In function ‘TimeToX’: window.c:52:14: warning: old-style function definition [-Wold-style-definition] 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:54:1: error: number of arguments doesn’t match prototype 54 | { | ^ In file included from window.c:24: ana_glob.h:179:14: error: prototype declaration 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ window.c: In function ‘XToTime’: window.c:71:17: warning: old-style function definition [-Wold-style-definition] 71 | public TimeType XToTime(x) | ^~~~~~~ window.c:73:1: error: number of arguments doesn’t match prototype 73 | { | ^ ana_glob.h:180:17: error: prototype declaration 180 | extern TimeType XToTime( /* x */ ); | ^~~~~~~ window.c: In function ‘SetFont’: window.c:107:20: error: too many arguments to function ‘GetXDefault’; expected 0, have 1 107 | fontname = GetXDefault( DEFL_FONT ); | ^~~~~~~~~~~ ana_glob.h:84:14: note: declared here 84 | extern char *GetXDefault( /* key */ ); | ^~~~~~~~~~~ window.c:111:21: error: too many arguments to function ‘IsDefault’; expected 0, have 2 111 | if( not IsDefault( DEFL_FONT, fontname ) ) | ^~~~~~~~~ ana_glob.h:85:12: note: declared here 85 | extern int IsDefault( /* key, val */ ); | ^~~~~~~~~ window.c:113:28: error: too many arguments to function ‘ProgDefault’; expected 0, have 1 113 | fontname = ProgDefault( DEFL_FONT ); | ^~~~~~~~~~~ ana_glob.h:86:14: note: declared here 86 | extern char *ProgDefault( /* key */ ); | ^~~~~~~~~~~ window.c:132:9: error: too many arguments to function ‘InitGraphics’; expected 0, have 1 132 | InitGraphics(font->fid); | ^~~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:94:13: note: declared here 94 | extern void InitGraphics( /* font */ ); | ^~~~~~~~~~~~ window.c: In function ‘InitTimes’: window.c:286:13: warning: old-style function definition [-Wold-style-definition] 286 | public void InitTimes(firstT, stepsize, lastT, reInit) | ^~~~~~~~~ window.c:289:1: error: number of arguments doesn’t match prototype 289 | { | ^ ana_glob.h:186:13: error: prototype declaration 186 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ window.c: In function ‘RedrawWindow’: window.c:327:13: warning: old-style function definition [-Wold-style-definition] 327 | public void RedrawWindow( box ) | ^~~~~~~~~~~~ window.c:329:3: error: number of arguments doesn’t match prototype 329 | { | ^ ana_glob.h:187:13: error: prototype declaration 187 | extern void RedrawWindow( /* box */ ); | ^~~~~~~~~~~~ window.c:349:9: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 349 | RedrawTraces( &box ); | ^~~~~~~~~~~~ ~~~~ ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ window.c: In function ‘RedrawNames’: window.c:506:13: warning: old-style function definition [-Wold-style-definition] 506 | public void RedrawNames( rb ) | ^~~~~~~~~~~ window.c:508:3: error: number of arguments doesn’t match prototype 508 | { | ^ ana_glob.h:193:13: error: prototype declaration 193 | extern void RedrawNames( /* rb */ ); | ^~~~~~~~~~~ window.c:529:13: error: too many arguments to function ‘UnderlineTrace’; expected 0, have 2 529 | UnderlineTrace( t, gcs.black ); | ^~~~~~~~~~~~~~ ~ ana_glob.h:116:13: note: declared here 116 | extern void UnderlineTrace( /* t, color */ ); | ^~~~~~~~~~~~~~ window.c: In function ‘RedrawTraces’: window.c:543:13: warning: old-style function definition [-Wold-style-definition] 543 | public void RedrawTraces( box ) | ^~~~~~~~~~~~ window.c:545:3: error: number of arguments doesn’t match prototype 545 | { | ^ ana_glob.h:194:13: error: prototype declaration 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ window.c:551:10: error: too many arguments to function ‘XToTime’; expected 0, have 1 551 | t1 = XToTime(box->left) - 1; | ^~~~~~~ ~~~~~~~~~ window.c:71:17: note: declared here 71 | public TimeType XToTime(x) | ^~~~~~~ window.c:560:10: error: too many arguments to function ‘XToTime’; expected 0, have 1 560 | t2 = XToTime(box->right); | ^~~~~~~ ~~~~~~~~~~ window.c:71:17: note: declared here 71 | public TimeType XToTime(x) | ^~~~~~~ window.c:591:13: error: too many arguments to function ‘DrawVector’; expected 0, have 4 591 | DrawVector( t, t1, t2, FALSE ); | ^~~~~~~~~~ ~ window.c:45:31: note: declared here 45 | private void DrawSignal(), DrawVector(), DrawCursor(); | ^~~~~~~~~~ window.c:593:13: error: too many arguments to function ‘DrawSignal’; expected 0, have 3 593 | DrawSignal( t, t1, t2 ); | ^~~~~~~~~~ ~ window.c:45:17: note: declared here 45 | private void DrawSignal(), DrawVector(), DrawCursor(); | ^~~~~~~~~~ window.c: In function ‘UpdateTraceCache’: window.c:606:13: warning: old-style function definition [-Wold-style-definition] 606 | public void UpdateTraceCache( first_trace ) | ^~~~~~~~~~~~~~~~ window.c:608:3: error: number of arguments doesn’t match prototype 608 | { | ^ ana_glob.h:195:13: error: prototype declaration 195 | extern void UpdateTraceCache( /* first_trace */ ); | ^~~~~~~~~~~~~~~~ window.c: In function ‘DrawTraces’: window.c:713:13: warning: old-style function definition [-Wold-style-definition] 713 | public void DrawTraces( t1, t2 ) | ^~~~~~~~~~ window.c:715:3: error: number of arguments doesn’t match prototype 715 | { | ^ ana_glob.h:197:13: error: prototype declaration 197 | extern void DrawTraces( /* t1, t2 */ ); | ^~~~~~~~~~ window.c:770:13: error: too many arguments to function ‘DrawVector’; expected 0, have 4 770 | DrawVector( t, t1, endT, (t1 != tims.start) ? TRUE : FALSE ); | ^~~~~~~~~~ ~ window.c:45:31: note: declared here 45 | private void DrawSignal(), DrawVector(), DrawCursor(); | ^~~~~~~~~~ window.c:772:13: error: too many arguments to function ‘DrawSignal’; expected 0, have 3 772 | DrawSignal( t, t1, endT ); | ^~~~~~~~~~ ~ window.c:45:17: note: declared here 45 | private void DrawSignal(), DrawVector(), DrawCursor(); | ^~~~~~~~~~ window.c: In function ‘DrawSignal’: window.c:782:14: warning: old-style function definition [-Wold-style-definition] 782 | private void DrawSignal( t, t1, t2 ) | ^~~~~~~~~~ window.c:806:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 806 | x1 = TimeToX( t1 ); | ^~~~~~~ ~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:822:14: error: too many arguments to function ‘TimeToX’; expected 0, have 1 822 | x2 = TimeToX( t1 ); | ^~~~~~~ ~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c: In function ‘DrawVector’: window.c:850:14: warning: old-style function definition [-Wold-style-definition] 850 | private void DrawVector( t, t1, t2, clr_bg ) | ^~~~~~~~~~ window.c:925:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 925 | xx = TimeToX( t1 ); | ^~~~~~~ ~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:926:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 926 | x2 = TimeToX( t2 ); | ^~~~~~~ ~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:927:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 927 | x1 = TimeToX( firstChange ); | ^~~~~~~ ~~~~~~~~~~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:952:18: error: too many arguments to function ‘TimeToX’; expected 0, have 1 952 | x2 = TimeToX( t1 ); | ^~~~~~~ ~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:965:18: error: too many arguments to function ‘TimeToX’; expected 0, have 1 965 | x2 = TimeToX( tm ); | ^~~~~~~ ~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:971:19: error: too many arguments to function ‘HistToStr’; expected 0, have 4 971 | str = HistToStr( start, nbits, t->bdigit, 1 ); | ^~~~~~~~~ ~~~~~ ana_glob.h:31:14: note: declared here 31 | extern char *HistToStr( /* hist, nbits, b_digit, offset */ ); | ^~~~~~~~~ window.c: In function ‘UpdateTraces’: window.c:1000:14: warning: old-style function definition [-Wold-style-definition] 1000 | private void UpdateTraces( start, end ) | ^~~~~~~~~~~~ window.c:1007:9: error: too many arguments to function ‘DrawTraces’; expected 0, have 2 1007 | DrawTraces( start, end ); | ^~~~~~~~~~ ~~~~~ window.c:713:13: note: declared here 713 | public void DrawTraces( t1, t2 ) | ^~~~~~~~~~ window.c: In function ‘ScrollTraces’: window.c:1012:14: warning: old-style function definition [-Wold-style-definition] 1012 | private void ScrollTraces( endT ) | ^~~~~~~~~~~~ window.c: In function ‘UpdateWindow’: window.c:1026:13: warning: old-style function definition [-Wold-style-definition] 1026 | public void UpdateWindow( endT ) | ^~~~~~~~~~~~ window.c:1028:3: error: number of arguments doesn’t match prototype 1028 | { | ^ ana_glob.h:199:13: error: prototype declaration 199 | extern void UpdateWindow( /* endT */ ); | ^~~~~~~~~~~~ window.c: In function ‘EraseCursor’: window.c:1072:9: error: too many arguments to function ‘TimeToX’; expected 0, have 1 1072 | x = TimeToX( tims.cursor ); | ^~~~~~~ ~~~~~~~~~~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:1077:12: error: too many arguments to function ‘TimeToX’; expected 0, have 1 1077 | d = TimeToX(tims.delta); | ^~~~~~~ ~~~~~~~~~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c: In function ‘DrawCursor’: window.c:1094:9: error: too many arguments to function ‘TimeToX’; expected 0, have 1 1094 | x = TimeToX(tims.cursor); | ^~~~~~~ ~~~~~~~~~~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c:1099:12: error: too many arguments to function ‘TimeToX’; expected 0, have 1 1099 | d = TimeToX(tims.delta); | ^~~~~~~ ~~~~~~~~~~ window.c:52:14: note: declared here 52 | public Coord TimeToX(t) | ^~~~~~~ window.c: In function ‘SetCursor’: window.c:1111:13: warning: old-style function definition [-Wold-style-definition] 1111 | public void SetCursor( t, time ) | ^~~~~~~~~ window.c: In function ‘DoCursor’: window.c:1153:6: warning: old-style function definition [-Wold-style-definition] 1153 | void DoCursor( ev ) | ^~~~~~~~ window.c:1155:3: error: number of arguments doesn’t match prototype 1155 | { | ^ ana_glob.h:200:13: error: prototype declaration 200 | extern void DoCursor( /* ev */ ); | ^~~~~~~~ window.c:1161:9: error: too many arguments to function ‘MoveCursorToPos’; expected 0, have 1 1161 | MoveCursorToPos( ev->x ); | ^~~~~~~~~~~~~~~ ~~~~~ window.c:46:17: note: declared here 46 | private void MoveCursorToPos(), EraseCursor(); | ^~~~~~~~~~~~~~~ window.c:1165:9: error: too many arguments to function ‘GetYTrace’; expected 0, have 1 1165 | t = GetYTrace( ev->y ); | ^~~~~~~~~ ~~~~~ ana_glob.h:115:14: note: declared here 115 | extern Trptr GetYTrace( /* y */ ); | ^~~~~~~~~ window.c:1166:12: error: too many arguments to function ‘XToTime’; expected 0, have 1 1166 | time = XToTime( ev->x ); | ^~~~~~~ ~~~~~ window.c:71:17: note: declared here 71 | public TimeType XToTime(x) | ^~~~~~~ window.c: In function ‘MoveCursorToTime’: window.c:1249:5: error: too many arguments to function ‘DrawCursVal’; expected 0, have 1 1249 | DrawCursVal( cursorBox ); | ^~~~~~~~~~~ ~~~~~~~~~ ana_glob.h:201:13: note: declared here 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ window.c: In function ‘MoveCursorToPos’: window.c:1252:14: warning: old-style function definition [-Wold-style-definition] 1252 | private void MoveCursorToPos( x ) | ^~~~~~~~~~~~~~~ window.c:1257:12: error: too many arguments to function ‘XToTime’; expected 0, have 1 1257 | time = XToTime( x ); | ^~~~~~~ ~ window.c:71:17: note: declared here 71 | public TimeType XToTime(x) | ^~~~~~~ window.c: In function ‘DrawCursVal’: window.c:1267:13: warning: old-style function definition [-Wold-style-definition] 1267 | public void DrawCursVal( rb ) | ^~~~~~~~~~~ window.c:1269:3: error: number of arguments doesn’t match prototype 1269 | { | ^ ana_glob.h:201:13: error: prototype declaration 201 | extern void DrawCursVal( /* rb */ ); | ^~~~~~~~~~~ window.c:1292:13: error: too many arguments to function ‘HistToStr’; expected 0, have 4 1292 | HistToStr( &(t->cache[0].cursor), t->n.vec->nbits, t->bdigit, 2 ) : | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:31:14: note: declared here 31 | extern char *HistToStr( /* hist, nbits, b_digit, offset */ ); | ^~~~~~~~~ window.c: In function ‘ExpandCursVal’: window.c:1304:13: warning: old-style function definition [-Wold-style-definition] 1304 | public void ExpandCursVal( t ) | ^~~~~~~~~~~~~ window.c:1306:3: error: number of arguments doesn’t match prototype 1306 | { | ^ ana_glob.h:202:13: error: prototype declaration 202 | extern void ExpandCursVal( /* t */ ); | ^~~~~~~~~~~~~ window.c:1311:11: error: too many arguments to function ‘HistToStr’; expected 0, have 4 1311 | val = HistToStr( &(t->cache[0].cursor), nbits, 1, 2 ); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:31:14: note: declared here 31 | extern char *HistToStr( /* hist, nbits, b_digit, offset */ ); | ^~~~~~~~~ window.c: In function ‘TraceValue’: window.c:1338:11: error: too many arguments to function ‘HistToStr’; expected 0, have 4 1338 | val = HistToStr(&(t->cache[0].cursor), nbits, n, 2); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:31:14: note: declared here 31 | extern char *HistToStr( /* hist, nbits, b_digit, offset */ ); | ^~~~~~~~~ window.c: In function ‘TraceInput’: window.c:1355:11: error: too many arguments to function ‘HistToStr’; expected 0, have 4 1355 | val = HistToStr(&(t->cache[0].cursor), nbits, 1, 2); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:31:14: note: declared here 31 | extern char *HistToStr( /* hist, nbits, b_digit, offset */ ); | ^~~~~~~~~ window.c: At top level: window.c:40:22: warning: ‘wname’ defined but not used [-Wunused-variable] 40 | private char *wname = "analyzer"; | ^~~~~ make[2]: *** [../rules.mak:15: window.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/postscript.o rm -f postscript.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c postscript.c postscript.c: In function ‘printPS’: postscript.c:86:13: warning: old-style function definition [-Wold-style-definition] 86 | public void printPS( s ) | ^~~~~~~ postscript.c:88:3: error: number of arguments doesn’t match prototype 88 | { | ^ In file included from postscript.c:23: ana_glob.h:128:13: error: prototype declaration 128 | extern void printPS( /* s */ ); | ^~~~~~~ postscript.c:91:9: error: too many arguments to function ‘PRINT’; expected 0, have 1 91 | PRINT( "\nThere's nothing to print" ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ postscript.c:114:5: error: too many arguments to function ‘WritePSfile’; expected 0, have 1 114 | WritePSfile(fname); | ^~~~~~~~~~~ ~~~~~ postscript.c:47:13: note: declared here 47 | public void WritePSfile(); | ^~~~~~~~~~~ postscript.c: In function ‘WritePSfile’: postscript.c:132:13: warning: old-style function definition [-Wold-style-definition] 132 | public void WritePSfile( psfname ) | ^~~~~~~~~~~ postscript.c:134:3: error: number of arguments doesn’t match prototype 134 | { | ^ postscript.c:47:13: error: prototype declaration 47 | public void WritePSfile(); | ^~~~~~~~~~~ postscript.c:136:22: error: conflicting types for ‘time’; have ‘time_t(void)’ {aka ‘long int(void)’} 136 | time_t theTime, time(); | ^~~~ In file included from postscript.c:19: /usr/include/time.h:76:15: note: previous declaration of ‘time’ with type ‘time_t(time_t *)’ {aka ‘long int(long int *)’} 76 | extern time_t time (time_t *__timer) __THROW; | ^~~~ postscript.c:161:15: error: too many arguments to function ‘time’; expected 0, have 1 161 | theTime = time( 0 ); | ^~~~ ~ postscript.c:136:22: note: declared here 136 | time_t theTime, time(); | ^~~~ postscript.c:167:5: error: too many arguments to function ‘DrawOutline’; expected 0, have 1 167 | DrawOutline( date ); | ^~~~~~~~~~~ ~~~~ postscript.c:43:14: note: declared here 43 | private void DrawOutline(), PrintNames(), PrintTraces(); | ^~~~~~~~~~~ postscript.c:169:9: error: too many arguments to function ‘PrintTimes’; expected 0, have 2 169 | PrintTimes( tims.start, tims.end ); | ^~~~~~~~~~ ~~~~~~~~~~ postscript.c:44:44: note: declared here 44 | private void PrintSignal(), PrintVector(), PrintTimes(), PrintLegend(); | ^~~~~~~~~~ postscript.c:171:5: error: too many arguments to function ‘PrintTraces’; expected 0, have 2 171 | PrintTraces( tims.start, min( tims.end, tims.last ) ); | ^~~~~~~~~~~ ~~~~~~~~~~ postscript.c:43:43: note: declared here 43 | private void DrawOutline(), PrintNames(), PrintTraces(); | ^~~~~~~~~~~ postscript.c:178:9: error: too many arguments to function ‘DrawOutline’; expected 0, have 1 178 | DrawOutline( date ); | ^~~~~~~~~~~ ~~~~ postscript.c:43:14: note: declared here 43 | private void DrawOutline(), PrintNames(), PrintTraces(); | ^~~~~~~~~~~ postscript.c:185:5: error: too many arguments to function ‘PRINT’; expected 0, have 1 185 | PRINT( "done" ); | ^~~~~ ~~~~~~ ana_glob.h:151:13: note: declared here 151 | extern void PRINT( /* s */ ); | ^~~~~ postscript.c: In function ‘psString’: postscript.c:275:14: warning: old-style function definition [-Wold-style-definition] 275 | private void psString( s, len ) | ^~~~~~~~ postscript.c: In function ‘SetPattern’: postscript.c:292:17: warning: old-style function definition [-Wold-style-definition] 292 | private pattern SetPattern( patt ) | ^~~~~~~~~~ postscript.c: In function ‘DrawOutline’: postscript.c:313:14: warning: old-style function definition [-Wold-style-definition] 313 | private void DrawOutline( date ) | ^~~~~~~~~~~ postscript.c: In function ‘PrintTimes’: postscript.c:345:14: warning: old-style function definition [-Wold-style-definition] 345 | private void PrintTimes( t1, t2 ) | ^~~~~~~~~~ postscript.c:370:13: error: too many arguments to function ‘TimeToX’; expected 0, have 1 370 | x = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:382:13: error: too many arguments to function ‘TimeToX’; expected 0, have 1 382 | x = TimeToX( i ); | ^~~~~~~ ~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:392:13: error: too many arguments to function ‘TimeToX’; expected 0, have 1 392 | x = TimeToX( t2 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c: In function ‘PrintTraces’: postscript.c:423:14: warning: old-style function definition [-Wold-style-definition] 423 | private void PrintTraces( t1, t2 ) | ^~~~~~~~~~~ postscript.c:432:13: error: too many arguments to function ‘PrintVector’; expected 0, have 3 432 | PrintVector( t, t1, t2 ); | ^~~~~~~~~~~ ~ postscript.c:44:29: note: declared here 44 | private void PrintSignal(), PrintVector(), PrintTimes(), PrintLegend(); | ^~~~~~~~~~~ postscript.c:434:13: error: too many arguments to function ‘PrintSignal’; expected 0, have 3 434 | PrintSignal( t, t1, t2 ); | ^~~~~~~~~~~ ~ postscript.c:44:14: note: declared here 44 | private void PrintSignal(), PrintVector(), PrintTimes(), PrintLegend(); | ^~~~~~~~~~~ postscript.c: In function ‘PrintSignal’: postscript.c:439:14: warning: old-style function definition [-Wold-style-definition] 439 | private void PrintSignal( t, t1, t2 ) | ^~~~~~~~~~~ postscript.c:452:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 452 | x1 = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:469:14: error: too many arguments to function ‘TimeToX’; expected 0, have 1 469 | x2 = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c: In function ‘PrintVector’: postscript.c:491:14: warning: old-style function definition [-Wold-style-definition] 491 | private void PrintVector( t, t1, t2 ) | ^~~~~~~~~~~ postscript.c:531:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 531 | x2 = TimeToX( t2 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:532:10: error: too many arguments to function ‘TimeToX’; expected 0, have 1 532 | x1 = TimeToX( firstChange ); | ^~~~~~~ ~~~~~~~~~~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:550:18: error: too many arguments to function ‘TimeToX’; expected 0, have 1 550 | x2 = TimeToX( t1 ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:577:18: error: too many arguments to function ‘TimeToX’; expected 0, have 1 577 | x2 = TimeToX( tm ); | ^~~~~~~ ~~ ana_glob.h:179:14: note: declared here 179 | extern Coord TimeToX( /* t */ ); | ^~~~~~~ postscript.c:584:19: error: too many arguments to function ‘HistToStr’; expected 0, have 4 584 | str = HistToStr( start, nbits, t->bdigit, 1 ); | ^~~~~~~~~ ~~~~~ ana_glob.h:31:14: note: declared here 31 | extern char *HistToStr( /* hist, nbits, b_digit, offset */ ); | ^~~~~~~~~ make[2]: *** [../rules.mak:15: postscript.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' --- compiling analyzer/convert.o rm -f convert.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DX11 -DXLIB -DNDEBUG -c convert.c convert.c: In function ‘HistToStr’: convert.c:25:14: warning: old-style function definition [-Wold-style-definition] 25 | public char *HistToStr( hist, nbits, b_digit, offset ) | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/analyzer' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' --- compiling faultsim/faultsim.o rm -f faultsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c faultsim.c faultsim.c: In function ‘add_trigger’: faultsim.c:55:5: warning: old-style function definition [-Wold-style-definition] 55 | int add_trigger( nd, edge, delay ) | ^~~~~~~~~~~ faultsim.c:76:13: error: too many arguments to function ‘AddHist’; expected 0, have 6 76 | AddHist( &fake_nd, edge, 1, tm, 0L, 0L ); | ^~~~~~~ ~~~~~~~~ In file included from faultsim.c:8: ../base/globals.h:117:13: note: declared here 117 | extern void AddHist( /* node, value, inp, time, delay, rtime */ ); | ^~~~~~~ faultsim.c:82:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 82 | t = (ptrig) Valloc( (int) sizeof( Trigger ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ faultsim.c: In function ‘add_sampler’: faultsim.c:92:5: warning: old-style function definition [-Wold-style-definition] 92 | int add_sampler( period, offset ) | ^~~~~~~~~~~ faultsim.c:98:17: error: too many arguments to function ‘Valloc’; expected 0, have 2 98 | t = (ptrig) Valloc( (int) sizeof( Trigger ), 1 ); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ../base/globals.h:166:14: note: declared here 166 | extern char *Valloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ faultsim.c: In function ‘add_prim_output’: faultsim.c:109:5: warning: old-style function definition [-Wold-style-definition] 109 | int add_prim_output( nd, flag ) | ^~~~~~~~~~~~~~~ faultsim.c:128:9: error: too many arguments to function ‘iinsert’; expected 0, have 2 128 | iinsert( nd, &triggers->outp ); | ^~~~~~~ ~~ ../base/globals.h:183:13: note: declared here 183 | extern void iinsert( /* n, list */ ); | ^~~~~~~ faultsim.c: In function ‘cleanup_fsim’: faultsim.c:148:13: error: too many arguments to function ‘FreeHistList’; expected 0, have 1 148 | FreeHistList( &fake_nd ); | ^~~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:119:13: note: declared here 119 | extern void FreeHistList( /* node */ ); | ^~~~~~~~~~~~ faultsim.c:158:9: error: too many arguments to function ‘Vfree’; expected 0, have 1 158 | Vfree( t ); | ^~~~~ ~ ../base/globals.h:165:13: note: declared here 165 | extern void Vfree( /* ptr */ ); | ^~~~~ faultsim.c: In function ‘StuckNode’: faultsim.c:193:14: warning: old-style function definition [-Wold-style-definition] 193 | private void StuckNode( nd, val ) | ^~~~~~~~~ In file included from faultsim.c:7: ../base/net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ../base/net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ faultsim.c:212:5: note: in expansion of macro ‘CONNECT’ 212 | CONNECT( t->gate->ngate, t ); | ^~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ ../base/net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ../base/net_macros.h:116:5: note: in expansion of macro ‘NEW_LINK’ 116 | NEW_LINK( newl ); \ | ^~~~~~~~ faultsim.c:213:5: note: in expansion of macro ‘CONNECT’ 213 | CONNECT( nd->nterm, t ); | ^~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ faultsim.c: In function ‘UnStuckNode’: faultsim.c:217:14: warning: old-style function definition [-Wold-style-definition] 217 | private void UnStuckNode( nd ) | ^~~~~~~~~~~ faultsim.c: In function ‘do_fault’: faultsim.c:227:13: warning: old-style function definition [-Wold-style-definition] 227 | private int do_fault( nd, val ) | ^~~~~~~~ faultsim.c:239:5: error: too many arguments to function ‘faultsim’; expected 0, have 1 239 | faultsim( nd ); | ^~~~~~~~ ~~ ../base/globals.h:153:13: note: declared here 153 | extern void faultsim( /* n */ ); | ^~~~~~~~ faultsim.c: In function ‘should_seed’: faultsim.c:254:13: warning: old-style function definition [-Wold-style-definition] 254 | private int should_seed( nd ) | ^~~~~~~~~~~ faultsim.c: In function ‘seed_faults’: faultsim.c:277:13: warning: old-style function definition [-Wold-style-definition] 277 | private int seed_faults( p_seed ) | ^~~~~~~~~~~ faultsim.c:311:5: error: too many arguments to function ‘srandom’; expected 0, have 1 311 | srandom( (long) nnodes ); | ^~~~~~~ ~~~~~~~~~~~~~ faultsim.c:281:18: note: declared here 281 | extern void srandom(); | ^~~~~~~ faultsim.c: In function ‘seed_fault’: faultsim.c:340:13: warning: old-style function definition [-Wold-style-definition] 340 | private int seed_fault( nd ) | ^~~~~~~~~~ faultsim.c: In function ‘clear_node_flags’: faultsim.c:358:13: warning: old-style function definition [-Wold-style-definition] 358 | private int clear_node_flags( nd ) | ^~~~~~~~~~~~~~~~ faultsim.c: In function ‘exec_fsim’: faultsim.c:366:6: warning: old-style function definition [-Wold-style-definition] 366 | void exec_fsim( fname, p_seed ) | ^~~~~~~~~ faultsim.c:398:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 398 | walk_net( seed_fault, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ faultsim.c:407:9: error: too many arguments to function ‘walk_net’; expected 0, have 2 407 | walk_net( clear_node_flags, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ faultsim.c: In function ‘setup_triggers’: faultsim.c:445:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 445 | ev = EnqueueOther( TRIGGER_EV, (long) t->samples->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c:452:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 452 | ev = EnqueueOther( TRIGGER_EV, tm ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c: In function ‘do_trigger’: faultsim.c:460:5: warning: old-style function definition [-Wold-style-definition] 460 | int do_trigger( ev ) | ^~~~~~~~~~ faultsim.c:492:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 492 | ev = EnqueueOther( TRIGGER_EV, (Ulong) h->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c:503:18: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 503 | ev = EnqueueOther( TRIGGER_EV, ev->ntime + t->period ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ faultsim.c: In function ‘init_fault_trans’: faultsim.c:525:16: warning: operation on ‘tran.x.pos’ may be undefined [-Wsequence-point] 525 | tran.x.pos = tran.x.pos = 0; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: faultsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' --- compiling faultsim/incsim.o rm -f incsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c incsim.c incsim.c: In function ‘UpdateNode’: incsim.c:101:14: warning: old-style function definition [-Wold-style-definition] 101 | private hptr UpdateNode( nd ) | ^~~~~~~~~~ incsim.c: In function ‘ActivateNode’: incsim.c:135:14: warning: old-style function definition [-Wold-style-definition] 135 | private void ActivateNode( nd ) | ^~~~~~~~~~~~ incsim.c:149:13: error: too many arguments to function ‘DequeueEvent’; expected 0, have 1 149 | DequeueEvent( nd ); | ^~~~~~~~~~~~ ~~ In file included from incsim.c:24: ../base/globals.h:308:13: note: declared here 308 | extern void DequeueEvent( /* nd */ ); | ^~~~~~~~~~~~ incsim.c:156:12: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 156 | (void) EnqueueHist( nd, p, CHECK_PNT ); | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:173:28: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 173 | (void) EnqueueHist( nd, h, PUNTED ); | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:194:24: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 194 | (void) EnqueueHist( nd, h, REVAL ); | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘ReplacePunts’: incsim.c:310:14: warning: old-style function definition [-Wold-style-definition] 310 | private void ReplacePunts( nd ) | ^~~~~~~~~~~~ incsim.c: In function ‘UpdateReval’: incsim.c:341:14: warning: old-style function definition [-Wold-style-definition] 341 | private void UpdateReval( e ) | ^~~~~~~~~~~ incsim.c:355:9: error: too many arguments to function ‘NewEdge’; expected 0, have 2 355 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:383:21: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 383 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:384:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 384 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:387:17: error: too many arguments to function ‘DequeueEvent’; expected 0, have 1 387 | DequeueEvent( n ); | ^~~~~~~~~~~~ ~ ../base/globals.h:308:13: note: declared here 308 | extern void DequeueEvent( /* nd */ ); | ^~~~~~~~~~~~ incsim.c:393:21: error: too many arguments to function ‘DelayEvent’; expected 0, have 2 393 | DelayEvent( e, d_t ); /* delay again */ | ^~~~~~~~~~ ~ ../base/globals.h:309:13: note: declared here 309 | extern void DelayEvent( /* ev, delay */ ); | ^~~~~~~~~~ incsim.c:401:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 401 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:415:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 415 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:430:25: error: too many arguments to function ‘DelayEvent’; expected 0, have 2 430 | DelayEvent( e, d_t ); | ^~~~~~~~~~ ~ ../base/globals.h:309:13: note: declared here 309 | extern void DelayEvent( /* ev, delay */ ); | ^~~~~~~~~~ incsim.c:434:25: error: too many arguments to function ‘NewEdge’; expected 0, have 2 434 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:441:21: error: too many arguments to function ‘NewEdge’; expected 0, have 2 441 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:460:17: error: too many arguments to function ‘NewEdge’; expected 0, have 2 460 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c: In function ‘UpdateCheck_Pnt’: incsim.c:480:14: warning: old-style function definition [-Wold-style-definition] 480 | private void UpdateCheck_Pnt( e ) | ^~~~~~~~~~~~~~~ incsim.c:497:9: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 497 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:523:13: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 523 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:526:13: error: too many arguments to function ‘NewEdge’; expected 0, have 2 526 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c:535:13: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 535 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:549:17: error: too many arguments to function ‘DelayEvent’; expected 0, have 2 549 | DelayEvent( e, d_t ); | ^~~~~~~~~~ ~ ../base/globals.h:309:13: note: declared here 309 | extern void DelayEvent( /* ev, delay */ ); | ^~~~~~~~~~ incsim.c:553:17: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 553 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c: In function ‘UpdateDelay_Chk’: incsim.c:561:14: warning: old-style function definition [-Wold-style-definition] 561 | private void UpdateDelay_Chk( e ) | ^~~~~~~~~~~~~~~ incsim.c:593:9: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 593 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:600:13: error: too many arguments to function ‘NewEdge’; expected 0, have 2 600 | NewEdge( n, e ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c: In function ‘UpdateDelay_Ev’: incsim.c:609:14: warning: old-style function definition [-Wold-style-definition] 609 | private void UpdateDelay_Ev( e ) | ^~~~~~~~~~~~~~ incsim.c:641:9: error: too many arguments to function ‘DeleteNextEdge’; expected 0, have 1 641 | DeleteNextEdge( n ); | ^~~~~~~~~~~~~~ ~ ../base/globals.h:123:13: note: declared here 123 | extern void DeleteNextEdge( /* nd */ ); | ^~~~~~~~~~~~~~ incsim.c:645:13: error: too many arguments to function ‘NewEdge’; expected 0, have 2 645 | NewEdge( n, nxte ); | ^~~~~~~ ~ ../base/globals.h:122:13: note: declared here 122 | extern void NewEdge( /* nd, ev */ ); | ^~~~~~~ incsim.c: In function ‘update_nodes’: incsim.c:657:14: warning: old-style function definition [-Wold-style-definition] 657 | private void update_nodes( e ) | ^~~~~~~~~~~~ incsim.c:671:43: error: too many arguments to function ‘IncHistEvCnt’; expected 0, have 1 671 | { extern int ev_hgm; if( ev_hgm ) IncHistEvCnt( (Uint) e->type ); } | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ ../base/globals.h:262:13: note: declared here 262 | extern void IncHistEvCnt( /* tp */ ); | ^~~~~~~~~~~~ incsim.c:715:21: error: too many arguments to function ‘free_event’; expected 0, have 1 715 | free_event( n->events ); | ^~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:300:13: note: declared here 300 | extern void free_event( /* event */ ); | ^~~~~~~~~~ incsim.c:744:25: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 744 | if( not EnqueueHist( n, h, STIMULI ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:783:28: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 783 | (void) EnqueueOther( CHNG_MODEL, (Ulong) modelp->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ incsim.c:788:30: error: too many arguments to function ‘do_trigger’; expected 0, have 1 788 | stop_early = do_trigger( e ); | ^~~~~~~~~~ ~ incsim.c:72:17: note: declared here 72 | extern int do_trigger(); | ^~~~~~~~~~ incsim.c: In function ‘UpdateTransistors’: ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:824:32: note: in expansion of macro ‘compute_trans_state’ 824 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:836:32: note: in expansion of macro ‘compute_trans_state’ 836 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:851:28: note: in expansion of macro ‘compute_trans_state’ 851 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:866:32: note: in expansion of macro ‘compute_trans_state’ 866 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:880:28: note: in expansion of macro ‘compute_trans_state’ 880 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:897:28: note: in expansion of macro ‘compute_trans_state’ 897 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘GetConnList’: incsim.c:927:14: warning: old-style function definition [-Wold-style-definition] 927 | private pstg GetConnList( n ) | ^~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:976:28: note: in expansion of macro ‘compute_trans_state’ 976 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘ActivateStage’: incsim.c:1119:14: warning: old-style function definition [-Wold-style-definition] 1119 | private void ActivateStage( stg ) | ^~~~~~~~~~~~~ incsim.c:1105:13: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1105 | if( EnqueueHist( GATE, nextH, STIMULI ) ) \ | ^~~~~~~~~~~ incsim.c:1142:21: note: in expansion of macro ‘StimulateGate’ 1142 | StimulateGate( t->gate ); | ^~~~~~~~~~~~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1105:13: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1105 | if( EnqueueHist( GATE, nextH, STIMULI ) ) \ | ^~~~~~~~~~~ incsim.c:1145:17: note: in expansion of macro ‘StimulateGate’ 1145 | StimulateGate( t->gate ); | ^~~~~~~~~~~~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘MergePunts’: incsim.c:1171:14: warning: old-style function definition [-Wold-style-definition] 1171 | private void MergePunts( nd ) | ^~~~~~~~~~ incsim.c: In function ‘DeactivateStage’: incsim.c:1212:14: warning: old-style function definition [-Wold-style-definition] 1212 | private void DeactivateStage( stg, skipnd ) | ^~~~~~~~~~~~~~~ incsim.c:1233:17: error: too many arguments to function ‘DequeueEvent’; expected 0, have 1 1233 | DequeueEvent( n ); | ^~~~~~~~~~~~ ~ ../base/globals.h:308:13: note: declared here 308 | extern void DequeueEvent( /* nd */ ); | ^~~~~~~~~~~~ incsim.c:1242:17: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1242 | if( EnqueueHist( n, h, STIMULI ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘UndoStage’: incsim.c:1268:14: warning: old-style function definition [-Wold-style-definition] 1268 | private void UndoStage( stg ) | ^~~~~~~~~ incsim.c: In function ‘EvalSrcDrn’: incsim.c:1303:13: warning: old-style function definition [-Wold-style-definition] 1303 | private int EvalSrcDrn( nd, force ) | ^~~~~~~~~~ incsim.c:1337:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1337 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1356:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1356 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c: In function ‘EvalJustDeviated’: incsim.c:1369:14: warning: old-style function definition [-Wold-style-definition] 1369 | private void EvalJustDeviated( nd, has_trans ) | ^~~~~~~~~~~~~~~~ incsim.c:1396:22: error: too many arguments to function ‘curr_model’; expected 0, have 1 1396 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1415:22: error: too many arguments to function ‘curr_model’; expected 0, have 1 1415 | (*curr_model)( nterm ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1105:13: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1105 | if( EnqueueHist( GATE, nextH, STIMULI ) ) \ | ^~~~~~~~~~~ incsim.c:1427:21: note: in expansion of macro ‘StimulateGate’ 1427 | StimulateGate( t->gate ); | ^~~~~~~~~~~~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:1430:24: note: in expansion of macro ‘compute_trans_state’ 1430 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘EvalInputs’: incsim.c:1468:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1468 | (*curr_model)( other ); | ~^~~~~~~~~~~~ ~~~~~ incsim.c:1476:17: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1476 | if( EnqueueHist( n, h, CHECK_PNT ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1497:17: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1497 | if( EnqueueHist( n, h, STIMULI ) ) | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘EvalStimulus’: incsim.c:1522:21: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1522 | if( not EnqueueHist( nd, h, STIMULI ) ) | ^~~~~~~~~~~ ~~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘EvalXinputs’: incsim.c:1546:18: error: too many arguments to function ‘curr_model’; expected 0, have 1 1546 | (*curr_model)( n ); | ~^~~~~~~~~~~~ ~ incsim.c: In function ‘EvalEventList’: incsim.c:1574:20: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1574 | (void) EnqueueHist( n, h, CHECK_PNT ); | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1600:20: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1600 | (void) EnqueueHist( n, h, CHECK_PNT ); | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c:1640:20: error: too many arguments to function ‘EnqueueHist’; expected 0, have 3 1640 | (void) EnqueueHist( n, h, CHECK_PNT ); | ^~~~~~~~~~~ ~ ../base/globals.h:307:12: note: declared here 307 | extern int EnqueueHist( /* nd, hist, type */ ); | ^~~~~~~~~~~ incsim.c: In function ‘EvalPending’: incsim.c:1661:13: error: too many arguments to function ‘enqueue_event’; expected 0, have 4 1661 | enqueue_event( n, (int) ev->eval, (long) ev->delay, (long) ev->rtime ); | ^~~~~~~~~~~~~ ~ ../base/globals.h:301:13: note: declared here 301 | extern void enqueue_event( /* n, newvalue, delta, rtime */ ); | ^~~~~~~~~~~~~ incsim.c: In function ‘incstep’: incsim.c:1666:14: warning: old-style function definition [-Wold-style-definition] 1666 | private void incstep( stop_time ) | ^~~~~~~ incsim.c:1676:22: error: too many arguments to function ‘get_next_event’; expected 0, have 1 1676 | while( (evlist = get_next_event( stop_time )) != NULL ) | ^~~~~~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:287:14: note: declared here 287 | extern evptr get_next_event( /* stop_time */ ); | ^~~~~~~~~~~~~~ incsim.c:1700:17: error: too many arguments to function ‘UpdateWindow’; expected 0, have 1 1700 | UpdateWindow( cur_delta - 1 ); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:390:13: note: declared here 390 | extern void UpdateWindow( /* endT */ ); | ^~~~~~~~~~~~ incsim.c: In function ‘fix_inc_nodes’: incsim.c:1715:13: warning: old-style function definition [-Wold-style-definition] 1715 | private int fix_inc_nodes( nd ) | ^~~~~~~~~~~~~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:1761:20: note: in expansion of macro ‘compute_trans_state’ 1761 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘startup_isim’: incsim.c:1778:14: warning: old-style function definition [-Wold-style-definition] 1778 | private void startup_isim( n ) | ^~~~~~~~~~~~ incsim.c:1786:10: error: too many arguments to function ‘curr_model’; expected 0, have 1 1786 | (*curr_model)( n ); | ~^~~~~~~~~~~~ ~ ../base/globals.h:97:9: error: too many arguments to function ‘ComputeTransState’; expected 0, have 1 97 | ComputeTransState( TRANS ): \ | ^~~~~~~~~~~~~~~~~ incsim.c:1795:24: note: in expansion of macro ‘compute_trans_state’ 1795 | t->state = compute_trans_state( t ); | ^~~~~~~~~~~~~~~~~~~ ../base/globals.h:99:12: note: declared here 99 | extern int ComputeTransState( /* t */ ); | ^~~~~~~~~~~~~~~~~ incsim.c: In function ‘incsim’: incsim.c:1811:13: warning: old-style function definition [-Wold-style-definition] 1811 | public void incsim( ch_list ) | ^~~~~~ incsim.c:1813:3: error: number of arguments doesn’t match prototype 1813 | { | ^ ../base/globals.h:150:13: error: prototype declaration 150 | extern void incsim( /* ch_list */ ); | ^~~~~~ incsim.c:1824:12: error: too many arguments to function ‘back_sim_time’; expected 0, have 2 1824 | (void) back_sim_time( cur_delta, TRUE ); | ^~~~~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:306:14: note: declared here 306 | extern evptr back_sim_time( /* btime, is_inc */ ); | ^~~~~~~~~~~~~ incsim.c:1830:16: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 1830 | (void) EnqueueOther( CHNG_MODEL, (Ulong) modelp->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ incsim.c:1862:5: error: too many arguments to function ‘rm_inc_events’; expected 0, have 1 1862 | rm_inc_events( FALSE ); | ^~~~~~~~~~~~~ ../base/globals.h:313:13: note: declared here 313 | extern void rm_inc_events( /* all */ ); | ^~~~~~~~~~~~~ incsim.c:1864:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 1864 | walk_net( fix_inc_nodes, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ incsim.c: In function ‘init_faultsim’: incsim.c:1882:19: error: too many arguments to function ‘back_sim_time’; expected 0, have 2 1882 | pending_evs = back_sim_time( cur_delta, TRUE + TRUE ); | ^~~~~~~~~~~~~ ~~~~~~~~~ ../base/globals.h:306:14: note: declared here 306 | extern evptr back_sim_time( /* btime, is_inc */ ); | ^~~~~~~~~~~~~ incsim.c: In function ‘end_faultsim’: incsim.c:1889:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 1889 | walk_net( fix_inc_nodes, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ incsim.c:1891:5: error: too many arguments to function ‘requeue_events’; expected 0, have 2 1891 | requeue_events( pending_evs, TRUE ); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ ../base/globals.h:305:13: note: declared here 305 | extern void requeue_events( /* evlist, thread */ ); | ^~~~~~~~~~~~~~ incsim.c: In function ‘fix_fault_nodes’: incsim.c:1900:13: warning: old-style function definition [-Wold-style-definition] 1900 | private int fix_fault_nodes( nd ) | ^~~~~~~~~~~~~~~ incsim.c: In function ‘faultsim’: incsim.c:1930:13: warning: old-style function definition [-Wold-style-definition] 1930 | public void faultsim( n ) | ^~~~~~~~ incsim.c:1932:3: error: number of arguments doesn’t match prototype 1932 | { | ^ ../base/globals.h:153:13: error: prototype declaration 153 | extern void faultsim( /* n */ ); | ^~~~~~~~ incsim.c:1944:16: error: too many arguments to function ‘EnqueueOther’; expected 0, have 2 1944 | (void) EnqueueOther( CHNG_MODEL, (Ulong) modelp->time ); | ^~~~~~~~~~~~ ../base/globals.h:312:14: note: declared here 312 | extern evptr EnqueueOther( /* type, time */ ); | ^~~~~~~~~~~~ incsim.c:1953:5: error: too many arguments to function ‘rm_inc_events’; expected 0, have 1 1953 | rm_inc_events( TRUE ); | ^~~~~~~~~~~~~ ../base/globals.h:313:13: note: declared here 313 | extern void rm_inc_events( /* all */ ); | ^~~~~~~~~~~~~ incsim.c:1955:5: error: too many arguments to function ‘walk_net’; expected 0, have 2 1955 | walk_net( fix_fault_nodes, (char *) 0 ); | ^~~~~~~~ ~~~~~~~~~~~~~~~ ../base/globals.h:213:13: note: declared here 213 | extern void walk_net( /* fun, arg */ ); | ^~~~~~~~ make[2]: *** [../rules.mak:15: incsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/faultsim' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' --- compiling usersubckt/user.o rm -f user.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c user.c make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' --- compiling usersubckt/subckt.o rm -f subckt.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -c subckt.c subckt.c:44:8: warning: type defaults to ‘int’ in declaration of ‘pot2ch’ [-Wimplicit-int] 44 | static pot2ch[] = {'0', 'x', 'z', '1'}; | ^~~~~~ subckt.c:55:13: error: conflicting types for ‘init_subs’; have ‘void(userSubCircuit *)’ 55 | public void init_subs(userSubCircuit *subckts) | ^~~~~~~~~ In file included from subckt.c:13: ../base/globals.h:372:13: note: previous declaration of ‘init_subs’ with type ‘void(void)’ 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ subckt.c:77:24: error: conflicting types for ‘subckt_instantiate’; have ‘userSubCircuit *(char *, int *, char **)’ 77 | public userSubCircuit *subckt_instantiate(char *sname, int *inst, uptr *udatap) | ^~~~~~~~~~~~~~~~~~ ../base/globals.h:373:24: note: previous declaration of ‘subckt_instantiate’ with type ‘userSubCircuit *(void)’ 373 | extern userSubCircuit *subckt_instantiate( /* sname, inst */ ); | ^~~~~~~~~~~~~~~~~~ subckt.c: In function ‘subckt_instantiate’: subckt.c:114:56: warning: passing argument 3 of ‘Tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 114 | result = Tcl_ListObjLength(irsiminterp, rlist, &listlen); | ^~~~~~~~ | | | int * In file included from /usr/include/tcl.h:2439, from /usr/include/tk.h:19, from subckt.c:6: /usr/include/tclDecls.h:1789:61: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1789 | Tcl_Obj *listPtr, Tcl_Size *lengthPtr); | ~~~~~~~~~~^~~~~~~~~ subckt.c:131:60: warning: passing argument 3 of ‘Tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 131 | result = Tcl_ListObjLength(irsiminterp, olist, &listlen); | ^~~~~~~~ | | | int * /usr/include/tclDecls.h:1789:61: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1789 | Tcl_Obj *listPtr, Tcl_Size *lengthPtr); | ~~~~~~~~~~^~~~~~~~~ subckt.c:141:23: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration] 141 | s->name = strdup(sname); | ^~~~~~ subckt.c:141:23: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] subckt.c:109:16: warning: unused variable ‘dval’ [-Wunused-variable] 109 | double dval; | ^~~~ subckt.c: At top level: subckt.c:234:13: error: conflicting types for ‘subckt_model_C’; have ‘void(struct Trans *)’ 234 | public void subckt_model_C(tptr t) | ^~~~~~~~~~~~~~ ../base/globals.h:374:13: note: previous declaration of ‘subckt_model_C’ with type ‘void(void)’ 374 | extern void subckt_model_C( /* t */ ); | ^~~~~~~~~~~~~~ subckt.c: In function ‘subckt_model_C’: subckt.c:259:10: error: too many arguments to function ‘subptr->subckt->model’; expected 0, have 4 259 | (*subptr->subckt->model)(in, out, delay, udata); | ~^~~~~~~~~~~~~~~~~~~~~~~ ~~ In file included from ../base/net.h:35, from ../base/globals.h:5: ../base/../usersubckt/subckt.h:29:17: note: declared here 29 | vfun model; /* function that models sub-circuit */ | ^~~~~ subckt.c:272:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 272 | in[i] = pot2ch[in[i]]; | ~~^~~ subckt.c:275:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] 275 | out[i] = pot2ch[out[i]]; | ~~~^~~ subckt.c:293:60: warning: passing argument 3 of ‘Tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 293 | result = Tcl_ListObjLength(irsiminterp, rlist, &listlen); | ^~~~~~~~ | | | int * /usr/include/tclDecls.h:1789:61: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1789 | Tcl_Obj *listPtr, Tcl_Size *lengthPtr); | ~~~~~~~~~~^~~~~~~~~ subckt.c:298:21: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 298 | if (strlen(newoutvals) == nouts) | ^~~~~~ subckt.c:17:1: note: include ‘’ or provide a declaration of ‘strlen’ 16 | #include "net_macros.h" +++ |+#include 17 | #endif subckt.c:298:21: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 298 | if (strlen(newoutvals) == nouts) | ^~~~~~ subckt.c:298:21: note: include ‘’ or provide a declaration of ‘strlen’ subckt.c:304:33: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration] 304 | switch (tolower(newoutvals[i])) | ^~~~~~~ subckt.c:17:1: note: include ‘’ or provide a declaration of ‘tolower’ 16 | #include "net_macros.h" +++ |+#include 17 | #endif subckt.c:288:20: warning: unused variable ‘dval’ [-Wunused-variable] 288 | double dval; | ^~~~ subckt.c:346:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 346 | QueueFVal(nodes[i+nins], HIGH, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:347:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 347 | QueueFVal(nodes[i+nins+nouts], HIGH, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:350:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 350 | QueueFVal(nodes[i+nins], X, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:351:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 351 | QueueFVal(nodes[i+nins+nouts], X, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:354:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 354 | QueueFVal(nodes[i+nins], HIGH, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:355:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 355 | QueueFVal(nodes[i+nins+nouts], LOW, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:358:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 358 | QueueFVal(nodes[i+nins], LOW, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c:359:17: error: too many arguments to function ‘QueueFVal’; expected 0, have 4 359 | QueueFVal(nodes[i+nins+nouts], LOW, (double) 1.0, delay[i]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ ../base/globals.h:198:13: note: declared here 198 | extern void QueueFVal( /* nd, fval, tau, delay */ ); | ^~~~~~~~~ subckt.c: In function ‘newsubckt’: subckt.c:380:12: warning: old-style function definition [-Wold-style-definition] 380 | public int newsubckt(targc, targv) | ^~~~~~~~~ subckt.c:383:1: error: number of arguments doesn’t match prototype 383 | { | ^ ../base/globals.h:371:13: error: prototype declaration 371 | extern int newsubckt( /* targc, targv */ ); | ^~~~~~~~~ subckt.c:416:34: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 416 | out_name_Ub = (char *)malloc(strlen(targv[targc-1]) + 20); | ^~~~~~ subckt.c:416:34: note: include ‘’ or provide a declaration of ‘strlen’ subckt.c:431:26: error: too many arguments to function ‘subcircuit->init’; expected 0, have 2 431 | usrData = (uptr)(*subcircuit->init)(targc - ninputs - noutputs, | ~^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../base/../usersubckt/subckt.h:30:17: note: declared here 30 | ufun init; /* Function to call to init */ | ^~~~ In file included from subckt.c:16: ../base/net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:456:9: note: in expansion of macro ‘NEW_TRANS’ 456 | NEW_TRANS(t); | ^~~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ ../base/net_macros.h:92:21: error: too many arguments to function ‘Falloc’; expected 0, have 1 92 | S = ( SubcktT *) Falloc( sizeof (SubcktT) );\ | ^~~~~~ ~~~~~~~~~~~~~~~~ subckt.c:457:9: note: in expansion of macro ‘NEW_SUBCKT’ 457 | NEW_SUBCKT(subptr); | ^~~~~~~~~~ ../base/globals.h:162:14: note: declared here 162 | extern char *Falloc( /* nbytes, no_mem_exit */ ); | ^~~~~~ ../base/net_macros.h:93:4: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] 93 | bzero( S , sizeof(SubcktT) );\ | ^~~~~ subckt.c:457:9: note: in expansion of macro ‘NEW_SUBCKT’ 457 | NEW_SUBCKT(subptr); | ^~~~~~~~~~ ../base/net_macros.h:93:4: warning: incompatible implicit declaration of built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] 93 | bzero( S , sizeof(SubcktT) );\ | ^~~~~ subckt.c:457:9: note: in expansion of macro ‘NEW_SUBCKT’ 457 | NEW_SUBCKT(subptr); | ^~~~~~~~~~ subckt.c:460:19: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | t->gate = RsimGetNode(targv[i]); | ^~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:467:16: error: too many arguments to function ‘requiv’; expected 0, have 3 467 | t->r = requiv(RESIST, (int)2, (int)(1000000 * LAMBDACM)); | ^~~~~~ ../base/globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ ../base/net_macros.h:57:21: error: too many arguments to function ‘MallocList’; expected 0, have 2 57 | LP = (lptr) MallocList( sizeof( struct Tlist ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:471:9: note: in expansion of macro ‘NEW_LINK’ 471 | NEW_LINK(d); d->xtor = t; d->next = diodes; | ^~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ subckt.c:489:13: error: too many arguments to function ‘find’; expected 0, have 1 489 | if (find(out_name_Ub) || find(out_name_D)) { | ^~~~ ~~~~~~~~~~~ ../base/globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ subckt.c:489:34: error: too many arguments to function ‘find’; expected 0, have 1 489 | if (find(out_name_Ub) || find(out_name_D)) { | ^~~~ ~~~~~~~~~~ ../base/globals.h:208:13: note: declared here 208 | extern nptr find( /* name */ ); | ^~~~ ../base/net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:496:9: note: in expansion of macro ‘NEW_TRANS’ 496 | NEW_TRANS(t); /* Add pmos output driver */ | ^~~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ subckt.c:498:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 498 | t->gate = RsimGetNode(out_name_Ub); | ^~~~~~~~~~~ ~~~~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:501:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 501 | t->source = RsimGetNode(targv[i]); | ^~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:505:23: error: too many arguments to function ‘requiv’; expected 0, have 3 505 | t->r = requiv(RESIST, (int)2, (int)(rtf * LAMBDACM)); | ^~~~~~ ../base/globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ ../base/net_macros.h:86:20: error: too many arguments to function ‘MallocList’; expected 0, have 2 86 | T = (tptr) MallocList( sizeof( struct Trans ), 1 ); \ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ subckt.c:507:9: note: in expansion of macro ‘NEW_TRANS’ 507 | NEW_TRANS(t); /* Add nmos output driver */ | ^~~~~~~~~ ../base/globals.h:164:14: note: declared here 164 | extern MList MallocList( /* nbytes, no_mem_exit */ ); | ^~~~~~~~~~ subckt.c:509:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 509 | t->gate = RsimGetNode(out_name_D); | ^~~~~~~~~~~ ~~~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:510:23: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 510 | t->drain = RsimGetNode(targv[i]); | ^~~~~~~~~~~ ~~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ subckt.c:516:23: error: too many arguments to function ‘requiv’; expected 0, have 3 516 | t->r = requiv(RESIST, (int)2, (int)(rtf * LAMBDACM)); | ^~~~~~ ../base/globals.h:69:17: note: declared here 69 | extern Resists *requiv( /* type, width, length */ ); | ^~~~~~ subckt.c:388:10: warning: unused variable ‘init’ [-Wunused-variable] 388 | ufun init; | ^~~~ make[2]: *** [../rules.mak:13: subckt.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/usersubckt' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tkTag.o rm -f tkTag.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tkTag.c tkTag.c: In function ‘IrsimTagCallback’: tkTag.c:40:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 40 | Tcl_SavedResult state; | ^~~~~~~~~~~~~~~ | Tcl_SetResult tkTag.c:185:9: warning: implicit declaration of function ‘Tcl_SaveResult’; did you mean ‘Tcl_SetResult’? [-Wimplicit-function-declaration] 185 | Tcl_SaveResult(interp, &state); | ^~~~~~~~~~~~~~ | Tcl_SetResult tkTag.c:188:13: warning: implicit declaration of function ‘Tcl_RestoreResult’; did you mean ‘Tcl_ResetResult’? [-Wimplicit-function-declaration] 188 | Tcl_RestoreResult(interp, &state); | ^~~~~~~~~~~~~~~~~ | Tcl_ResetResult tkTag.c:190:13: warning: implicit declaration of function ‘Tcl_DiscardResult’; did you mean ‘Tcl_ResetResult’? [-Wimplicit-function-declaration] 190 | Tcl_DiscardResult(&state); | ^~~~~~~~~~~~~~~~~ | Tcl_ResetResult tkTag.c:42:18: warning: unused variable ‘cmdnum’ [-Wunused-variable] 42 | int i, llen, cmdnum; | ^~~~~~ tkTag.c: At top level: tkTag.c:202:54: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 202 | Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) | ^~~~ tkTag.c: In function ‘TagInit’: tkTag.c:237:6: warning: old-style function definition [-Wold-style-definition] 237 | void TagInit(interp) | ^~~~~~~ tkTag.c:243:35: error: ‘_irsim_tag’ undeclared (first use in this function); did you mean ‘__rlim_t’? 243 | (Tcl_ObjCmdProc *)_irsim_tag, | ^~~~~~~~~~ | __rlim_t tkTag.c:243:35: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [../rules.mak:15: tkTag.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tclanalyzer.o rm -f tclanalyzer.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tclanalyzer.c tclanalyzer.c: In function ‘tclirsim_base’: tclanalyzer.c:75:11: error: too many arguments to function ‘lookup’; expected 0, have 3 75 | idx = lookup(targv[1], baseOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:86:16: error: too many arguments to function ‘get_trace’; expected 0, have 1 86 | trace = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:106:17: error: too many arguments to function ‘ChangeTraceBase’; expected 0, have 2 106 | ChangeTraceBase(trace, bptr); | ^~~~~~~~~~~~~~~ ~~~~~ tclanalyzer.c:33:32: note: declared here 33 | extern void MoveToTimeValue(), ChangeTraceBase(), SetCursor(); | ^~~~~~~~~~~~~~~ tclanalyzer.c: In function ‘tclirsim_marker’: tclanalyzer.c:153:11: error: too many arguments to function ‘lookup’; expected 0, have 3 153 | idx = lookup(targv[argst], markerOptions, FALSE); | ^~~~~~ ~~~~~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:175:16: error: too many arguments to function ‘get_trace’; expected 0, have 1 175 | t = get_trace(targv[argst + 1]); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:181:27: error: too many arguments to function ‘SetCursor’; expected 0, have 2 181 | if (t != NULL) SetCursor(t, time); | ^~~~~~~~~ ~ tclanalyzer.c:33:51: note: declared here 33 | extern void MoveToTimeValue(), ChangeTraceBase(), SetCursor(); | ^~~~~~~~~ tclanalyzer.c:182:12: error: too many arguments to function ‘MoveCursorToTime’; expected 0, have 1 182 | MoveCursorToTime(time); | ^~~~~~~~~~~~~~~~ ~~~~ tclanalyzer.c:34:13: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~~ tclanalyzer.c:196:15: error: too many arguments to function ‘MoveDeltaToTime’; expected 0, have 1 196 | MoveDeltaToTime(time); | ^~~~~~~~~~~~~~~ ~~~~ tclanalyzer.c:34:33: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~ tclanalyzer.c:198:15: error: too many arguments to function ‘MoveCursorToTime’; expected 0, have 1 198 | MoveCursorToTime(time); | ^~~~~~~~~~~~~~~~ ~~~~ tclanalyzer.c:34:13: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~~ tclanalyzer.c:203:15: error: too many arguments to function ‘MoveDeltaToTime’; expected 0, have 1 203 | MoveDeltaToTime((TimeType) -1); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ tclanalyzer.c:34:33: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~ tclanalyzer.c:205:15: error: too many arguments to function ‘MoveCursorToTime’; expected 0, have 1 205 | MoveCursorToTime((TimeType) -1); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ tclanalyzer.c:34:13: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~~~~~~~~~~ tclanalyzer.c: In function ‘tclirsim_print’: tclanalyzer.c:236:11: error: too many arguments to function ‘lookup’; expected 0, have 3 236 | idx = lookup(targv[1], timeOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:264:17: error: too many arguments to function ‘printPS’; expected 0, have 1 264 | printPS(""); | ^~~~~~~ ~~ In file included from tclanalyzer.c:19: ../analyzer/ana_glob.h:128:13: note: declared here 128 | extern void printPS( /* s */ ); | ^~~~~~~ tclanalyzer.c:272:20: error: too many arguments to function ‘lookup’; expected 0, have 3 272 | bidx = lookup(targv[2], booleanOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:290:17: error: too many arguments to function ‘printPS’; expected 0, have 1 290 | printPS(targv[2]); | ^~~~~~~ ~~~~~~~~ ../analyzer/ana_glob.h:128:13: note: declared here 128 | extern void printPS( /* s */ ); | ^~~~~~~ tclanalyzer.c: In function ‘tclirsim_simtime’: tclanalyzer.c:328:11: error: too many arguments to function ‘lookup’; expected 0, have 3 328 | idx = lookup(targv[1], timeOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:355:21: error: too many arguments to function ‘SetTimeLeft’; expected 0, have 1 355 | SetTimeLeft((TimeType)(ns2d(dt))); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:30:13: note: declared here 30 | extern void SetTimeLeft(), SetTimeRight(); | ^~~~~~~~~~~ tclanalyzer.c:375:21: error: too many arguments to function ‘SetTimeRight’; expected 0, have 1 375 | SetTimeRight((TimeType)(ns2d(dt))); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:30:28: note: declared here 30 | extern void SetTimeLeft(), SetTimeRight(); | ^~~~~~~~~~~~ tclanalyzer.c:411:30: error: too many arguments to function ‘analyzer_time_cursor’; expected 0, have 1 411 | dt = (double)analyzer_time_cursor(x); | ^~~~~~~~~~~~~~~~~~~~ ~ ../analyzer/ana_glob.h:227:14: note: declared here 227 | extern float analyzer_time_cursor(); | ^~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:430:21: error: too many arguments to function ‘MoveToTimeValue’; expected 0, have 1 430 | MoveToTimeValue(ltime); | ^~~~~~~~~~~~~~~ ~~~~~ tclanalyzer.c:33:13: note: declared here 33 | extern void MoveToTimeValue(), ChangeTraceBase(), SetCursor(); | ^~~~~~~~~~~~~~~ tclanalyzer.c:433:21: error: too many arguments to function ‘MoveToT’; expected 0, have 1 433 | MoveToT(targv[2]); | ^~~~~~~ ~~~~~~~~ tclanalyzer.c:34:52: note: declared here 34 | extern void MoveCursorToTime(), MoveDeltaToTime(), MoveToT(); | ^~~~~~~ tclanalyzer.c:446:22: error: too many arguments to function ‘lookup’; expected 0, have 3 446 | idx = lookup(targv[2], booleanOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c: In function ‘tclirsim_trace’: tclanalyzer.c:488:11: error: too many arguments to function ‘lookup’; expected 0, have 3 488 | idx = lookup(targv[1], traceOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:499:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 499 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:500:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 500 | s = get_trace(targv[3]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:505:13: error: too many arguments to function ‘MoveTraces’; expected 0, have 2 505 | MoveTraces(t, s); | ^~~~~~~~~~ ~ tclanalyzer.c:35:13: note: declared here 35 | extern void MoveTraces(), SelectTrace(); | ^~~~~~~~~~ In file included from /usr/include/tcl.h:2439, from tclanalyzer.c:14: tclanalyzer.c:511:39: error: too many arguments to function ‘analyzer_trace_top’; expected 0, have 1 511 | Tcl_NewIntObj(analyzer_trace_top(tracename))); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:229:12: note: declared here 229 | extern int analyzer_trace_top(); | ^~~~~~~~~~~~~~~~~~ tclanalyzer.c:517:39: error: too many arguments to function ‘analyzer_trace_bottom’; expected 0, have 1 517 | Tcl_NewIntObj(analyzer_trace_bottom(tracename))); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:230:12: note: declared here 230 | extern int analyzer_trace_bottom(); | ^~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:523:39: error: too many arguments to function ‘analyzer_trace_order’; expected 0, have 1 523 | Tcl_NewIntObj(analyzer_trace_order(tracename))); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:231:12: note: declared here 231 | extern int analyzer_trace_order(); | ^~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:529:39: error: too many arguments to function ‘analyzer_trace_base’; expected 0, have 1 529 | Tcl_NewIntObj(analyzer_trace_base(tracename))); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:232:12: note: declared here 232 | extern int analyzer_trace_base(); | ^~~~~~~~~~~~~~~~~~~ tclanalyzer.c:534:45: error: too many arguments to function ‘analyzer_trace_class’; expected 0, have 1 534 | Tcl_SetResult(irsiminterp, analyzer_trace_class(tracename), NULL); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../analyzer/ana_glob.h:233:14: note: declared here 233 | extern char *analyzer_trace_class(); | ^~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:543:25: error: too many arguments to function ‘analyzer_trace_cursor’; expected 0, have 1 543 | tracename = analyzer_trace_cursor((TimeType)y); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:234:14: note: declared here 234 | extern char *analyzer_trace_cursor(); | ^~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:552:36: error: too many arguments to function ‘lookup’; expected 0, have 3 552 | if (targc >= 3) tidx = lookup(targv[2], listOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:559:51: error: too many arguments to function ‘analyzer_list_vectors’; expected 0, have 1 559 | Tcl_SetObjResult(irsiminterp, analyzer_list_vectors(irsiminterp)); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:236:17: note: declared here 236 | extern Tcl_Obj *analyzer_list_vectors(); | ^~~~~~~~~~~~~~~~~~~~~ tclanalyzer.c:562:51: error: too many arguments to function ‘analyzer_list_nodes’; expected 0, have 1 562 | Tcl_SetObjResult(irsiminterp, analyzer_list_nodes(irsiminterp)); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:237:17: note: declared here 237 | extern Tcl_Obj *analyzer_list_nodes(); | ^~~~~~~~~~~~~~~~~~~ tclanalyzer.c:565:51: error: too many arguments to function ‘analyzer_list_all’; expected 0, have 1 565 | Tcl_SetObjResult(irsiminterp, analyzer_list_all(irsiminterp)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ../analyzer/ana_glob.h:238:17: note: declared here 238 | extern Tcl_Obj *analyzer_list_all(); | ^~~~~~~~~~~~~~~~~ tclanalyzer.c:573:21: error: too many arguments to function ‘SelectTrace’; expected 0, have 1 573 | SelectTrace(selectedTrace); /* prints stuff. . . */ | ^~~~~~~~~~~ ~~~~~~~~~~~~~ tclanalyzer.c:35:27: note: declared here 35 | extern void MoveTraces(), SelectTrace(); | ^~~~~~~~~~~ tclanalyzer.c:581:21: error: too many arguments to function ‘get_trace’; expected 0, have 1 581 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:586:17: error: too many arguments to function ‘SelectTrace’; expected 0, have 1 586 | SelectTrace(t); | ^~~~~~~~~~~ ~ tclanalyzer.c:35:27: note: declared here 35 | extern void MoveTraces(), SelectTrace(); | ^~~~~~~~~~~ tclanalyzer.c:595:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 595 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:600:13: error: too many arguments to function ‘TraceValue’; expected 0, have 2 600 | TraceValue(t, 0); /* Set 2nd arg. = 1 to force binary */ | ^~~~~~~~~~ ~ tclanalyzer.c:31:13: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~~ tclanalyzer.c:608:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 608 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:613:13: error: too many arguments to function ‘TraceInput’; expected 0, have 1 613 | TraceInput(t); | ^~~~~~~~~~ ~ tclanalyzer.c:31:27: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~~ tclanalyzer.c:621:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 621 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:626:13: error: too many arguments to function ‘TraceBits’; expected 0, have 1 626 | TraceBits(t); | ^~~~~~~~~ ~ tclanalyzer.c:31:41: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~ tclanalyzer.c:634:17: error: too many arguments to function ‘get_trace’; expected 0, have 1 634 | t = get_trace(targv[2]); | ^~~~~~~~~ ~~~~~~~~ tclanalyzer.c:28:14: note: declared here 28 | extern Trptr get_trace(); | ^~~~~~~~~ tclanalyzer.c:644:16: error: too many arguments to function ‘RemoveTrace’; expected 0, have 1 644 | RemoveTrace(t); | ^~~~~~~~~~~ ~ tclanalyzer.c:31:54: note: declared here 31 | extern void TraceValue(), TraceInput(), TraceBits(), RemoveTrace(); | ^~~~~~~~~~~ tclanalyzer.c:653:16: error: too many arguments to function ‘GetNameLen’; expected 0, have 1 653 | GetNameLen(targv[2]); | ^~~~~~~~~~ ~~~~~~~~ tclanalyzer.c:32:32: note: declared here 32 | extern void UpdateWinRemove(), GetNameLen(); | ^~~~~~~~~~ tclanalyzer.c: In function ‘tclirsim_zoom’: tclanalyzer.c:680:11: error: too many arguments to function ‘lookup’; expected 0, have 3 680 | idx = lookup(targv[1], zoomOptions, FALSE); | ^~~~~~ ~~~~~~~~ tclanalyzer.c:27:12: note: declared here 27 | extern int lookup(); | ^~~~~~ tclanalyzer.c:685:13: error: too many arguments to function ‘Zoom’; expected 0, have 1 685 | Zoom("in"); | ^~~~ ~~~~ ../analyzer/ana_glob.h:214:13: note: declared here 214 | extern void Zoom( /* what */ ); | ^~~~ tclanalyzer.c:688:13: error: too many arguments to function ‘Zoom’; expected 0, have 1 688 | Zoom("out"); | ^~~~ ~~~~~ ../analyzer/ana_glob.h:214:13: note: declared here 214 | extern void Zoom( /* what */ ); | ^~~~ make[2]: *** [../rules.mak:15: tclanalyzer.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tkAnalyzer.o rm -f tkAnalyzer.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tkAnalyzer.c tkAnalyzer.c:82:18: warning: implicit declaration of function ‘Tk_Offset’ [-Wimplicit-function-declaration] 82 | "Black", Tk_Offset(TkAnalyzer, background), 0}, | ^~~~~~~~~ tkAnalyzer.c:82:28: error: expected expression before ‘TkAnalyzer’ 82 | "Black", Tk_Offset(TkAnalyzer, background), 0}, | ^~~~~~~~~~ tkAnalyzer.c:86:24: error: expected expression before ‘TkAnalyzer’ 86 | "0", Tk_Offset(TkAnalyzer, height), 0}, | ^~~~~~~~~~ tkAnalyzer.c:88:24: error: expected expression before ‘TkAnalyzer’ 88 | "0", Tk_Offset(TkAnalyzer, width), 0}, | ^~~~~~~~~~ tkAnalyzer.c:90:23: error: expected expression before ‘TkAnalyzer’ 90 | "", Tk_Offset(TkAnalyzer, useThis), TK_CONFIG_NULL_OK}, | ^~~~~~~~~~ tkAnalyzer.c:92:23: error: expected expression before ‘TkAnalyzer’ 92 | "", Tk_Offset(TkAnalyzer, exitProc), TK_CONFIG_NULL_OK}, | ^~~~~~~~~~ tkAnalyzer.c:94:23: error: expected expression before ‘TkAnalyzer’ 94 | "", Tk_Offset(TkAnalyzer, mydata), TK_CONFIG_NULL_OK}, | ^~~~~~~~~~ tkAnalyzer.c:103:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 103 | static int ConfigureTkAnalyzer _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ tkAnalyzer.c:106:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 106 | static void DestroyTkAnalyzer _ANSI_ARGS_((char *memPtr)); | ^~~~~~~~~~~ tkAnalyzer.c:107:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 107 | static void TkAnalyzerCmdDeletedProc _ANSI_ARGS_(( | ^~~~~~~~~~~ tkAnalyzer.c:109:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 109 | static void TkAnalyzerEventProc _ANSI_ARGS_((ClientData clientData, | ^~~~~~~~~~~ tkAnalyzer.c:111:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 111 | static int AnalyzerWidgetObjCmd _ANSI_ARGS_((ClientData clientData, | ^~~~~~~~~~~ tkAnalyzer.c: In function ‘TkAnalyzerObjCmd’: tkAnalyzer.c:139:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 139 | Tcl_Obj *CONST objv[]; /* Argument objects. */ | ^~~~ tkAnalyzer.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | TkAnalyzerObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~ tkAnalyzer.c:134:1: warning: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] tkAnalyzer.c:150:37: warning: passing argument 3 of ‘Tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 150 | Tcl_WrongNumArgs(interp, 1, objv, "pathName ?options?"); | ^~~~ | | | int In file included from /usr/include/tcl.h:2439, from /usr/include/tk.h:19, from tkAnalyzer.c:19: /usr/include/tclDecls.h:718:48: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 718 | Tcl_Obj *const objv[], const char *message); | ~~~~~~~~~~~~~~~^~~~~~ tkAnalyzer.c:163:40: error: subscripted value is neither array nor pointer nor vector 163 | arg = Tcl_GetStringFromObj(objv[i], (int *) &length); | ^ tkAnalyzer.c:163:45: warning: passing argument 2 of ‘Tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 163 | arg = Tcl_GetStringFromObj(objv[i], (int *) &length); | ^~~~~~~~~~~~~~~ | | | int * /usr/include/tclDecls.h:1754:43: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1754 | Tcl_Size *lengthPtr); | ~~~~~~~~~~^~~~~~~~~ tkAnalyzer.c:169:43: error: subscripted value is neither array nor pointer nor vector 169 | useOption = Tcl_GetString(objv[i+1]); | ^ tkAnalyzer.c:178:72: error: subscripted value is neither array nor pointer nor vector 178 | new = Tk_CreateWindowFromPath(interp, tkwin, Tcl_GetString(objv[1]), | ^ tkAnalyzer.c:189:13: error: too many arguments to function ‘TkpUseWindow’; expected 0, have 3 189 | if (TkpUseWindow(interp, new, useOption) != TCL_OK) { | ^~~~~~~~~~~~ ~~~~~~ tkAnalyzer.c:37:12: note: declared here 37 | extern int TkpUseWindow(); | ^~~~~~~~~~~~ tkAnalyzer.c:205:31: error: ‘AnalyzerWidgetObjCmd’ undeclared (first use in this function) 205 | Tk_PathName(new), AnalyzerWidgetObjCmd, | ^~~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:205:31: note: each undeclared identifier is reported only once for each function it appears in tkAnalyzer.c:206:39: error: ‘TkAnalyzerCmdDeletedProc’ undeclared (first use in this function) 206 | (ClientData) analyzerPtr, TkAnalyzerCmdDeletedProc); | ^~~~~~~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:223:38: error: ‘TkAnalyzerEventProc’ undeclared (first use in this function) 223 | Tk_CreateEventHandler(new, mask, TkAnalyzerEventProc, (ClientData) analyzerPtr); | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:225:9: warning: implicit declaration of function ‘ConfigureTkAnalyzer’ [-Wimplicit-function-declaration] 225 | if (ConfigureTkAnalyzer(interp, analyzerPtr, objc-2, objv+2, 0) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘AnalyzerWidgetObjCmd’: tkAnalyzer.c:261:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 261 | Tcl_Obj *CONST objv[]; /* Argument objects. */ | ^~~~ tkAnalyzer.c:257:1: warning: old-style function definition [-Wold-style-definition] 257 | AnalyzerWidgetObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:257:1: warning: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] tkAnalyzer.c:277:37: warning: passing argument 3 of ‘Tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 277 | Tcl_WrongNumArgs(interp, 1, objv, "option ?arg arg ...?"); | ^~~~ | | | int /usr/include/tclDecls.h:718:48: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 718 | Tcl_Obj *const objv[], const char *message); | ~~~~~~~~~~~~~~~^~~~~~ tkAnalyzer.c:280:41: error: subscripted value is neither array nor pointer nor vector 280 | if (Tcl_GetIndexFromObj(interp, objv[1], | ^ tkAnalyzer.c:295:41: warning: passing argument 3 of ‘Tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 295 | Tcl_WrongNumArgs(interp, 2, objv, "option"); | ^~~~ | | | int /usr/include/tclDecls.h:718:48: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ 718 | Tcl_Obj *const objv[], const char *message); | ~~~~~~~~~~~~~~~^~~~~~ tkAnalyzer.c:300:57: error: subscripted value is neither array nor pointer nor vector 300 | (char *) analyzerPtr, Tcl_GetString(objv[2]), 0); | ^ tkAnalyzer.c:309:61: error: subscripted value is neither array nor pointer nor vector 309 | (char *) analyzerPtr, Tcl_GetString(objv[2]), 0); | ^ tkAnalyzer.c:312:54: error: subscripted value is neither array nor pointer nor vector 312 | char *arg = Tcl_GetStringFromObj(objv[i], (int *) &length); | ^ tkAnalyzer.c:312:59: warning: passing argument 2 of ‘Tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 312 | char *arg = Tcl_GetStringFromObj(objv[i], (int *) &length); | ^~~~~~~~~~~~~~~ | | | int * /usr/include/tclDecls.h:1754:43: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1754 | Tcl_Size *lengthPtr); | ~~~~~~~~~~^~~~~~~~~ tkAnalyzer.c:345:9: error: too many arguments to function ‘start_analyzer’; expected 0, have 1 345 | start_analyzer(analyzerPtr->tkwin); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from tkAnalyzer.c:23: ../base/rsim.h:108:12: note: declared here 108 | extern int start_analyzer(); | ^~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘DestroyTkAnalyzer’: tkAnalyzer.c:374:1: warning: old-style function definition [-Wold-style-definition] 374 | DestroyTkAnalyzer(memPtr) | ^~~~~~~~~~~~~~~~~ tkAnalyzer.c: At top level: tkAnalyzer.c:410:1: error: static declaration of ‘ConfigureTkAnalyzer’ follows non-static declaration 410 | ConfigureTkAnalyzer(interp, analyzerPtr, objc, objv, flags) | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:225:9: note: previous implicit declaration of ‘ConfigureTkAnalyzer’ with type ‘int()’ 225 | if (ConfigureTkAnalyzer(interp, analyzerPtr, objc-2, objv+2, 0) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘ConfigureTkAnalyzer’: tkAnalyzer.c:415:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 415 | Tcl_Obj *CONST objv[]; /* Arguments. */ | ^~~~ tkAnalyzer.c:410:1: warning: old-style function definition [-Wold-style-definition] 410 | ConfigureTkAnalyzer(interp, analyzerPtr, objc, objv, flags) | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:410:1: warning: type of ‘objv’ defaults to ‘int’ [-Wimplicit-int] tkAnalyzer.c:419:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 419 | objc, (CONST84 char **) objv, (char *) analyzerPtr, | ^ tkAnalyzer.c:419:19: warning: passing argument 5 of ‘Tk_ConfigureWidget’ from incompatible pointer type [-Wincompatible-pointer-types] 419 | objc, (CONST84 char **) objv, (char *) analyzerPtr, | ^~~~~~~~~~~~~~~~~~~~~~ | | | char ** In file included from /usr/include/tk.h:1556: /usr/include/tkDecls.h:145:64: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘char **’ 145 | Tcl_Size objc, Tcl_Obj *const *objv, | ~~~~~~~~~~~~~~~~^~~~ tkAnalyzer.c: In function ‘TkAnalyzerEventProc’: tkAnalyzer.c:456:1: warning: old-style function definition [-Wold-style-definition] 456 | TkAnalyzerEventProc(clientData, eventPtr) | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:513:17: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 513 | RedrawTraces(&box); | ^~~~~~~~~~~~ ~~~~ In file included from tkAnalyzer.c:22: ../analyzer/ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ tkAnalyzer.c:523:17: error: too many arguments to function ‘start_analyzer’; expected 0, have 1 523 | start_analyzer(analyzerPtr->tkwin); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ../base/rsim.h:108:12: note: declared here 108 | extern int start_analyzer(); | ^~~~~~~~~~~~~~ tkAnalyzer.c:529:17: error: too many arguments to function ‘RedrawTraces’; expected 0, have 1 529 | RedrawTraces(&box); | ^~~~~~~~~~~~ ~~~~ ../analyzer/ana_glob.h:194:13: note: declared here 194 | extern void RedrawTraces( /* box */ ); | ^~~~~~~~~~~~ tkAnalyzer.c: In function ‘TkAnalyzerCmdDeletedProc’: tkAnalyzer.c:555:1: warning: old-style function definition [-Wold-style-definition] 555 | TkAnalyzerCmdDeletedProc(clientData) | ^~~~~~~~~~~~~~~~~~~~~~~~ tkAnalyzer.c: In function ‘InitTkAnalyzer’: tkAnalyzer.c:577:1: warning: old-style function definition [-Wold-style-definition] 577 | InitTkAnalyzer(interp) | ^~~~~~~~~~~~~~ tkAnalyzer.c: At top level: tkAnalyzer.c:555:1: warning: ‘TkAnalyzerCmdDeletedProc’ defined but not used [-Wunused-function] 555 | TkAnalyzerCmdDeletedProc(clientData) | ^~~~~~~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:456:1: warning: ‘TkAnalyzerEventProc’ defined but not used [-Wunused-function] 456 | TkAnalyzerEventProc(clientData, eventPtr) | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:410:1: warning: ‘ConfigureTkAnalyzer’ defined but not used [-Wunused-function] 410 | ConfigureTkAnalyzer(interp, analyzerPtr, objc, objv, flags) | ^~~~~~~~~~~~~~~~~~~ tkAnalyzer.c:257:1: warning: ‘AnalyzerWidgetObjCmd’ defined but not used [-Wunused-function] 257 | AnalyzerWidgetObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [../rules.mak:15: tkAnalyzer.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/tclirsim.o rm -f tclirsim.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c tclirsim.c tclirsim.c:60:35: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types] 60 | private void (*oldinthandler)() = SIG_DFL; | ^~~~~~~ tclirsim.c: In function ‘finput’: tclirsim.c:85:10: warning: unused variable ‘cmdstring’ [-Wunused-variable] 85 | char *cmdstring; | ^~~~~~~~~ In file included from /usr/include/tcl.h:2439, from tclirsim.c:14: tclirsim.c: In function ‘_irsim_dispatch’: tclirsim.c:146:45: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~ tclirsim.c:146:45: note: each undeclared identifier is reported only once for each function it appears in tclirsim.c:146:51: error: expected ‘)’ before ‘char’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ~ ^~~~ tclirsim.c:146:59: error: expected ‘)’ before ‘conflicts’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~~~~~ tclirsim.c:146:9: note: to match this ‘(’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~~~~~~~~~~~~~~~ tclirsim.c:193:19: error: too many arguments to function ‘IrsimTagCallback’; expected 0, have 3 193 | return IrsimTagCallback(interp, argc, argv); | ^~~~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:54:12: note: declared here 54 | extern int IrsimTagCallback(); | ^~~~~~~~~~~~~~~~ tclirsim.c:112:18: warning: unused variable ‘conflicts’ [-Wunused-variable] 112 | static char *conflicts[] = | ^~~~~~~~~ tclirsim.c: In function ‘vlprintf’: tclirsim.c:213:5: warning: implicit declaration of function ‘va_copy’; did you mean ‘bcopy’? [-Wimplicit-function-declaration] 213 | va_copy(args, args_in); | ^~~~~~~ | bcopy tclirsim.c:215:5: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration] 215 | va_end(args); | ^~~~~~ tclirsim.c:228:26: warning: implicit declaration of function ‘logprint’ [-Wimplicit-function-declaration] 228 | if (logfile != NULL) logprint(outptr + 24); | ^~~~~~~~ tclirsim.c:207:20: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 207 | int i, nchars, result, escapes = 0; | ^~~~~~ tclirsim.c: In function ‘lprintf’: tclirsim.c:274:5: warning: implicit declaration of function ‘va_start’ [-Wimplicit-function-declaration] 274 | va_start(args, fmt); | ^~~~~~~~ tclirsim.c: In function ‘Tcl_stdflush’: tclirsim.c:285:6: warning: old-style function definition [-Wold-style-definition] 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:287:1: error: number of arguments doesn’t match prototype 287 | { | ^ tclirsim.c:51:13: error: prototype declaration 51 | extern void Tcl_stdflush(); | ^~~~~~~~~~~~ tclirsim.c:288:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 288 | Tcl_SavedResult state; | ^~~~~~~~~~~~~~~ | Tcl_SetResult tclirsim.c:292:5: warning: implicit declaration of function ‘Tcl_SaveResult’; did you mean ‘Tcl_SetResult’? [-Wimplicit-function-declaration] 292 | Tcl_SaveResult(irsiminterp, &state); | ^~~~~~~~~~~~~~ | Tcl_SetResult tclirsim.c:295:5: warning: implicit declaration of function ‘Tcl_RestoreResult’; did you mean ‘Tcl_ResetResult’? [-Wimplicit-function-declaration] 295 | Tcl_RestoreResult(irsiminterp, &state); | ^~~~~~~~~~~~~~~~~ | Tcl_ResetResult tclirsim.c: In function ‘enable_interrupt’: tclirsim.c:321:18: warning: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types] 321 | oldinthandler = signal(SIGINT, sighandler); | ^ In file included from tclirsim.c:12: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘disable_interrupt’: tclirsim.c:328:19: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 328 | signal(SIGINT, oldinthandler); | ^~~~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: At top level: tclirsim.c:338:50: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 338 | Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) | ^~~~ tclirsim.c: In function ‘rsimerror’: tclirsim.c:372:14: warning: implicit declaration of function ‘va_arg’ [-Wimplicit-function-declaration] 372 | lineno = va_arg(args, int); | ^~~~~~ tclirsim.c:372:27: error: expected expression before ‘int’ 372 | lineno = va_arg(args, int); | ^~~ tclirsim.c:373:24: error: expected expression before ‘char’ 373 | fmt = va_arg(args, char *); | ^~~~ tclirsim.c: In function ‘_irsim_readsim’: tclirsim.c:431:9: error: too many arguments to function ‘rd_network’; expected 0, have 3 431 | if (rd_network(filename, prefix, (config_flags & CONFIG_LOADED) ? 0 : -1)) | ^~~~~~~~~~ ~~~~~~~~ In file included from tclirsim.c:19: ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c: In function ‘_irsim_addnode’: tclirsim.c:460:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | n = RsimGetNode(argv[1]); | ^~~~~~~~~~~ ~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ tclirsim.c: In function ‘_irsim_start’: tclirsim.c:528:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 528 | init_subs(subs); | ^~~~~~~~~ ~~~~ ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ tclirsim.c:531:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 531 | InitTimes(sim_time0, stepsize, cur_delta, 0); | ^~~~~~~~~ ~~~~~~~~~ ../base/globals.h:393:13: note: declared here 393 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ tclirsim.c:535:5: error: too many arguments to function ‘Tcl_stdflush’; expected 0, have 1 535 | Tcl_stdflush(stdout); | ^~~~~~~~~~~~ ~~~~~~ tclirsim.c:285:6: note: declared here 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:562:27: error: too many arguments to function ‘config’; expected 0, have 1 562 | has_prm_file = config(argv[arg1]); | ^~~~~~ ~~~~~~~~~~ ../base/globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ tclirsim.c:573:17: error: too many arguments to function ‘rd_network’; expected 0, have 3 573 | if (rd_network(argv[i], NULL, has_prm_file)) | ^~~~~~~~~~ ~~~~~~~ ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c:577:30: error: too many arguments to function ‘BaseName’; expected 0, have 1 577 | first_file = BaseName(argv[i]); | ^~~~~~~~ ~~~~~~~ In file included from tclirsim.c:21: ../base/rsim.h:104:14: note: declared here 104 | extern char *BaseName(); | ^~~~~~~~ tclirsim.c: In function ‘Tclirsim_Init’: tclirsim.c:638:5: warning: old-style function definition [-Wold-style-definition] 638 | int Tclirsim_Init(interp) | ^~~~~~~~~~~~~ tclirsim.c:683:5: error: too many arguments to function ‘TagInit’; expected 0, have 1 683 | TagInit(interp); | ^~~~~~~ ~~~~~~ tclirsim.c:53:13: note: declared here 53 | extern void TagInit(); | ^~~~~~~ tclirsim.c:686:5: error: too many arguments to function ‘InitTkAnalyzer’; expected 0, have 1 686 | InitTkAnalyzer(interp); | ^~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:52:13: note: declared here 52 | extern void InitTkAnalyzer(); | ^~~~~~~~~~~~~~ tclirsim.c:703:60: error: ‘_tkcon_interrupt’ undeclared (first use in this function); did you mean ‘check_interrupt’? 703 | Tcl_CreateObjCommand(consoleinterp, "irsim::interrupt", _tkcon_interrupt, | ^~~~~~~~~~~~~~~~ | check_interrupt make[2]: *** [../rules.mak:15: tclirsim.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[2]: Entering directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' --- compiling tcltk/lookup.o rm -f lookup.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I../base -I../analyzer -I. -I.. -DCAD_DIR=\"/usr/lib64\" -DBIN_DIR=\"/usr/bin\" -DTCL_DIR=\"/usr/lib64/irsim/tcl\" -DPACKAGE_NAME=\"irsim\" -DPACKAGE_TARNAME=\"irsim\" -DPACKAGE_VERSION=\"9.7\" -DPACKAGE_STRING=\"irsim\ 9.7\" -DPACKAGE_BUGREPORT=\"magic-hackers@csl.cornell.edu\" -DPACKAGE_URL=\"\" -DIRSIM_VERSION=\"9.7\" -DIRSIM_REVISION=\"104\" -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 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFAULT_SIM=1 -DPOWER_EST=1 -DUSER_SUBCKT=1 -DSTATS=1 -DCL_STATS=1 -DRANDOM=1 -DTCLSUBCKT=1 -DTCL_IRSIM=1 -DLINUX=1 -DSYSV=1 -DISC=1 -DSHDLIB_EXT=\".so\" -DNDEBUG -DIRSIM_DATE="\"`date`\"" -c lookup.c make[2]: Leaving directory '/builddir/build/BUILD/irsim-9.7.104-build/irsim-9.7.104/tcltk' make[1]: *** [Makefile:45: modules] Error 2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IS4FMw + umask 022 + cd /builddir/build/BUILD/irsim-9.7.104-build + '[' /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT ++ dirname /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT + mkdir -p /builddir/build/BUILD/irsim-9.7.104-build + mkdir /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 irsim-9.7.104 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT 'INSTALL=/usr/bin/install -p' --- installing executables to /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT/usr/bin --- installing run-time files to /builddir/build/BUILD/irsim-9.7.104-build/BUILDROOT/usr/lib64 tclirsim.c:60:35: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types] 60 | private void (*oldinthandler)() = SIG_DFL; | ^~~~~~~ tclirsim.c: In function ‘finput’: tclirsim.c:85:10: warning: unused variable ‘cmdstring’ [-Wunused-variable] 85 | char *cmdstring; | ^~~~~~~~~ In file included from /usr/include/tcl.h:2439, from tclirsim.c:14: tclirsim.c: In function ‘_irsim_dispatch’: tclirsim.c:146:45: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~ tclirsim.c:146:45: note: each undeclared identifier is reported only once for each function it appears in tclirsim.c:146:51: error: expected ‘)’ before ‘char’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ~ ^~~~ tclirsim.c:146:59: error: expected ‘)’ before ‘conflicts’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~~~~~ tclirsim.c:146:9: note: to match this ‘(’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~~~~~~~~~~~~~~~ tclirsim.c:193:19: error: too many arguments to function ‘IrsimTagCallback’; expected 0, have 3 193 | return IrsimTagCallback(interp, argc, argv); | ^~~~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:54:12: note: declared here 54 | extern int IrsimTagCallback(); | ^~~~~~~~~~~~~~~~ tclirsim.c:112:18: warning: unused variable ‘conflicts’ [-Wunused-variable] 112 | static char *conflicts[] = | ^~~~~~~~~ tclirsim.c: In function ‘vlprintf’: tclirsim.c:213:5: warning: implicit declaration of function ‘va_copy’; did you mean ‘bcopy’? [-Wimplicit-function-declaration] 213 | va_copy(args, args_in); | ^~~~~~~ | bcopy tclirsim.c:215:5: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration] 215 | va_end(args); | ^~~~~~ tclirsim.c:228:26: warning: implicit declaration of function ‘logprint’ [-Wimplicit-function-declaration] 228 | if (logfile != NULL) logprint(outptr + 24); | ^~~~~~~~ tclirsim.c:207:20: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 207 | int i, nchars, result, escapes = 0; | ^~~~~~ tclirsim.c: In function ‘lprintf’: tclirsim.c:274:5: warning: implicit declaration of function ‘va_start’ [-Wimplicit-function-declaration] 274 | va_start(args, fmt); | ^~~~~~~~ tclirsim.c: In function ‘Tcl_stdflush’: tclirsim.c:285:6: warning: old-style function definition [-Wold-style-definition] 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:287:1: error: number of arguments doesn’t match prototype 287 | { | ^ tclirsim.c:51:13: error: prototype declaration 51 | extern void Tcl_stdflush(); | ^~~~~~~~~~~~ tclirsim.c:288:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 288 | Tcl_SavedResult state; | ^~~~~~~~~~~~~~~ | Tcl_SetResult tclirsim.c:292:5: warning: implicit declaration of function ‘Tcl_SaveResult’; did you mean ‘Tcl_SetResult’? [-Wimplicit-function-declaration] 292 | Tcl_SaveResult(irsiminterp, &state); | ^~~~~~~~~~~~~~ | Tcl_SetResult tclirsim.c:295:5: warning: implicit declaration of function ‘Tcl_RestoreResult’; did you mean ‘Tcl_ResetResult’? [-Wimplicit-function-declaration] 295 | Tcl_RestoreResult(irsiminterp, &state); | ^~~~~~~~~~~~~~~~~ | Tcl_ResetResult tclirsim.c: In function ‘enable_interrupt’: tclirsim.c:321:18: warning: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types] 321 | oldinthandler = signal(SIGINT, sighandler); | ^ In file included from tclirsim.c:12: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘disable_interrupt’: tclirsim.c:328:19: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 328 | signal(SIGINT, oldinthandler); | ^~~~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: At top level: tclirsim.c:338:50: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 338 | Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) | ^~~~ tclirsim.c: In function ‘rsimerror’: tclirsim.c:372:14: warning: implicit declaration of function ‘va_arg’ [-Wimplicit-function-declaration] 372 | lineno = va_arg(args, int); | ^~~~~~ tclirsim.c:372:27: error: expected expression before ‘int’ 372 | lineno = va_arg(args, int); | ^~~ tclirsim.c:373:24: error: expected expression before ‘char’ 373 | fmt = va_arg(args, char *); | ^~~~ tclirsim.c: In function ‘_irsim_readsim’: tclirsim.c:431:9: error: too many arguments to function ‘rd_network’; expected 0, have 3 431 | if (rd_network(filename, prefix, (config_flags & CONFIG_LOADED) ? 0 : -1)) | ^~~~~~~~~~ ~~~~~~~~ In file included from tclirsim.c:19: ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c: In function ‘_irsim_addnode’: tclirsim.c:460:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | n = RsimGetNode(argv[1]); | ^~~~~~~~~~~ ~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ tclirsim.c: In function ‘_irsim_start’: tclirsim.c:528:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 528 | init_subs(subs); | ^~~~~~~~~ ~~~~ ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ tclirsim.c:531:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 531 | InitTimes(sim_time0, stepsize, cur_delta, 0); | ^~~~~~~~~ ~~~~~~~~~ ../base/globals.h:393:13: note: declared here 393 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ tclirsim.c:535:5: error: too many arguments to function ‘Tcl_stdflush’; expected 0, have 1 535 | Tcl_stdflush(stdout); | ^~~~~~~~~~~~ ~~~~~~ tclirsim.c:285:6: note: declared here 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:562:27: error: too many arguments to function ‘config’; expected 0, have 1 562 | has_prm_file = config(argv[arg1]); | ^~~~~~ ~~~~~~~~~~ ../base/globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ tclirsim.c:573:17: error: too many arguments to function ‘rd_network’; expected 0, have 3 573 | if (rd_network(argv[i], NULL, has_prm_file)) | ^~~~~~~~~~ ~~~~~~~ ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c:577:30: error: too many arguments to function ‘BaseName’; expected 0, have 1 577 | first_file = BaseName(argv[i]); | ^~~~~~~~ ~~~~~~~ In file included from tclirsim.c:21: ../base/rsim.h:104:14: note: declared here 104 | extern char *BaseName(); | ^~~~~~~~ tclirsim.c: In function ‘Tclirsim_Init’: tclirsim.c:638:5: warning: old-style function definition [-Wold-style-definition] 638 | int Tclirsim_Init(interp) | ^~~~~~~~~~~~~ tclirsim.c:683:5: error: too many arguments to function ‘TagInit’; expected 0, have 1 683 | TagInit(interp); | ^~~~~~~ ~~~~~~ tclirsim.c:53:13: note: declared here 53 | extern void TagInit(); | ^~~~~~~ tclirsim.c:686:5: error: too many arguments to function ‘InitTkAnalyzer’; expected 0, have 1 686 | InitTkAnalyzer(interp); | ^~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:52:13: note: declared here 52 | extern void InitTkAnalyzer(); | ^~~~~~~~~~~~~~ tclirsim.c:703:60: error: ‘_tkcon_interrupt’ undeclared (first use in this function); did you mean ‘check_interrupt’? 703 | Tcl_CreateObjCommand(consoleinterp, "irsim::interrupt", _tkcon_interrupt, | ^~~~~~~~~~~~~~~~ | check_interrupt make[2]: *** [../rules.mak:15: tclirsim.o] Error 1 make[2]: *** No rule to make target '../analyzer/libanalyzer.o', needed by 'tclirsim.so'. Stop. random.c: In function ‘do_random’: random.c:165:10: error: conflicting types for ‘srand48’; have ‘void(void)’ 165 | void srand48(); | ^~~~~~~ In file included from random.c:74: /usr/include/stdlib.h:601:13: note: previous declaration of ‘srand48’ with type ‘void(long int)’ 601 | extern void srand48 (long int __seedval) __THROW; | ^~~~~~~ random.c:213:9: error: too many arguments to function ‘srand48’; expected 0, have 1 213 | srand48(time(0) + getpid()); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ random.c:165:10: note: declared here 165 | void srand48(); | ^~~~~~~ random.c:224:9: error: too many arguments to function ‘srand48’; expected 0, have 1 224 | srand48((long int)seed); | ^~~~~~~ ~~~~~~~~~~~~~~ random.c:165:10: note: declared here 165 | void srand48(); | ^~~~~~~ random.c:241:39: error: too many arguments to function ‘rand_gauss_dev’; expected 0, have 2 241 | Tcl_PrintDouble(interp, m + s*rand_gauss_dev(m, s), r); | ^~~~~~~~~~~~~~ ~ random.c:92:8: note: declared here 92 | double rand_gauss_dev() | ^~~~~~~~~~~~~~ random.c:300:26: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 300 | (CONST char ***)&list) != TCL_OK) { | ^~~~~ | CONST86 random.c:300:26: note: each undeclared identifier is reported only once for each function it appears in random.c:300:31: error: expected ‘)’ before ‘char’ 300 | (CONST char ***)&list) != TCL_OK) { | ~ ^~~~~ | ) random.c:299:48: warning: passing argument 3 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 299 | if (Tcl_SplitList(interp, argv[3], &list_count, | ^~~~~~~~~~~ | | | int * In file included from /usr/include/tcl.h:2439, from random.c:86: /usr/include/tclDecls.h:1795:64: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1795 | const char *listStr, Tcl_Size *argcPtr, | ~~~~~~~~~~^~~~~~~ random.c:321:31: error: expected ‘)’ before ‘char’ 321 | (CONST char ***)&list) != TCL_OK) { | ~ ^~~~~ | ) random.c:320:44: warning: passing argument 3 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 320 | if (Tcl_SplitList(interp, argv[2], &list_count, | ^~~~~~~~~~~ | | | int * /usr/include/tclDecls.h:1795:64: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1795 | const char *listStr, Tcl_Size *argcPtr, | ~~~~~~~~~~^~~~~~~ random.c:386:31: error: expected ‘)’ before ‘char’ 386 | (CONST char ***)&list) != TCL_OK) { | ~ ^~~~~ | ) random.c:385:48: warning: passing argument 3 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 385 | if (Tcl_SplitList(interp, argv[3], &list_count, | ^~~~~~~~~~~ | | | int * /usr/include/tclDecls.h:1795:64: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ 1795 | const char *listStr, Tcl_Size *argcPtr, | ~~~~~~~~~~^~~~~~~ make[2]: *** [Makefile:19: randwrap.o] Error 1 diglib.c:117:6: error: conflicting types for ‘dff_init’; have ‘char *(int, char **)’ 117 | uptr dff_init(int targc, char *targv[]) | ^~~~~~~~ diglib.c:46:6: note: previous declaration of ‘dff_init’ with type ‘char *(void)’ 46 | uptr dff_init(); | ^~~~~~~~ diglib.c:133:6: error: conflicting types for ‘lat_eval’; have ‘void(char *, char *, double *, char **)’ 133 | void lat_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:49:6: note: previous declaration of ‘lat_eval’ with type ‘void(void)’ 49 | void lat_eval(); | ^~~~~~~~ diglib.c:157:6: error: conflicting types for ‘dff_eval’; have ‘void(char *, char *, double *, char **)’ 157 | void dff_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:48:6: note: previous declaration of ‘dff_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~ diglib.c:178:6: error: conflicting types for ‘dffr_eval’; have ‘void(char *, char *, double *, char **)’ 178 | void dffr_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:48:18: note: previous declaration of ‘dffr_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~~ diglib.c:203:6: error: conflicting types for ‘dffs_eval’; have ‘void(char *, char *, double *, char **)’ 203 | void dffs_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:48:31: note: previous declaration of ‘dffs_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~~ diglib.c:229:6: error: conflicting types for ‘dffsr_eval’; have ‘void(char *, char *, double *, char **)’ 229 | void dffsr_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:48:44: note: previous declaration of ‘dffsr_eval’ with type ‘void(void)’ 48 | void dff_eval(), dffr_eval(), dffs_eval(), dffsr_eval(); | ^~~~~~~~~~ diglib.c:255:6: error: conflicting types for ‘invert_eval’; have ‘void(char *, char *, double *, char **)’ 255 | void invert_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~~ diglib.c:50:6: note: previous declaration of ‘invert_eval’ with type ‘void(void)’ 50 | void invert_eval(), buffer_eval(), triinv_eval(); | ^~~~~~~~~~~ diglib.c:265:6: error: conflicting types for ‘buffer_eval’; have ‘void(char *, char *, double *, char **)’ 265 | void buffer_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~~ diglib.c:50:21: note: previous declaration of ‘buffer_eval’ with type ‘void(void)’ 50 | void invert_eval(), buffer_eval(), triinv_eval(); | ^~~~~~~~~~~ diglib.c:277:6: error: conflicting types for ‘triinv_eval’; have ‘void(char *, char *, double *, char **)’ 277 | void triinv_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~~ diglib.c:50:36: note: previous declaration of ‘triinv_eval’ with type ‘void(void)’ 50 | void invert_eval(), buffer_eval(), triinv_eval(); | ^~~~~~~~~~~ diglib.c:296:6: error: conflicting types for ‘mux2_eval’; have ‘void(char *, char *, double *, char **)’ 296 | void mux2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:51:33: note: previous declaration of ‘mux2_eval’ with type ‘void(void)’ 51 | void nand2_eval(), nor2_eval(), mux2_eval(); | ^~~~~~~~~ diglib.c:314:6: error: conflicting types for ‘nand2_eval’; have ‘void(char *, char *, double *, char **)’ 314 | void nand2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:51:6: note: previous declaration of ‘nand2_eval’ with type ‘void(void)’ 51 | void nand2_eval(), nor2_eval(), mux2_eval(); | ^~~~~~~~~~ diglib.c:328:6: error: conflicting types for ‘and2_eval’; have ‘void(char *, char *, double *, char **)’ 328 | void and2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:52:6: note: previous declaration of ‘and2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~~ diglib.c:338:6: error: conflicting types for ‘nor2_eval’; have ‘void(char *, char *, double *, char **)’ 338 | void nor2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:51:20: note: previous declaration of ‘nor2_eval’ with type ‘void(void)’ 51 | void nand2_eval(), nor2_eval(), mux2_eval(); | ^~~~~~~~~ diglib.c:352:6: error: conflicting types for ‘or2_eval’; have ‘void(char *, char *, double *, char **)’ 352 | void or2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:52:19: note: previous declaration of ‘or2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~ diglib.c:362:6: error: conflicting types for ‘nand3_eval’; have ‘void(char *, char *, double *, char **)’ 362 | void nand3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:53:6: note: previous declaration of ‘nand3_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~~ diglib.c:376:6: error: conflicting types for ‘and3_eval’; have ‘void(char *, char *, double *, char **)’ 376 | void and3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:54:6: note: previous declaration of ‘and3_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~~ diglib.c:386:6: error: conflicting types for ‘nor3_eval’; have ‘void(char *, char *, double *, char **)’ 386 | void nor3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:53:34: note: previous declaration of ‘nor3_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~ diglib.c:400:6: error: conflicting types for ‘or3_eval’; have ‘void(char *, char *, double *, char **)’ 400 | void or3_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:54:32: note: previous declaration of ‘or3_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~ diglib.c:410:6: error: conflicting types for ‘nand4_eval’; have ‘void(char *, char *, double *, char **)’ 410 | void nand4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:53:20: note: previous declaration of ‘nand4_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~~ diglib.c:424:6: error: conflicting types for ‘and4_eval’; have ‘void(char *, char *, double *, char **)’ 424 | void and4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:54:19: note: previous declaration of ‘and4_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~~ diglib.c:434:6: error: conflicting types for ‘nor4_eval’; have ‘void(char *, char *, double *, char **)’ 434 | void nor4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:53:47: note: previous declaration of ‘nor4_eval’ with type ‘void(void)’ 53 | void nand3_eval(), nand4_eval(), nor3_eval(), nor4_eval(); | ^~~~~~~~~ diglib.c:448:6: error: conflicting types for ‘or4_eval’; have ‘void(char *, char *, double *, char **)’ 448 | void or4_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~ diglib.c:54:44: note: previous declaration of ‘or4_eval’ with type ‘void(void)’ 54 | void and3_eval(), and4_eval(), or3_eval(), or4_eval(); | ^~~~~~~~ diglib.c:458:6: error: conflicting types for ‘xnor2_eval’; have ‘void(char *, char *, double *, char **)’ 458 | void xnor2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~~ diglib.c:52:44: note: previous declaration of ‘xnor2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~~~ diglib.c:474:6: error: conflicting types for ‘xor2_eval’; have ‘void(char *, char *, double *, char **)’ 474 | void xor2_eval(char *in, char *out, double *delay, uptr *data) | ^~~~~~~~~ diglib.c:52:31: note: previous declaration of ‘xor2_eval’ with type ‘void(void)’ 52 | void and2_eval(), or2_eval(), xor2_eval(), xnor2_eval(); | ^~~~~~~~~ diglib.c: In function ‘Diglib_Init’: diglib.c:492:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 492 | init_subs(subckts); | ^~~~~~~~~ ~~~~~~~ In file included from diglib.c:27: ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ diglib.c:487:9: warning: unused variable ‘newptr’ [-Wunused-variable] 487 | int newptr; | ^~~~~~ diglib.c:486:21: warning: unused variable ‘s’ [-Wunused-variable] 486 | userSubCircuit *s; | ^ make[2]: *** [Makefile:20: diglib.o] Error 1 tclirsim.c:60:35: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types] 60 | private void (*oldinthandler)() = SIG_DFL; | ^~~~~~~ tclirsim.c: In function ‘finput’: tclirsim.c:85:10: warning: unused variable ‘cmdstring’ [-Wunused-variable] 85 | char *cmdstring; | ^~~~~~~~~ In file included from /usr/include/tcl.h:2439, from tclirsim.c:14: tclirsim.c: In function ‘_irsim_dispatch’: tclirsim.c:146:45: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~ tclirsim.c:146:45: note: each undeclared identifier is reported only once for each function it appears in tclirsim.c:146:51: error: expected ‘)’ before ‘char’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ~ ^~~~ tclirsim.c:146:59: error: expected ‘)’ before ‘conflicts’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~~~~~ tclirsim.c:146:9: note: to match this ‘(’ 146 | if (Tcl_GetIndexFromObj(interp, objv0, (CONST char **)conflicts, | ^~~~~~~~~~~~~~~~~~~ tclirsim.c:193:19: error: too many arguments to function ‘IrsimTagCallback’; expected 0, have 3 193 | return IrsimTagCallback(interp, argc, argv); | ^~~~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:54:12: note: declared here 54 | extern int IrsimTagCallback(); | ^~~~~~~~~~~~~~~~ tclirsim.c:112:18: warning: unused variable ‘conflicts’ [-Wunused-variable] 112 | static char *conflicts[] = | ^~~~~~~~~ tclirsim.c: In function ‘vlprintf’: tclirsim.c:213:5: warning: implicit declaration of function ‘va_copy’; did you mean ‘bcopy’? [-Wimplicit-function-declaration] 213 | va_copy(args, args_in); | ^~~~~~~ | bcopy tclirsim.c:215:5: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration] 215 | va_end(args); | ^~~~~~ tclirsim.c:228:26: warning: implicit declaration of function ‘logprint’ [-Wimplicit-function-declaration] 228 | if (logfile != NULL) logprint(outptr + 24); | ^~~~~~~~ tclirsim.c:207:20: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 207 | int i, nchars, result, escapes = 0; | ^~~~~~ tclirsim.c: In function ‘lprintf’: tclirsim.c:274:5: warning: implicit declaration of function ‘va_start’ [-Wimplicit-function-declaration] 274 | va_start(args, fmt); | ^~~~~~~~ tclirsim.c: In function ‘Tcl_stdflush’: tclirsim.c:285:6: warning: old-style function definition [-Wold-style-definition] 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:287:1: error: number of arguments doesn’t match prototype 287 | { | ^ tclirsim.c:51:13: error: prototype declaration 51 | extern void Tcl_stdflush(); | ^~~~~~~~~~~~ tclirsim.c:288:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 288 | Tcl_SavedResult state; | ^~~~~~~~~~~~~~~ | Tcl_SetResult tclirsim.c:292:5: warning: implicit declaration of function ‘Tcl_SaveResult’; did you mean ‘Tcl_SetResult’? [-Wimplicit-function-declaration] 292 | Tcl_SaveResult(irsiminterp, &state); | ^~~~~~~~~~~~~~ | Tcl_SetResult tclirsim.c:295:5: warning: implicit declaration of function ‘Tcl_RestoreResult’; did you mean ‘Tcl_ResetResult’? [-Wimplicit-function-declaration] 295 | Tcl_RestoreResult(irsiminterp, &state); | ^~~~~~~~~~~~~~~~~ | Tcl_ResetResult tclirsim.c: In function ‘enable_interrupt’: tclirsim.c:321:18: warning: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types] 321 | oldinthandler = signal(SIGINT, sighandler); | ^ In file included from tclirsim.c:12: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: In function ‘disable_interrupt’: tclirsim.c:328:19: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 328 | signal(SIGINT, oldinthandler); | ^~~~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ tclirsim.c: At top level: tclirsim.c:338:50: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 338 | Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) | ^~~~ tclirsim.c: In function ‘rsimerror’: tclirsim.c:372:14: warning: implicit declaration of function ‘va_arg’ [-Wimplicit-function-declaration] 372 | lineno = va_arg(args, int); | ^~~~~~ tclirsim.c:372:27: error: expected expression before ‘int’ 372 | lineno = va_arg(args, int); | ^~~ tclirsim.c:373:24: error: expected expression before ‘char’ 373 | fmt = va_arg(args, char *); | ^~~~ tclirsim.c: In function ‘_irsim_readsim’: tclirsim.c:431:9: error: too many arguments to function ‘rd_network’; expected 0, have 3 431 | if (rd_network(filename, prefix, (config_flags & CONFIG_LOADED) ? 0 : -1)) | ^~~~~~~~~~ ~~~~~~~~ In file included from tclirsim.c:19: ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c: In function ‘_irsim_addnode’: tclirsim.c:460:9: error: too many arguments to function ‘RsimGetNode’; expected 0, have 1 460 | n = RsimGetNode(argv[1]); | ^~~~~~~~~~~ ~~~~~~~ ../base/globals.h:209:13: note: declared here 209 | extern nptr RsimGetNode( /* name */ ); | ^~~~~~~~~~~ tclirsim.c: In function ‘_irsim_start’: tclirsim.c:528:5: error: too many arguments to function ‘init_subs’; expected 0, have 1 528 | init_subs(subs); | ^~~~~~~~~ ~~~~ ../base/globals.h:372:13: note: declared here 372 | extern void init_subs( /* */ ); | ^~~~~~~~~ tclirsim.c:531:5: error: too many arguments to function ‘InitTimes’; expected 0, have 4 531 | InitTimes(sim_time0, stepsize, cur_delta, 0); | ^~~~~~~~~ ~~~~~~~~~ ../base/globals.h:393:13: note: declared here 393 | extern void InitTimes( /* firstT, stepsize, lastT, reInit */ ); | ^~~~~~~~~ tclirsim.c:535:5: error: too many arguments to function ‘Tcl_stdflush’; expected 0, have 1 535 | Tcl_stdflush(stdout); | ^~~~~~~~~~~~ ~~~~~~ tclirsim.c:285:6: note: declared here 285 | void Tcl_stdflush(f) | ^~~~~~~~~~~~ tclirsim.c:562:27: error: too many arguments to function ‘config’; expected 0, have 1 562 | has_prm_file = config(argv[arg1]); | ^~~~~~ ~~~~~~~~~~ ../base/globals.h:68:12: note: declared here 68 | extern int config( /* cname */ ); | ^~~~~~ tclirsim.c:573:17: error: too many arguments to function ‘rd_network’; expected 0, have 3 573 | if (rd_network(argv[i], NULL, has_prm_file)) | ^~~~~~~~~~ ~~~~~~~ ../base/globals.h:329:12: note: declared here 329 | extern int rd_network( /* simfile */ ); | ^~~~~~~~~~ tclirsim.c:577:30: error: too many arguments to function ‘BaseName’; expected 0, have 1 577 | first_file = BaseName(argv[i]); | ^~~~~~~~ ~~~~~~~ In file included from tclirsim.c:21: ../base/rsim.h:104:14: note: declared here 104 | extern char *BaseName(); | ^~~~~~~~ tclirsim.c: In function ‘Tclirsim_Init’: tclirsim.c:638:5: warning: old-style function definition [-Wold-style-definition] 638 | int Tclirsim_Init(interp) | ^~~~~~~~~~~~~ tclirsim.c:683:5: error: too many arguments to function ‘TagInit’; expected 0, have 1 683 | TagInit(interp); | ^~~~~~~ ~~~~~~ tclirsim.c:53:13: note: declared here 53 | extern void TagInit(); | ^~~~~~~ tclirsim.c:686:5: error: too many arguments to function ‘InitTkAnalyzer’; expected 0, have 1 686 | InitTkAnalyzer(interp); | ^~~~~~~~~~~~~~ ~~~~~~ tclirsim.c:52:13: note: declared here 52 | extern void InitTkAnalyzer(); | ^~~~~~~~~~~~~~ tclirsim.c:703:60: error: ‘_tkcon_interrupt’ undeclared (first use in this function); did you mean ‘check_interrupt’? 703 | Tcl_CreateObjCommand(consoleinterp, "irsim::interrupt", _tkcon_interrupt, | ^~~~~~~~~~~~~~~~ | check_interrupt make[2]: *** [../rules.mak:15: tclirsim.o] Error 1 make[1]: *** [Makefile:84: install-tcl-real] Error 2 make: *** [Makefile:81: install-tcl] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.IS4FMw (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IS4FMw (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 5ac8ea0b296543f48077f93461d8d969 -D /var/lib/mock/f42-build-3460657-45515/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h700pin3:/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 riscv64 --nodeps /builddir/build/SPECS/irsim.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 5ac8ea0b296543f48077f93461d8d969 -D /var/lib/mock/f42-build-3460657-45515/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h700pin3:/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 riscv64 --nodeps /builddir/build/SPECS/irsim.spec'