Running as unit: rb-build-amd64_24-73883.service ==================================================================================== Tue Sep 16 13:04:10 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_amd64_24) on jenkins, called using "ionos15-amd64 ionos11-amd64" as arguments. Tue Sep 16 13:04:10 UTC 2025 - actually running "reproducible_build.sh" (md5sum cc591790ab2c8e13f5e554202b95c89c) as "/tmp/jenkins-script-hsV385XV" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Tue Sep 16 13:04:11 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Tue Sep 16 13:04:11 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-2TlnPS' Tue Sep 16 13:04:11 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos11-amd64.debian.net is marked as down. Tue Sep 16 13:04:11 UTC 2025 - checking via ssh if ionos11-amd64.debian.net is up. removed '/tmp/read-only-fs-test-zG7lqg' ok, let's check if crasm is building anywhere yet… ok, crasm is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of crasm in forky on amd64 on jenkins now. 1st build will be done on ionos15-amd64.debian.net. 2nd build will be done on ionos11-amd64.debian.net. ============================================================================= Tue Sep 16 13:04:34 UTC 2025 I: starting to build crasm/forky/amd64 on jenkins on '2025-09-16 13:04' Tue Sep 16 13:04:34 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_24/73883/console.log 1758027874 amd64 forky crasm Tue Sep 16 13:04:34 UTC 2025 I: Downloading source for forky/crasm=1.8-3 --2025-09-16 13:04:34-- http://deb.debian.org/debian/pool/main/c/crasm/crasm_1.8-3.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1739 (1.7K) [text/prs.lines.tag] Saving to: ‘crasm_1.8-3.dsc’ 0K . 100% 188M=0s 2025-09-16 13:04:34 (188 MB/s) - ‘crasm_1.8-3.dsc’ saved [1739/1739] --2025-09-16 13:04:34-- http://deb.debian.org/debian/pool/main/c/crasm/crasm_1.8-3.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1739 (1.7K) [text/prs.lines.tag] Saving to: ‘crasm_1.8-3.dsc’ 0K . 100% 188M=0s 2025-09-16 13:04:34 (188 MB/s) - ‘crasm_1.8-3.dsc’ saved [1739/1739] Tue Sep 16 13:04:34 UTC 2025 I: crasm_1.8-3.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: crasm Binary: crasm Architecture: any Version: 1.8-3 Maintainer: Laszlo Boszormenyi (GCS) Homepage: https://htmlpreview.github.io/?https://github.com/colinbourassa/crasm/blob/master/crasm.html Standards-Version: 4.5.0 Build-Depends: debhelper-compat (= 11) Package-List: crasm deb devel optional arch=any Checksums-Sha1: 25c5ec15fb1267212b51c5aca0c589f732be8987 59842 crasm_1.8.orig.tar.gz f6b93c75eab93194d8da5e9b31396789bcd03e67 10236 crasm_1.8-3.debian.tar.xz Checksums-Sha256: e58dc12ef96c70211bba13633694e8e4b80235cf069521cb8666bc3062816ff0 59842 crasm_1.8.orig.tar.gz 6cd443e2cf2aa10009eef3c452d8837bbab40ba7a42231f3e40c1c0e917bfc54 10236 crasm_1.8-3.debian.tar.xz Files: ea8f338e409206e78b2168f0bef868dc 59842 crasm_1.8.orig.tar.gz 5086eeab4f290844f18e88e1768c0ff0 10236 crasm_1.8-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAl6clykACgkQ3OMQ54ZM yL+lLQ/+IG1w84XHBfLgP1dS5BtxEO/6BDoqjqTRXCAZEF1+o/Ug+sivBB/YeuOJ XDcSKUE9gZIepVmZbrxeGx3yPyQpr8Y6hjbDS4N65Bc/RxXFW9gz2w5rSzLe4LSG n8eMRBedx3QpXIfSoWhKrsumHoJ0Hi65jDoyvudpL+q8k1m/AAnwNlDyDxDskecd xYhpzXQN1O34F9VRufDz3G1O+a7sVFaewUCr0KFek5JjAoJdFP2AGWGH93cZuYRc ll1Ol+H87Gz1FYcWVE1cIAF52oHrBQ9tAiwQADhJSEo5M+J65K67Uij+aA3tzjRh eNbum1Ztfb/sfyCm3gPabuInwRXv+/KPoqnmG5OwS1jSY7m3v2116dUz0pumLwyC GM/VvXXWWk7aYYCzWxBiQhI58eSWJ9Cc17uHsJMGoaabvMGkvRHuGJn7c5Y9RCWg J+8EsbOqtukRVJ7E3djYQQlr7dNPq1IGOdxLtdyfVNv43MxNbNOYeqTqug8soRt0 SEE1CY53m79iEn6W5ThEv89HYxuNIQi6sv3JK9hatO3kTZ+ZYdedOXCf0L/xPC7v xDcLWDeP+hs37q8kW/xSkkai7AGr9VNiZ8QLDHAFNd+3On4SQ5KRXGx6dzmOXf/G TcW1uuyj7MHDErv5TcOC8IZ/P/d3ZM+oX1tLzMt1F/gQ4OAaPl0= =4kaW -----END PGP SIGNATURE----- Tue Sep 16 13:04:34 UTC 2025 I: Checking whether the package is not for us Tue Sep 16 13:04:34 UTC 2025 I: Starting 1st build on remote node ionos15-amd64.debian.net. Tue Sep 16 13:04:34 UTC 2025 I: Preparing to do remote build '1' on ionos15-amd64.debian.net. Tue Sep 16 13:04:34 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Tue Sep 16 13:04:34 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-voTrno' ==================================================================================== Mon Oct 19 19:27:35 UTC 2026 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos15-amd64, called using "1 crasm forky /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35 1.8-3" as arguments. Mon Oct 19 19:27:35 UTC 2026 - actually running "reproducible_build.sh" (md5sum cc591790ab2c8e13f5e554202b95c89c) as "/tmp/jenkins-script-eUJD7Z5P" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Mon Oct 19 19:27:35 UTC 2026 I: Downloading source for forky/crasm=1.8-3 Reading package lists... Need to get 71.8 kB of source archives. Get:1 http://deb.debian.org/debian forky/main crasm 1.8-3 (dsc) [1739 B] Get:2 http://deb.debian.org/debian forky/main crasm 1.8-3 (tar) [59.8 kB] Get:3 http://deb.debian.org/debian forky/main crasm 1.8-3 (diff) [10.2 kB] Fetched 71.8 kB in 0s (2436 kB/s) Download complete and in download only mode Reading package lists... Need to get 71.8 kB of source archives. Get:1 http://deb.debian.org/debian forky/main crasm 1.8-3 (dsc) [1739 B] Get:2 http://deb.debian.org/debian forky/main crasm 1.8-3 (tar) [59.8 kB] Get:3 http://deb.debian.org/debian forky/main crasm 1.8-3 (diff) [10.2 kB] Fetched 71.8 kB in 0s (2436 kB/s) Download complete and in download only mode ============================================================================= Building crasm in forky on amd64 on ionos15-amd64 now. Date: Mon Oct 19 19:27:35 UTC 2026 Date UTC: Mon Oct 19 19:27:35 UTC 2026 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Mon Oct 19 07:27:35 -12 2026 I: pbuilder-time-stamp: 1792438055 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [crasm_1.8-3.dsc] I: copying [./crasm_1.8.orig.tar.gz] I: copying [./crasm_1.8-3.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./crasm_1.8-3.dsc: no acceptable signature found dpkg-source: info: extracting crasm in crasm-1.8 dpkg-source: info: unpacking crasm_1.8.orig.tar.gz dpkg-source: info: unpacking crasm_1.8-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix_GCC10_FTBFS.patch dpkg-source: info: applying remove_SF_logo.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1687057/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='forky' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='d8d7db2d5a064ce6a2bf91c5eed9ba45' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='1687057' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35/pbuilderrc_RMHK --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35/b1 --logfile b1/build.log crasm_1.8-3.dsc' SUDO_GID='111' SUDO_HOME='/var/lib/jenkins' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1687057/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 11) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19917 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 11); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 11.2 MB of archives. After unpacking 42.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian forky/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian forky/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian forky/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian forky/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian forky/main amd64 gettext-base amd64 0.23.1-2+b1 [244 kB] Get: 6 http://deb.debian.org/debian forky/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get: 7 http://deb.debian.org/debian forky/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get: 8 http://deb.debian.org/debian forky/main amd64 bsdextrautils amd64 2.41.1-3 [100 kB] Get: 9 http://deb.debian.org/debian forky/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian forky/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian forky/main amd64 m4 amd64 1.4.20-1 [324 kB] Get: 12 http://deb.debian.org/debian forky/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian forky/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian forky/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian forky/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian forky/main amd64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian forky/main amd64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian forky/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian forky/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian forky/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian forky/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian forky/main amd64 libelf1t64 amd64 0.193-3 [192 kB] Get: 23 http://deb.debian.org/debian forky/main amd64 dwz amd64 0.16-2 [108 kB] Get: 24 http://deb.debian.org/debian forky/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian forky/main amd64 libxml2-16 amd64 2.14.5+dfsg-0.2 [638 kB] Get: 26 http://deb.debian.org/debian forky/main amd64 gettext amd64 0.23.1-2+b1 [1680 kB] Get: 27 http://deb.debian.org/debian forky/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian forky/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian forky/main amd64 debhelper all 13.26 [939 kB] Fetched 11.2 MB in 7s (1586 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19917 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_amd64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_amd64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_amd64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_amd64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.193-3_amd64.deb ... Unpacking libelf1t64:amd64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_amd64.deb ... Unpacking libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_amd64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:amd64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:amd64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/crasm-1.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../crasm_1.8-3_source.changes dpkg-buildpackage: info: source package crasm dpkg-buildpackage: info: source version 1.8-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Laszlo Boszormenyi (GCS) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j42 clean make[1]: Entering directory '/build/reproducible-path/crasm-1.8' ( cd src; make clean ) make[2]: Entering directory '/build/reproducible-path/crasm-1.8/src' rm 2>/dev/null *.o crasm make[2]: [Makefile:19: clean] Error 1 (ignored) make[2]: Leaving directory '/build/reproducible-path/crasm-1.8/src' make[1]: Leaving directory '/build/reproducible-path/crasm-1.8' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/crasm-1.8' ( cd src; make all ) make[2]: Entering directory '/build/reproducible-path/crasm-1.8/src' cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o crasm.o crasm.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stdvocabulary.o stdvocabulary.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pseudos.o pseudos.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macro.o macro.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o label.o label.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter.o filter.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o operator.o operator.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o output.o output.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xref.o xref.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scode.o scode.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpulist.o cpulist.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpu6800.o cpu6800.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpu6502.o cpu6502.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpuz80.o cpuz80.c In file included from cpu6800.c:24: cpu6800.c:166:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 166 | mnemo ("bra", branch, 0x20) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:166:25: note: (near initialization for 'm6800[0].ptr') 166 | mnemo ("bra", branch, 0x20) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:167:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 167 | mnemo ("bsr", branch, 0x8d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:167:25: note: (near initialization for 'm6800[1].ptr') 167 | mnemo ("bsr", branch, 0x8d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:168:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 168 | mnemo ("bhi", branch, 0x22) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:168:25: note: (near initialization for 'm6800[2].ptr') 168 | mnemo ("bhi", branch, 0x22) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:169:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 169 | mnemo ("bls", branch, 0x23) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:169:25: note: (near initialization for 'm6800[3].ptr') 169 | mnemo ("bls", branch, 0x23) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:170:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 170 | mnemo ("bcc", branch, 0x24) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:170:25: note: (near initialization for 'm6800[4].ptr') 170 | mnemo ("bcc", branch, 0x24) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:171:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 171 | mnemo ("bcs", branch, 0x25) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:171:25: note: (near initialization for 'm6800[5].ptr') 171 | mnemo ("bcs", branch, 0x25) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:172:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 172 | mnemo ("bne", branch, 0x26) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:172:25: note: (near initialization for 'm6800[6].ptr') 172 | mnemo ("bne", branch, 0x26) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:173:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 173 | mnemo ("beq", branch, 0x27) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:173:25: note: (near initialization for 'm6800[7].ptr') 173 | mnemo ("beq", branch, 0x27) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:174:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 174 | mnemo ("bvc", branch, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:174:25: note: (near initialization for 'm6800[8].ptr') 174 | mnemo ("bvc", branch, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:175:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 175 | mnemo ("bvs", branch, 0x29) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:175:25: note: (near initialization for 'm6800[9].ptr') 175 | mnemo ("bvs", branch, 0x29) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:176:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 176 | mnemo ("bpl", branch, 0x2a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:176:25: note: (near initialization for 'm6800[10].ptr') 176 | mnemo ("bpl", branch, 0x2a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:177:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 177 | mnemo ("bmi", branch, 0x2b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:177:25: note: (near initialization for 'm6800[11].ptr') 177 | mnemo ("bmi", branch, 0x2b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:178:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 178 | mnemo ("bge", branch, 0x2c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:178:25: note: (near initialization for 'm6800[12].ptr') 178 | mnemo ("bge", branch, 0x2c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:179:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 179 | mnemo ("blt", branch, 0x2d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:179:25: note: (near initialization for 'm6800[13].ptr') 179 | mnemo ("blt", branch, 0x2d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:180:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 180 | mnemo ("bgt", branch, 0x2e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:180:25: note: (near initialization for 'm6800[14].ptr') 180 | mnemo ("bgt", branch, 0x2e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:181:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 181 | mnemo ("ble", branch, 0x2f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:181:25: note: (near initialization for 'm6800[15].ptr') 181 | mnemo ("ble", branch, 0x2f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:183:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 183 | mnemo ("nop", single, 0x01) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:183:25: note: (near initialization for 'm6800[16].ptr') 183 | mnemo ("nop", single, 0x01) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:184:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 184 | mnemo ("rti", single, 0x3b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:184:25: note: (near initialization for 'm6800[17].ptr') 184 | mnemo ("rti", single, 0x3b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:185:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 185 | mnemo ("rts", single, 0x39) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:185:25: note: (near initialization for 'm6800[18].ptr') 185 | mnemo ("rts", single, 0x39) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:186:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 186 | mnemo ("swi", single, 0x3f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:186:25: note: (near initialization for 'm6800[19].ptr') 186 | mnemo ("swi", single, 0x3f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ In file included from cpulist.c:24: cpulist.c:32:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 32 | newcpu("6800" ,init6800,0) /* Motorola 8 bit family father */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:32:18: note: (near initialization for 'cpulist[0].init') 32 | newcpu("6800" ,init6800,0) /* Motorola 8 bit family father */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:26:13: note: 'init6800' declared here 26 | extern void init6800(int code); | ^~~~~~~~ cpu6800.c:187:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 187 | mnemo ("wai", single, 0x3e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:33:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 33 | newcpu("6801" ,init6800,1) /* 6800+rom+I/Os+16bits ALU */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:33:18: note: (near initialization for 'cpulist[1].init') 33 | newcpu("6801" ,init6800,1) /* 6800+rom+I/Os+16bits ALU */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:26:13: note: 'init6800' declared here 26 | extern void init6800(int code); | ^~~~~~~~ cpu6800.c:187:25: note: (near initialization for 'm6800[20].ptr') 187 | mnemo ("wai", single, 0x3e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpulist.c:34:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 34 | newcpu("6803" ,init6800,1) /* ROMless 6801 */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:34:18: note: (near initialization for 'cpulist[2].init') 34 | newcpu("6803" ,init6800,1) /* ROMless 6801 */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:26:13: note: 'init6800' declared here 26 | extern void init6800(int code); | ^~~~~~~~ cpulist.c:35:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 35 | newcpu("6500" ,init6502,0) /* First 6502 procs, without ROR */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:188:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 188 | mnemo ("aba", single, 0x1b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:35:18: note: (near initialization for 'cpulist[3].init') 35 | newcpu("6500" ,init6502,0) /* First 6502 procs, without ROR */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:27:13: note: 'init6502' declared here 27 | extern void init6502(int code); | ^~~~~~~~ cpu6800.c:188:25: note: (near initialization for 'm6800[21].ptr') 188 | mnemo ("aba", single, 0x1b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpulist.c:36:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 36 | newcpu("6502" ,init6502,1) /* Standard 6502 (Apple,Cbm..) */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:36:18: note: (near initialization for 'cpulist[4].init') 36 | newcpu("6502" ,init6502,1) /* Standard 6502 (Apple,Cbm..) */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:27:13: note: 'init6502' declared here 27 | extern void init6502(int code); | ^~~~~~~~ cpu6800.c:189:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 189 | mnemo ("clra", single, 0x4f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:37:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 37 | newcpu("65C02" ,init6502,2) /* CMOS 6502, ext. instr. set */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:189:25: note: (near initialization for 'm6800[22].ptr') 189 | mnemo ("clra", single, 0x4f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:37:18: note: (near initialization for 'cpulist[5].init') 37 | newcpu("65C02" ,init6502,2) /* CMOS 6502, ext. instr. set */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpulist.c:27:13: note: 'init6502' declared here 27 | extern void init6502(int code); | ^~~~~~~~ cpulist.c:38:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 38 | newcpu("Z80" ,initz80 ,0) /* 8080 revisited */ | ^~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:190:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 190 | mnemo ("clrb", single, 0x5f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:38:18: note: (near initialization for 'cpulist[6].init') 38 | newcpu("Z80" ,initz80 ,0) /* 8080 revisited */ | ^~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:28:13: note: 'initz80' declared here 28 | extern void initz80(int code); | ^~~~~~~ cpu6800.c:190:25: note: (near initialization for 'm6800[23].ptr') 190 | mnemo ("clrb", single, 0x5f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:191:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 191 | mnemo ("cba", single, 0x11) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:191:25: note: (near initialization for 'm6800[24].ptr') 191 | mnemo ("cba", single, 0x11) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:192:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 192 | mnemo ("coma", single, 0x43) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:192:25: note: (near initialization for 'm6800[25].ptr') 192 | mnemo ("coma", single, 0x43) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:193:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 193 | mnemo ("comb", single, 0x53) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:193:25: note: (near initialization for 'm6800[26].ptr') 193 | mnemo ("comb", single, 0x53) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ macro.c: In function 'linegets': cpu6800.c:194:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 194 | mnemo ("nega", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:194:25: note: (near initialization for 'm6800[27].ptr') 194 | mnemo ("nega", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ macro.c:379:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 379 | fgets(buffer,length,source[slevel].filedesc.file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu6800.c:195:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 195 | mnemo ("negb", single, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:195:25: note: (near initialization for 'm6800[28].ptr') 195 | mnemo ("negb", single, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:196:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 196 | mnemo ("daa", single, 0x19) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:196:25: note: (near initialization for 'm6800[29].ptr') 196 | mnemo ("daa", single, 0x19) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:197:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 197 | mnemo ("deca", single, 0x4a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:197:25: note: (near initialization for 'm6800[30].ptr') 197 | mnemo ("deca", single, 0x4a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:198:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 198 | mnemo ("decb", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:198:25: note: (near initialization for 'm6800[31].ptr') 198 | mnemo ("decb", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:199:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 199 | mnemo ("inca", single, 0x4c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:199:25: note: (near initialization for 'm6800[32].ptr') 199 | mnemo ("inca", single, 0x4c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:200:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 200 | mnemo ("incb", single, 0x5c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:200:25: note: (near initialization for 'm6800[33].ptr') 200 | mnemo ("incb", single, 0x5c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:201:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 201 | mnemo ("psha", single, 0x36) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:201:25: note: (near initialization for 'm6800[34].ptr') 201 | mnemo ("psha", single, 0x36) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:202:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 202 | mnemo ("pshb", single, 0x37) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:202:25: note: (near initialization for 'm6800[35].ptr') 202 | mnemo ("pshb", single, 0x37) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:203:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 203 | mnemo ("pula", single, 0x32) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:203:25: note: (near initialization for 'm6800[36].ptr') 203 | mnemo ("pula", single, 0x32) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:35:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 35 | defpseudo( "EQU" ,DEFLABEL , Xequ ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:35:51: note: (near initialization for 'pseudos[0].ptr') 35 | defpseudo( "EQU" ,DEFLABEL , Xequ ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:204:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 204 | mnemo ("pulb", single, 0x33) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:204:25: note: (near initialization for 'm6800[37].ptr') 204 | mnemo ("pulb", single, 0x33) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ In file included from stdvocabulary.c:27: dcl.h:141:13: note: 'Xequ' declared here 141 | extern int Xequ(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:36:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 36 | defpseudo( "ASC" ,0 , Xasc ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:36:51: note: (near initialization for 'pseudos[1].ptr') 36 | defpseudo( "ASC" ,0 , Xasc ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:149:13: note: 'Xasc' declared here 149 | extern int Xasc(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:205:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 205 | mnemo ("rola", single, 0x49) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:37:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 37 | defpseudo( "ALIGN" ,0 , Xalign ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:205:25: note: (near initialization for 'm6800[38].ptr') 205 | mnemo ("rola", single, 0x49) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:37:51: note: (near initialization for 'pseudos[2].ptr') 37 | defpseudo( "ALIGN" ,0 , Xalign ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ dcl.h:145:13: note: 'Xalign' declared here 145 | extern int Xalign(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ stdvocabulary.c:38:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 38 | defpseudo( "CLIST" ,NOLABEL , Xclist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:38:51: note: (near initialization for 'pseudos[3].ptr') 38 | defpseudo( "CLIST" ,NOLABEL , Xclist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:156:13: note: 'Xclist' declared here 156 | extern int Xclist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:206:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 206 | mnemo ("rolb", single, 0x59) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:39:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 39 | defpseudo( "CODE" ,NOLABEL , Xcode ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:206:25: note: (near initialization for 'm6800[39].ptr') 206 | mnemo ("rolb", single, 0x59) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:39:51: note: (near initialization for 'pseudos[4].ptr') 39 | defpseudo( "CODE" ,NOLABEL , Xcode ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ dcl.h:150:13: note: 'Xcode' declared here 150 | extern int Xcode(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ stdvocabulary.c:40:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 40 | defpseudo( "CPU" ,NOLABEL , Xcpu ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:40:51: note: (near initialization for 'pseudos[5].ptr') 40 | defpseudo( "CPU" ,NOLABEL , Xcpu ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:147:13: note: 'Xcpu' declared here 147 | extern int Xcpu(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:207:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 207 | mnemo ("rora", single, 0x46) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:41:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 41 | defspecial("DB" ,0 , Xdc , 1 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ cpu6800.c:207:25: note: (near initialization for 'm6800[40].ptr') 207 | mnemo ("rora", single, 0x46) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:41:51: note: (near initialization for 'pseudos[6].ptr') 41 | defspecial("DB" ,0 , Xdc , 1 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ stdvocabulary.c:42:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 42 | defspecial("DDB" ,0 , Xdc , 2 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ stdvocabulary.c:42:51: note: (near initialization for 'pseudos[7].ptr') 42 | defspecial("DDB" ,0 , Xdc , 2 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:208:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 208 | mnemo ("rorb", single, 0x56) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:43:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 43 | defspecial("DL" ,0 , Xdc , 4 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ cpu6800.c:208:25: note: (near initialization for 'm6800[41].ptr') 208 | mnemo ("rorb", single, 0x56) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:43:51: note: (near initialization for 'pseudos[8].ptr') 43 | defspecial("DL" ,0 , Xdc , 4 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:44:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 44 | defspecial("DW" ,0 , Xdc , 3 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ stdvocabulary.c:44:51: note: (near initialization for 'pseudos[9].ptr') 44 | defspecial("DW" ,0 , Xdc , 3 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:209:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 209 | mnemo ("asla", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:45:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 45 | defpseudo( "DUMMY" ,NOLABEL , Xdummy ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:209:25: note: (near initialization for 'm6800[42].ptr') 209 | mnemo ("asla", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:45:51: note: (near initialization for 'pseudos[10].ptr') 45 | defpseudo( "DUMMY" ,NOLABEL , Xdummy ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:151:13: note: 'Xdummy' declared here 151 | extern int Xdummy(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:46:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 46 | defpseudo( "DS" ,0 , Xds ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:46:51: note: (near initialization for 'pseudos[11].ptr') 46 | defpseudo( "DS" ,0 , Xds ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:144:13: note: 'Xds' declared here 144 | extern int Xds(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:210:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 210 | mnemo ("aslb", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:47:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 47 | defpseudo( "ELSE" ,NOLABEL | DEFCOND , Xelse ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:210:25: note: (near initialization for 'm6800[43].ptr') 210 | mnemo ("aslb", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:47:51: note: (near initialization for 'pseudos[12].ptr') 47 | defpseudo( "ELSE" ,NOLABEL | DEFCOND , Xelse ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:137:13: note: 'Xelse' declared here 137 | extern int Xelse(int status, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:48:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 48 | defpseudo( "ENDC" ,NOLABEL | DEFCOND , Xendc ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:48:51: note: (near initialization for 'pseudos[13].ptr') 48 | defpseudo( "ENDC" ,NOLABEL | DEFCOND , Xendc ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:138:13: note: 'Xendc' declared here 138 | extern int Xendc(int status, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:211:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 211 | mnemo ("asra", single, 0x47) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:49:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 49 | defpseudo( "ENDM" ,NOLABEL | DEFMACRO , Xendm ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:211:25: note: (near initialization for 'm6800[44].ptr') 211 | mnemo ("asra", single, 0x47) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:49:51: note: (near initialization for 'pseudos[14].ptr') 49 | defpseudo( "ENDM" ,NOLABEL | DEFMACRO , Xendm ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:135:13: note: 'Xendm' declared here 135 | extern int Xendm(int status, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:50:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 50 | defpseudo( "EXITM" ,NOLABEL | DEFMACRO , Xexitm ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:50:51: note: (near initialization for 'pseudos[15].ptr') 50 | defpseudo( "EXITM" ,NOLABEL | DEFMACRO , Xexitm ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:134:13: note: 'Xexitm' declared here 134 | extern int Xexitm(int status, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:212:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 212 | mnemo ("asrb", single, 0x57) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:51:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 51 | defpseudo( "FAIL" ,NOLABEL , Xfail ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:212:25: note: (near initialization for 'm6800[45].ptr') 212 | mnemo ("asrb", single, 0x57) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:51:51: note: (near initialization for 'pseudos[16].ptr') 51 | defpseudo( "FAIL" ,NOLABEL , Xfail ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:158:13: note: 'Xfail' declared here 158 | extern int Xfail(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:52:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 52 | defpseudo( "IF" ,NOLABEL | DEFCOND , Xif ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:52:51: note: (near initialization for 'pseudos[17].ptr') 52 | defpseudo( "IF" ,NOLABEL | DEFCOND , Xif ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:136:13: note: 'Xif' declared here 136 | extern int Xif(int status, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:213:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 213 | mnemo ("lsra", single, 0x44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:53:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 53 | defpseudo( "ILIST" ,NOLABEL , Xilist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:213:25: note: (near initialization for 'm6800[46].ptr') 213 | mnemo ("lsra", single, 0x44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:53:51: note: (near initialization for 'pseudos[18].ptr') 53 | defpseudo( "ILIST" ,NOLABEL , Xilist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:157:13: note: 'Xilist' declared here 157 | extern int Xilist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:54:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 54 | defpseudo( "INCLUDE" ,NOLABEL , Xinclude ) | ^~~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:54:51: note: (near initialization for 'pseudos[19].ptr') 54 | defpseudo( "INCLUDE" ,NOLABEL , Xinclude ) | ^~~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:142:13: note: 'Xinclude' declared here 142 | extern int Xinclude(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~~~ cpu6800.c:214:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 214 | mnemo ("lsrb", single, 0x54) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:55:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 55 | defpseudo( "LIST" ,NOLABEL , Xlist ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:214:25: note: (near initialization for 'm6800[47].ptr') 214 | mnemo ("lsrb", single, 0x54) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:55:51: note: (near initialization for 'pseudos[20].ptr') 55 | defpseudo( "LIST" ,NOLABEL , Xlist ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:154:13: note: 'Xlist' declared here 154 | extern int Xlist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:56:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 56 | defpseudo( "MACRO" ,DEFLABEL | DEFMACRO , Xmacro ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:56:51: note: (near initialization for 'pseudos[21].ptr') 56 | defpseudo( "MACRO" ,DEFLABEL | DEFMACRO , Xmacro ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:133:13: note: 'Xmacro' declared here 133 | extern int Xmacro(int status, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:215:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 215 | mnemo ("sba", single, 0x10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:57:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 57 | defpseudo( "MLIST" ,NOLABEL , Xmlist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:215:25: note: (near initialization for 'm6800[48].ptr') 215 | mnemo ("sba", single, 0x10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:57:51: note: (near initialization for 'pseudos[22].ptr') 57 | defpseudo( "MLIST" ,NOLABEL , Xmlist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:155:13: note: 'Xmlist' declared here 155 | extern int Xmlist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:58:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 58 | defpseudo( "NAM" ,NOLABEL , Xnam ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:58:51: note: (near initialization for 'pseudos[23].ptr') 58 | defpseudo( "NAM" ,NOLABEL , Xnam ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:148:13: note: 'Xnam' declared here 148 | extern int Xnam(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:216:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 216 | mnemo ("tab", single, 0x16) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:59:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 59 | defpseudo( "PAGE" ,NOLABEL , Xpage ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:59:51: note: (near initialization for 'pseudos[24].ptr') 59 | defpseudo( "PAGE" ,NOLABEL , Xpage ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:216:25: note: (near initialization for 'm6800[49].ptr') 216 | mnemo ("tab", single, 0x16) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ dcl.h:153:13: note: 'Xpage' declared here 153 | extern int Xpage(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:60:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 60 | defpseudo( "OUTPUT" ,NOLABEL , Xoutput ) | ^~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:60:51: note: (near initialization for 'pseudos[25].ptr') 60 | defpseudo( "OUTPUT" ,NOLABEL , Xoutput ) | ^~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:146:13: note: 'Xoutput' declared here 146 | extern int Xoutput(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~~ cpu6800.c:217:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 217 | mnemo ("tba", single, 0x17) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:61:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 61 | defpseudo( "SKIP" ,NOLABEL , Xskip ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:61:51: note: (near initialization for 'pseudos[26].ptr') 61 | defpseudo( "SKIP" ,NOLABEL , Xskip ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:217:25: note: (near initialization for 'm6800[50].ptr') 217 | mnemo ("tba", single, 0x17) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ dcl.h:152:13: note: 'Xskip' declared here 152 | extern int Xskip(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:218:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 218 | mnemo ("tsta", single, 0x4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:218:25: note: (near initialization for 'm6800[51].ptr') 218 | mnemo ("tsta", single, 0x4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:219:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 219 | mnemo ("tstb", single, 0x5d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:219:25: note: (near initialization for 'm6800[52].ptr') 219 | mnemo ("tstb", single, 0x5d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:221:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 221 | mnemo ("dex", single, 0x09) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:221:25: note: (near initialization for 'm6800[53].ptr') 221 | mnemo ("dex", single, 0x09) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ crasm.c:55:22: error: conflicting types for 'searchlabel'; have 'struct label *(void)' 55 | extern struct label *searchlabel(); | ^~~~~~~~~~~ In file included from crasm.c:30: label.h:78:22: note: previous declaration of 'searchlabel' with type 'struct label *(char *)' 78 | extern struct label *searchlabel(char *name); | ^~~~~~~~~~~ cpu6800.c:222:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 222 | mnemo ("des", single, 0x34) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:222:25: note: (near initialization for 'm6800[54].ptr') 222 | mnemo ("des", single, 0x34) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:223:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 223 | mnemo ("inx", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:223:25: note: (near initialization for 'm6800[55].ptr') 223 | mnemo ("inx", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:224:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 224 | mnemo ("ins", single, 0x31) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:224:25: note: (near initialization for 'm6800[56].ptr') 224 | mnemo ("ins", single, 0x31) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:225:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 225 | mnemo ("tsx", single, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:225:25: note: (near initialization for 'm6800[57].ptr') 225 | mnemo ("tsx", single, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:226:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 226 | mnemo ("txs", single, 0x35) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:226:25: note: (near initialization for 'm6800[58].ptr') 226 | mnemo ("txs", single, 0x35) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:228:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 228 | mnemo ("clc", single, 0x0c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c: In function 'findmnemo': crasm.c:253:20: error: too many arguments to function 'searchlabel'; expected 0, have 1 253 | labmnemo = searchlabel(mnemo); | ^~~~~~~~~~~ ~~~~~ cpu6800.c:228:25: note: (near initialization for 'm6800[59].ptr') 228 | mnemo ("clc", single, 0x0c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c:55:22: note: declared here 55 | extern struct label *searchlabel(); | ^~~~~~~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ crasm.c:256:42: error: too many arguments to function 'searchlabel'; expected 0, have 1 256 | if (( labmnemo = searchlabel(aux1) )) | ^~~~~~~~~~~ ~~~~ crasm.c:55:22: note: declared here 55 | extern struct label *searchlabel(); | ^~~~~~~~~~~ cpu6800.c:229:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 229 | mnemo ("clv", single, 0x0a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:229:25: note: (near initialization for 'm6800[60].ptr') 229 | mnemo ("clv", single, 0x0a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:230:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 230 | mnemo ("cli", single, 0x0e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:230:25: note: (near initialization for 'm6800[61].ptr') 230 | mnemo ("cli", single, 0x0e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:231:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 231 | mnemo ("sec", single, 0x0d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:231:25: note: (near initialization for 'm6800[62].ptr') 231 | mnemo ("sec", single, 0x0d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:232:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 232 | mnemo ("sev", single, 0x0b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c: In function 'asmline': cpu6800.c:232:25: note: (near initialization for 'm6800[63].ptr') 232 | mnemo ("sev", single, 0x0b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c:365:26: error: too many arguments to function 'labmnemo->ptr'; expected 0, have 4 365 | return (*labmnemo->ptr)( status, | ~^~~~~~~~~~~~~~~ ~~~~~~ label.h:39:15: note: declared here 39 | int (*ptr)(); | ^~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ crasm.c:369:26: error: too many arguments to function 'labmnemo->ptr'; expected 0, have 4 369 | return (*labmnemo->ptr)( status, | ~^~~~~~~~~~~~~~~ ~~~~~~ label.h:39:15: note: declared here 39 | int (*ptr)(); | ^~~ cpu6800.c:233:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 233 | mnemo ("sei", single, 0x0f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:233:25: note: (near initialization for 'm6800[64].ptr') 233 | mnemo ("sei", single, 0x0f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c:383:26: error: too many arguments to function 'labmnemo->ptr'; expected 0, have 4 383 | (*labmnemo->ptr)( labmnemo->modifier, | ~^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ label.h:39:15: note: declared here 39 | int (*ptr)(); | ^~~ cpu6800.c:234:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 234 | mnemo ("tap", single, 0x06) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:234:25: note: (near initialization for 'm6800[65].ptr') 234 | mnemo ("tap", single, 0x06) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:235:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 235 | mnemo ("tpa", single, 0x07) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:235:25: note: (near initialization for 'm6800[66].ptr') 235 | mnemo ("tpa", single, 0x07) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:237:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 237 | mnemo ("neg", standard3, 0x40) /* memory instructions */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:237:25: note: (near initialization for 'm6800[67].ptr') 237 | mnemo ("neg", standard3, 0x40) /* memory instructions */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:238:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 238 | mnemo ("com", standard3, 0x43) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:238:25: note: (near initialization for 'm6800[68].ptr') 238 | mnemo ("com", standard3, 0x43) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:239:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 239 | mnemo ("lsr", standard3, 0x44) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:239:25: note: (near initialization for 'm6800[69].ptr') 239 | mnemo ("lsr", standard3, 0x44) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:240:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 240 | mnemo ("ror", standard3, 0x46) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:240:25: note: (near initialization for 'm6800[70].ptr') 240 | mnemo ("ror", standard3, 0x46) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:241:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 241 | mnemo ("asr", standard3, 0x47) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:241:25: note: (near initialization for 'm6800[71].ptr') 241 | mnemo ("asr", standard3, 0x47) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:242:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 242 | mnemo ("asl", standard3, 0x48) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:242:25: note: (near initialization for 'm6800[72].ptr') 242 | mnemo ("asl", standard3, 0x48) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:243:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 243 | mnemo ("rol", standard3, 0x49) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:243:25: note: (near initialization for 'm6800[73].ptr') 243 | mnemo ("rol", standard3, 0x49) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:244:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 244 | mnemo ("dec", standard3, 0x4a) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:244:25: note: (near initialization for 'm6800[74].ptr') 244 | mnemo ("dec", standard3, 0x4a) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:245:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 245 | mnemo ("inc", standard3, 0x4c) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:245:25: note: (near initialization for 'm6800[75].ptr') 245 | mnemo ("inc", standard3, 0x4c) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:246:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 246 | mnemo ("tst", standard3, 0x4d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:246:25: note: (near initialization for 'm6800[76].ptr') 246 | mnemo ("tst", standard3, 0x4d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:32:13: error: conflicting types for 'error'; have 'void(void)' 32 | extern void error(); | ^~~~~ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ In file included from parse.c:28: dcl.h:95:13: note: previous declaration of 'error' with type 'void(char *)' 95 | extern void error(char *s); | ^~~~~ cpu6800.c:247:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 247 | mnemo ("jmp", standard3, 0x4e) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:247:25: note: (near initialization for 'm6800[77].ptr') 247 | mnemo ("jmp", standard3, 0x4e) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ parse.c:33:13: error: conflicting types for 'fatal'; have 'void(void)' 33 | extern void fatal(); | ^~~~~ dcl.h:97:13: note: previous declaration of 'fatal' with type 'void(char *)' 97 | extern void fatal(char *s); | ^~~~~ cpu6800.c:248:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 248 | mnemo ("clr", standard3, 0x4f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:248:25: note: (near initialization for 'm6800[78].ptr') 248 | mnemo ("clr", standard3, 0x4f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:250:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 250 | mnemo ("suba", standard, 0x80) /* accumulator & memory */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:250:25: note: (near initialization for 'm6800[79].ptr') 250 | mnemo ("suba", standard, 0x80) /* accumulator & memory */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:251:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 251 | mnemo ("cmpa", standard, 0x81) /* instructions */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:251:25: note: (near initialization for 'm6800[80].ptr') 251 | mnemo ("cmpa", standard, 0x81) /* instructions */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:73:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 73 | { "?_\\_?" ,2 ,1 /* rlist */ ,oprlist,}, | ^~~~~~~ parse.c:73:66: note: (near initialization for 'oplist[0].callop') cpu6800.c:252:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 252 | mnemo ("sbca", standard, 0x82) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:252:25: note: (near initialization for 'm6800[81].ptr') 252 | mnemo ("sbca", standard, 0x82) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:253:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 253 | mnemo ("anda", standard, 0x84) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:49:13: note: 'oprlist' declared here 49 | extern void oprlist(struct result *presult, struct result *parg); | ^~~~~~~ cpu6800.c:253:25: note: (near initialization for 'm6800[82].ptr') 253 | mnemo ("anda", standard, 0x84) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:74:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 74 | { "?_+_?" ,2 ,2 /* add */ ,opadd,}, | ^~~~~ cpu6800.c:254:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 254 | mnemo ("bita", standard, 0x85) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:74:66: note: (near initialization for 'oplist[1].callop') cpu6800.c:254:25: note: (near initialization for 'm6800[83].ptr') 254 | mnemo ("bita", standard, 0x85) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:45:13: note: 'opadd' declared here 45 | extern void opadd(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:75:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 75 | { "?_-_?" ,2 ,1 /* subtract, rrange */ ,opsub,}, | ^~~~~ cpu6800.c:255:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 255 | mnemo ("ldaa", standard, 0x86) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:75:66: note: (near initialization for 'oplist[2].callop') cpu6800.c:255:25: note: (near initialization for 'm6800[84].ptr') 255 | mnemo ("ldaa", standard, 0x86) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:46:13: note: 'opsub' declared here 46 | extern void opsub(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:76:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 76 | { "?_*_?" ,2 ,2 /* multiply */ ,opmul,}, | ^~~~~ cpu6800.c:256:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 256 | mnemo ("staa", standard2, 0x87) /* store instructions are */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:76:66: note: (near initialization for 'oplist[3].callop') cpu6800.c:256:25: note: (near initialization for 'm6800[85].ptr') 256 | mnemo ("staa", standard2, 0x87) /* store instructions are */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:47:13: note: 'opmul' declared here 47 | extern void opmul(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:77:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 77 | { "?_/_?" ,2 ,1 /* divide */ ,opdiv,}, | ^~~~~ cpu6800.c:257:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 257 | mnemo ("eora", standard, 0x88) /* never immediate */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:77:66: note: (near initialization for 'oplist[4].callop') parse.c:48:13: note: 'opdiv' declared here 48 | extern void opdiv(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:257:25: note: (near initialization for 'm6800[86].ptr') 257 | mnemo ("eora", standard, 0x88) /* never immediate */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:78:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 78 | { "?_|_?" ,2 ,3 /* logical OR */ ,opor,}, | ^~~~ cpu6800.c:258:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 258 | mnemo ("adca", standard, 0x89) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:78:66: note: (near initialization for 'oplist[5].callop') parse.c:51:13: note: 'opor' declared here 51 | extern void opor(struct result *presult, struct result *parg); | ^~~~ cpu6800.c:258:25: note: (near initialization for 'm6800[87].ptr') 258 | mnemo ("adca", standard, 0x89) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:79:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 79 | { "?_&_?" ,2 ,2 /* logical AND */ ,opand,}, | ^~~~~ parse.c:79:66: note: (near initialization for 'oplist[6].callop') cpu6800.c:259:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 259 | mnemo ("oraa", standard, 0x8a) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:52:13: note: 'opand' declared here 52 | extern void opand(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:259:25: note: (near initialization for 'm6800[88].ptr') 259 | mnemo ("oraa", standard, 0x8a) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:80:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 80 | { "?_^_?" ,2 ,1 /* logical XOR */ ,opxor,}, | ^~~~~ parse.c:80:66: note: (near initialization for 'oplist[7].callop') cpu6800.c:260:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 260 | mnemo ("adda", standard, 0x8b) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:53:13: note: 'opxor' declared here 53 | extern void opxor(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:260:25: note: (near initialization for 'm6800[89].ptr') 260 | mnemo ("adda", standard, 0x8b) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:81:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 81 | { "?_<<_?" ,2 ,2 /* lshift */ ,oplsh,}, | ^~~~~ parse.c:81:66: note: (near initialization for 'oplist[8].callop') cpu6800.c:261:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 261 | mnemo ("cpx", standard, 0x8c) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:54:13: note: 'oplsh' declared here 54 | extern void oplsh(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:261:25: note: (near initialization for 'm6800[90].ptr') 261 | mnemo ("cpx", standard, 0x8c) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:82:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 82 | { "?_>>_?" ,2 ,1 /* rshift */ ,oprsh,}, | ^~~~~ parse.c:82:66: note: (near initialization for 'oplist[9].callop') parse.c:55:13: note: 'oprsh' declared here 55 | extern void oprsh(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:262:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 262 | mnemo ("jsr", standard2, 0x8d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:262:25: note: (near initialization for 'm6800[91].ptr') 262 | mnemo ("jsr", standard2, 0x8d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:83:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *)' [-Wincompatible-pointer-types] 83 | { "?_-" ,1 ,1 /* unary minus */ ,opminus,}, | ^~~~~~~ parse.c:83:66: note: (near initialization for 'oplist[10].callop') parse.c:50:13: note: 'opminus' declared here 50 | extern void opminus(struct result *presult); | ^~~~~~~ cpu6800.c:263:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 263 | mnemo ("lds", standard, 0x8e) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:263:25: note: (near initialization for 'm6800[92].ptr') 263 | mnemo ("lds", standard, 0x8e) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:84:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *)' [-Wincompatible-pointer-types] 84 | { "?_~" ,1 ,1 /* logical NOT */ ,opnot,}, | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:84:66: note: (near initialization for 'oplist[11].callop') parse.c:56:13: note: 'opnot' declared here 56 | extern void opnot(struct result *presult); | ^~~~~ cpu6800.c:264:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 264 | mnemo ("sts", standard2, 0x8f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:85:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 85 | { ")_?_(_TIB" ,1 ,1 /* bit number */ ,opbitnumb,}, | ^~~~~~~~~ cpu6800.c:264:25: note: (near initialization for 'm6800[93].ptr') 264 | mnemo ("sts", standard2, 0x8f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:85:66: note: (near initialization for 'oplist[12].callop') cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:64:13: note: 'opbitnumb' declared here 64 | extern void opbitnumb(struct result *presult, struct result *parg); | ^~~~~~~~~ cpu6800.c:266:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 266 | mnemo ("subb", standard, 0xc0) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:86:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 86 | { ")_?_(_RDDA" ,1 ,1 /* bit addr */ ,opbitaddr,}, | ^~~~~~~~~ parse.c:86:66: note: (near initialization for 'oplist[13].callop') cpu6800.c:266:25: note: (near initialization for 'm6800[94].ptr') 266 | mnemo ("subb", standard, 0xc0) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:65:13: note: 'opbitaddr' declared here 65 | extern void opbitaddr(struct result *presult, struct result *parg); | ^~~~~~~~~ cpu6800.c:267:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 267 | mnemo ("cmpb", standard, 0xc1) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:87:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 87 | { "}_?_{_?" ,2 ,1 /* directbit */ ,opbit,}, | ^~~~~ parse.c:87:66: note: (near initialization for 'oplist[14].callop') cpu6800.c:267:25: note: (near initialization for 'm6800[95].ptr') 267 | mnemo ("cmpb", standard, 0xc1) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:57:13: note: 'opbit' declared here 57 | extern void opbit(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:268:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 268 | mnemo ("sbcb", standard, 0xc2) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:91:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 91 | { "" ,-3,1 /* label */ ,cstlabel,}, | ^~~~~~~~ cpu6800.c:268:25: note: (near initialization for 'm6800[96].ptr') 268 | mnemo ("sbcb", standard, 0xc2) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:91:66: note: (near initialization for 'oplist[16].callop') cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:62:13: note: 'cstlabel' declared here 62 | extern void cstlabel(struct result *presult, char *s); | ^~~~~~~~ cpu6800.c:269:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 269 | mnemo ("andb", standard, 0xc4) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:94:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 94 | { "$?" ,-2,1 /* hexadecimal */ ,csthexa,}, | ^~~~~~~ cpu6800.c:269:25: note: (near initialization for 'm6800[97].ptr') 269 | mnemo ("andb", standard, 0xc4) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:94:66: note: (near initialization for 'oplist[17].callop') cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:58:13: note: 'csthexa' declared here 58 | extern void csthexa(struct result *presult, char *s); | ^~~~~~~ cpu6800.c:270:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 270 | mnemo ("bitb", standard, 0xc5) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:95:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 95 | { "?H" ,-2,1 /* Intel hexa */ ,csthexa,}, | ^~~~~~~ cpu6800.c:270:25: note: (near initialization for 'm6800[98].ptr') 270 | mnemo ("bitb", standard, 0xc5) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:95:66: note: (near initialization for 'oplist[18].callop') cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:58:13: note: 'csthexa' declared here 58 | extern void csthexa(struct result *presult, char *s); | ^~~~~~~ cpu6800.c:271:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 271 | mnemo ("ldab", standard, 0xc6) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:96:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 96 | { "0X?" ,-2,1 /* C hexa */ ,csthexa,}, | ^~~~~~~ parse.c:96:66: note: (near initialization for 'oplist[19].callop') cpu6800.c:271:25: note: (near initialization for 'm6800[99].ptr') 271 | mnemo ("ldab", standard, 0xc6) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:58:13: note: 'csthexa' declared here 58 | extern void csthexa(struct result *presult, char *s); | ^~~~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:97:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 97 | { "%?" ,-2,1 /* binaire */ ,cstbinary,}, | ^~~~~~~~~ parse.c:97:66: note: (near initialization for 'oplist[20].callop') cpu6800.c:272:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 272 | mnemo ("stab", standard2, 0xc7) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:60:13: note: 'cstbinary' declared here 60 | extern void cstbinary(struct result *presult, char *s); | ^~~~~~~~~ cpu6800.c:272:25: note: (near initialization for 'm6800[100].ptr') 272 | mnemo ("stab", standard2, 0xc7) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:98:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 98 | { "?B" ,-2,1 /* Intel binaire*/ ,cstbinary,}, | ^~~~~~~~~ parse.c:98:66: note: (near initialization for 'oplist[21].callop') cpu6800.c:273:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 273 | mnemo ("eorb", standard, 0xc8) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:60:13: note: 'cstbinary' declared here 60 | extern void cstbinary(struct result *presult, char *s); | ^~~~~~~~~ cpu6800.c:273:25: note: (near initialization for 'm6800[101].ptr') 273 | mnemo ("eorb", standard, 0xc8) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:99:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 99 | { "0B?" ,-2,1 /* C binaire */ ,cstbinary,}, | ^~~~~~~~~ parse.c:99:66: note: (near initialization for 'oplist[22].callop') parse.c:60:13: note: 'cstbinary' declared here 60 | extern void cstbinary(struct result *presult, char *s); | ^~~~~~~~~ cpu6800.c:274:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 274 | mnemo ("adcb", standard, 0xc9) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ pseudos.c: In function 'Xcpu': cpu6800.c:274:25: note: (near initialization for 'm6800[102].ptr') 274 | mnemo ("adcb", standard, 0xc9) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:100:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 100 | { "?Q" ,-2,1 /* Intel octal */ ,cstoctal,}, | ^~~~~~~~ parse.c:100:66: note: (near initialization for 'oplist[23].callop') parse.c:63:13: note: 'cstoctal' declared here 63 | extern void cstoctal(struct result *presult, char *s); | ^~~~~~~~ cpu6800.c:275:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 275 | mnemo ("orab", standard, 0xca) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ pseudos.c:376:10: error: too many arguments to function 'q->init'; expected 0, have 1 376 | (*q->init)(q->code); | ~^~~~~~~~~ ~~~~~~~ cpu6800.c:275:25: note: (near initialization for 'm6800[103].ptr') 275 | mnemo ("orab", standard, 0xca) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ In file included from pseudos.c:28: cpu.h:51:26: note: declared here 51 | void (*init)(); }; | ^~~~ cpu6800.c:276:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 276 | mnemo ("addb", standard, 0xcb) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:276:25: note: (near initialization for 'm6800[104].ptr') 276 | mnemo ("addb", standard, 0xcb) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:277:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 277 | mnemo ("ldx", standard, 0xce) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:277:25: note: (near initialization for 'm6800[105].ptr') 277 | mnemo ("ldx", standard, 0xce) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:278:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 278 | mnemo ("stx", standard2, 0xcf) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:278:25: note: (near initialization for 'm6800[106].ptr') 278 | mnemo ("stx", standard2, 0xcf) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c: In function 'parse2': cpu6800.c:285:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 285 | mnemo ("lsrd", single, 0x04) /* 6801 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:285:25: note: (near initialization for 'm6801[0].ptr') 285 | mnemo ("lsrd", single, 0x04) /* 6801 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:137:30: error: too many arguments to function '(q + (sizetype)((long unsigned int)j * 24))->callop'; expected 0, have 2 137 | (q[j].callop)(presult,&arg); | ~~~~~^~~~~~~~ ~~~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:70:16: note: declared here 70 | void (*callop)(); /* (*callop)(&result,&arg ) */ | ^~~~~~ cpu6800.c:286:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 286 | mnemo ("asld", single, 0x05) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:286:25: note: (near initialization for 'm6801[1].ptr') 286 | mnemo ("asld", single, 0x05) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:143:26: error: too many arguments to function 'q->callop'; expected 0, have 1 143 | (*q->callop)(presult); | ~^~~~~~~~~~~ ~~~~~~~ cpu6800.c:287:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 287 | mnemo ("brn", branch, 0x21) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:70:16: note: declared here 70 | void (*callop)(); /* (*callop)(&result,&arg ) */ | ^~~~~~ cpu6800.c:287:25: note: (near initialization for 'm6801[2].ptr') 287 | mnemo ("brn", branch, 0x21) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:288:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 288 | mnemo ("pulx", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:288:25: note: (near initialization for 'm6801[3].ptr') 288 | mnemo ("pulx", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:153:26: error: too many arguments to function 'q->callop'; expected 0, have 2 153 | (*q->callop)(presult,ca); | ~^~~~~~~~~~~ ~~~~~~~ parse.c:70:16: note: declared here 70 | void (*callop)(); /* (*callop)(&result,&arg ) */ | ^~~~~~ cpu6800.c:289:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 289 | mnemo ("abx", single, 0x3a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:289:25: note: (near initialization for 'm6801[4].ptr') 289 | mnemo ("abx", single, 0x3a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:290:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 290 | mnemo ("pshx", single, 0x3c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:290:25: note: (near initialization for 'm6801[5].ptr') 290 | mnemo ("pshx", single, 0x3c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:291:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 291 | mnemo ("mul", single, 0x3d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:291:25: note: (near initialization for 'm6801[6].ptr') 291 | mnemo ("mul", single, 0x3d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:177:17: error: too many arguments to function 'error'; expected 0, have 1 177 | error ( "syntax error in an expression" ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:32:13: note: declared here 32 | extern void error(); | ^~~~~ cpu6800.c:293:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 293 | mnemo ("subd", standard, 0x83) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:293:25: note: (near initialization for 'm6801[7].ptr') 293 | mnemo ("subd", standard, 0x83) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:294:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 294 | mnemo ("addd", standard, 0xc3) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:294:25: note: (near initialization for 'm6801[8].ptr') 294 | mnemo ("addd", standard, 0xc3) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:295:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 295 | mnemo ("ldd", standard, 0xcc) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:295:25: note: (near initialization for 'm6801[9].ptr') 295 | mnemo ("ldd", standard, 0xcc) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:296:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 296 | mnemo ("std", standard2, 0xcd) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:296:25: note: (near initialization for 'm6801[10].ptr') 296 | mnemo ("std", standard2, 0xcd) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ In file included from cpu6502.c:24: cpu6502.c:221:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 221 | mnemo ("bpl", branch, 0x10) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:221:25: note: (near initialization for 'm6502[0].ptr') 221 | mnemo ("bpl", branch, 0x10) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:222:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 222 | mnemo ("bmi", branch, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:222:25: note: (near initialization for 'm6502[1].ptr') 222 | mnemo ("bmi", branch, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:223:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 223 | mnemo ("bvc", branch, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:223:25: note: (near initialization for 'm6502[2].ptr') 223 | mnemo ("bvc", branch, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:224:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 224 | mnemo ("bvs", branch, 0x70) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:224:25: note: (near initialization for 'm6502[3].ptr') 224 | mnemo ("bvs", branch, 0x70) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:225:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 225 | mnemo ("bcc", branch, 0x90) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:225:25: note: (near initialization for 'm6502[4].ptr') 225 | mnemo ("bcc", branch, 0x90) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:226:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 226 | mnemo ("bcs", branch, 0xb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:226:25: note: (near initialization for 'm6502[5].ptr') 226 | mnemo ("bcs", branch, 0xb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:227:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 227 | mnemo ("bne", branch, 0xd0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:227:25: note: (near initialization for 'm6502[6].ptr') 227 | mnemo ("bne", branch, 0xd0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:228:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 228 | mnemo ("beq", branch, 0xf0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:228:25: note: (near initialization for 'm6502[7].ptr') 228 | mnemo ("beq", branch, 0xf0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:230:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 230 | mnemo ("bhi", branch, 0xb0) /* A>=M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:230:25: note: (near initialization for 'm6502[8].ptr') 230 | mnemo ("bhi", branch, 0xb0) /* A>=M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:231:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 231 | mnemo ("blo", branch, 0x90) /* A< M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:231:25: note: (near initialization for 'm6502[9].ptr') 231 | mnemo ("blo", branch, 0x90) /* A< M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:232:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 232 | mnemo ("bgt", branch, 0x10) /* A>=M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:232:25: note: (near initialization for 'm6502[10].ptr') 232 | mnemo ("bgt", branch, 0x10) /* A>=M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:233:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 233 | mnemo ("ble", branch, 0x30) /* A< M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:233:25: note: (near initialization for 'm6502[11].ptr') 233 | mnemo ("ble", branch, 0x30) /* A< M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:235:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 235 | mnemo ("nop", single, 0xea) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:235:25: note: (near initialization for 'm6502[12].ptr') 235 | mnemo ("nop", single, 0xea) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:236:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 236 | mnemo ("brk", single, 0x00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:236:25: note: (near initialization for 'm6502[13].ptr') 236 | mnemo ("brk", single, 0x00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:237:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 237 | mnemo ("rti", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:237:25: note: (near initialization for 'm6502[14].ptr') 237 | mnemo ("rti", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:238:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 238 | mnemo ("rts", single, 0x60) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:238:25: note: (near initialization for 'm6502[15].ptr') 238 | mnemo ("rts", single, 0x60) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:239:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 239 | mnemo ("pha", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:239:25: note: (near initialization for 'm6502[16].ptr') 239 | mnemo ("pha", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:240:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 240 | mnemo ("pla", single, 0x68) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:240:25: note: (near initialization for 'm6502[17].ptr') 240 | mnemo ("pla", single, 0x68) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:241:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 241 | mnemo ("php", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:241:25: note: (near initialization for 'm6502[18].ptr') 241 | mnemo ("php", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ In file included from cpuz80.c:24: cpuz80.c:613:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 613 | mnemo ("ccf", simple, 0x3f ) /* instructions without oper */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:613:25: note: (near initialization for 'mz80[17].ptr') 613 | mnemo ("ccf", simple, 0x3f ) /* instructions without oper */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:242:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 242 | mnemo ("plp", single, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:242:25: note: (near initialization for 'm6502[19].ptr') 242 | mnemo ("plp", single, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:614:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 614 | mnemo ("cpd", simple, 0xeda9) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:614:25: note: (near initialization for 'mz80[18].ptr') 614 | mnemo ("cpd", simple, 0xeda9) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:243:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 243 | mnemo ("dex", single, 0xca) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:243:25: note: (near initialization for 'm6502[20].ptr') 243 | mnemo ("dex", single, 0xca) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:615:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 615 | mnemo ("cpdr", simple, 0xed89) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:615:25: note: (near initialization for 'mz80[19].ptr') 615 | mnemo ("cpdr", simple, 0xed89) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:244:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 244 | mnemo ("dey", single, 0x88) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:244:25: note: (near initialization for 'm6502[21].ptr') 244 | mnemo ("dey", single, 0x88) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:616:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 616 | mnemo ("cpi", simple, 0xeda1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:616:25: note: (near initialization for 'mz80[20].ptr') 616 | mnemo ("cpi", simple, 0xeda1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:245:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 245 | mnemo ("inx", single, 0xe8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:245:25: note: (near initialization for 'm6502[22].ptr') 245 | mnemo ("inx", single, 0xe8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:617:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 617 | mnemo ("cpir", simple, 0xedb1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:617:25: note: (near initialization for 'mz80[21].ptr') 617 | mnemo ("cpir", simple, 0xedb1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:246:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 246 | mnemo ("iny", single, 0xc8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:246:25: note: (near initialization for 'm6502[23].ptr') 246 | mnemo ("iny", single, 0xc8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:618:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 618 | mnemo ("cpl", simple, 0x2f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:247:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 247 | mnemo ("tsx", single, 0xba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:618:25: note: (near initialization for 'mz80[22].ptr') 618 | mnemo ("cpl", simple, 0x2f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:247:25: note: (near initialization for 'm6502[24].ptr') 247 | mnemo ("tsx", single, 0xba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:248:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 248 | mnemo ("txs", single, 0x9a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:248:25: note: (near initialization for 'm6502[25].ptr') 248 | mnemo ("txs", single, 0x9a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:249:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 249 | mnemo ("tax", single, 0xaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:249:25: note: (near initialization for 'm6502[26].ptr') 249 | mnemo ("tax", single, 0xaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:250:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 250 | mnemo ("txa", single, 0x8a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:619:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 619 | mnemo ("daa", simple, 0x27 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:250:25: note: (near initialization for 'm6502[27].ptr') 250 | mnemo ("txa", single, 0x8a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:619:25: note: (near initialization for 'mz80[23].ptr') 619 | mnemo ("daa", simple, 0x27 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:251:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 251 | mnemo ("tay", single, 0xa8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:251:25: note: (near initialization for 'm6502[28].ptr') 251 | mnemo ("tay", single, 0xa8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:252:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 252 | mnemo ("tya", single, 0x98) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:252:25: note: (near initialization for 'm6502[29].ptr') 252 | mnemo ("tya", single, 0x98) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:253:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 253 | mnemo ("clc", single, 0x18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:253:25: note: (near initialization for 'm6502[30].ptr') 253 | mnemo ("clc", single, 0x18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:620:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 620 | mnemo ("exx", simple, 0xd9 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:254:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 254 | mnemo ("clv", single, 0xb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:254:25: note: (near initialization for 'm6502[31].ptr') 254 | mnemo ("clv", single, 0xb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:620:25: note: (near initialization for 'mz80[24].ptr') 620 | mnemo ("exx", simple, 0xd9 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:255:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 255 | mnemo ("cli", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:255:25: note: (near initialization for 'm6502[32].ptr') 255 | mnemo ("cli", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:256:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 256 | mnemo ("cld", single, 0xd8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:256:25: note: (near initialization for 'm6502[33].ptr') 256 | mnemo ("cld", single, 0xd8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:257:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 257 | mnemo ("sec", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:257:25: note: (near initialization for 'm6502[34].ptr') 257 | mnemo ("sec", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:621:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 621 | mnemo ("halt", simple, 0x76 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:258:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 258 | mnemo ("sei", single, 0x78) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:621:25: note: (near initialization for 'mz80[25].ptr') 621 | mnemo ("halt", simple, 0x76 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:258:25: note: (near initialization for 'm6502[35].ptr') 258 | mnemo ("sei", single, 0x78) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:259:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 259 | mnemo ("sed", single, 0xf8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:259:25: note: (near initialization for 'm6502[36].ptr') 259 | mnemo ("sed", single, 0xf8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:261:1: note: in expansion of macro 'mnemo2' 261 | mnemo2 ("ora", 0,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[37].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:261:1: note: in expansion of macro 'mnemo2' 261 | mnemo2 ("ora", 0,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:622:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 622 | mnemo ("ind", simple, 0xedaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:262:1: note: in expansion of macro 'mnemo2' 262 | mnemo2 ("and", 0,0x20 ,0 ) | ^~~~~~ cpuz80.c:622:25: note: (near initialization for 'mz80[26].ptr') 622 | mnemo ("ind", simple, 0xedaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[38].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:262:1: note: in expansion of macro 'mnemo2' 262 | mnemo2 ("and", 0,0x20 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:263:1: note: in expansion of macro 'mnemo2' 263 | mnemo2 ("eor", 0,0x40 ,0 ) | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[39].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:263:1: note: in expansion of macro 'mnemo2' 263 | mnemo2 ("eor", 0,0x40 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:264:1: note: in expansion of macro 'mnemo2' 264 | mnemo2 ("adc", 0,0x60 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[40].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:264:1: note: in expansion of macro 'mnemo2' 264 | mnemo2 ("adc", 0,0x60 ,0 ) | ^~~~~~ cpuz80.c:623:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 623 | mnemo ("indr", simple, 0xedba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:623:25: note: (near initialization for 'mz80[27].ptr') 623 | mnemo ("indr", simple, 0xedba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:265:1: note: in expansion of macro 'mnemo2' 265 | mnemo2 ("sta", 0,0x80 ,F_noimm ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[41].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:265:1: note: in expansion of macro 'mnemo2' 265 | mnemo2 ("sta", 0,0x80 ,F_noimm ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:266:1: note: in expansion of macro 'mnemo2' 266 | mnemo2 ("lda", 0,0xa0 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[42].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:266:1: note: in expansion of macro 'mnemo2' 266 | mnemo2 ("lda", 0,0xa0 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:267:1: note: in expansion of macro 'mnemo2' 267 | mnemo2 ("cmp", 0,0xc0 ,0 ) | ^~~~~~ cpuz80.c:624:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 624 | mnemo ("ini", simple, 0xeda2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[43].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:267:1: note: in expansion of macro 'mnemo2' 267 | mnemo2 ("cmp", 0,0xc0 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:624:25: note: (near initialization for 'mz80[28].ptr') 624 | mnemo ("ini", simple, 0xeda2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:268:1: note: in expansion of macro 'mnemo2' 268 | mnemo2 ("sbc", 0,0xe0 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[44].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:268:1: note: in expansion of macro 'mnemo2' 268 | mnemo2 ("sbc", 0,0xe0 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:270:1: note: in expansion of macro 'mnemo2' 270 | mnemo2 ("asl", 1,0x00 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[45].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:270:1: note: in expansion of macro 'mnemo2' 270 | mnemo2 ("asl", 1,0x00 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:625:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 625 | mnemo ("inir", simple, 0xedb2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:625:25: note: (near initialization for 'mz80[29].ptr') 625 | mnemo ("inir", simple, 0xedb2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:271:1: note: in expansion of macro 'mnemo2' 271 | mnemo2 ("rol", 1,0x20 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[46].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:271:1: note: in expansion of macro 'mnemo2' 271 | mnemo2 ("rol", 1,0x20 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:272:1: note: in expansion of macro 'mnemo2' 272 | mnemo2 ("lsr", 1,0x40 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[47].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:272:1: note: in expansion of macro 'mnemo2' 272 | mnemo2 ("lsr", 1,0x40 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:273:1: note: in expansion of macro 'mnemo2' 273 | mnemo2 ("ror", 1,0x60 ,F_noimm|F_noindy ) | ^~~~~~ cpuz80.c:626:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 626 | mnemo ("di", simple, 0xf3 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[48].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:273:1: note: in expansion of macro 'mnemo2' 273 | mnemo2 ("ror", 1,0x60 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:626:25: note: (near initialization for 'mz80[30].ptr') 626 | mnemo ("di", simple, 0xf3 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:275:1: note: in expansion of macro 'mnemo2' 275 | mnemo2 ("ldx", 1,0xa0 ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[49].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:275:1: note: in expansion of macro 'mnemo2' 275 | mnemo2 ("ldx", 1,0xa0 ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:276:1: note: in expansion of macro 'mnemo2' 276 | mnemo2 ("ldy", 1,0x9e ,F_noacc|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[50].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:276:1: note: in expansion of macro 'mnemo2' 276 | mnemo2 ("ldy", 1,0x9e ,F_noacc|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:627:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 627 | mnemo ("ei", simple, 0xfb ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:277:1: note: in expansion of macro 'mnemo2' 277 | mnemo2 ("cpx", 1,0xde ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[51].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:277:1: note: in expansion of macro 'mnemo2' 277 | mnemo2 ("cpx", 1,0xde ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpuz80.c:627:25: note: (near initialization for 'mz80[31].ptr') 627 | mnemo ("ei", simple, 0xfb ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:278:1: note: in expansion of macro 'mnemo2' 278 | mnemo2 ("cpy", 1,0xbe ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[52].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:278:1: note: in expansion of macro 'mnemo2' 278 | mnemo2 ("cpy", 1,0xbe ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:280:1: note: in expansion of macro 'mnemo2' 280 | mnemo2 ("stx", 2,0x80 ,F_noindx ) | ^~~~~~ cpuz80.c:628:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 628 | mnemo ("ldd", simple, 0xeda8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:628:25: note: (near initialization for 'mz80[32].ptr') 628 | mnemo ("ldd", simple, 0xeda8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[53].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:280:1: note: in expansion of macro 'mnemo2' 280 | mnemo2 ("stx", 2,0x80 ,F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:281:1: note: in expansion of macro 'mnemo2' 281 | mnemo2 ("sty", 2,0x7e ,F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[54].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:281:1: note: in expansion of macro 'mnemo2' 281 | mnemo2 ("sty", 2,0x7e ,F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:629:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 629 | mnemo ("lddr", simple, 0xedb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:629:25: note: (near initialization for 'mz80[33].ptr') 629 | mnemo ("lddr", simple, 0xedb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:283:1: note: in expansion of macro 'mnemo2' 283 | mnemo2 ("inc", 3,0xe0 ,F_noimm ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[55].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:283:1: note: in expansion of macro 'mnemo2' 283 | mnemo2 ("inc", 3,0xe0 ,F_noimm ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:284:1: note: in expansion of macro 'mnemo2' 284 | mnemo2 ("bit", 3,0x1e ,F_noacc ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[56].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:284:1: note: in expansion of macro 'mnemo2' 284 | mnemo2 ("bit", 3,0x1e ,F_noacc ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:630:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 630 | mnemo ("ldi", simple, 0xeda0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:630:25: note: (near initialization for 'mz80[34].ptr') 630 | mnemo ("ldi", simple, 0xeda0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:285:1: note: in expansion of macro 'mnemo2' 285 | mnemo2 ("dec", 4,0xc0 ,F_noimm ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[57].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:285:1: note: in expansion of macro 'mnemo2' 285 | mnemo2 ("dec", 4,0xc0 ,F_noimm ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:287:1: note: in expansion of macro 'mnemo2' 287 | mnemo2 ("jmp", 5,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[58].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:287:1: note: in expansion of macro 'mnemo2' 287 | mnemo2 ("jmp", 5,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:631:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 631 | mnemo ("ldir", simple, 0xedb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:631:25: note: (near initialization for 'mz80[35].ptr') 631 | mnemo ("ldir", simple, 0xedb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:288:1: note: in expansion of macro 'mnemo2' 288 | mnemo2 ("jsr", 6,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[59].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:288:1: note: in expansion of macro 'mnemo2' 288 | mnemo2 ("jsr", 6,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:632:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 632 | mnemo ("neg", simple, 0xed44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:302:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 302 | mnemo ("phx", single, 0xda) /* 65c02 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:302:25: note: (near initialization for 'm65c02[0].ptr') 302 | mnemo ("phx", single, 0xda) /* 65c02 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:632:25: note: (near initialization for 'mz80[36].ptr') 632 | mnemo ("neg", simple, 0xed44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:303:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 303 | mnemo ("plx", single, 0xfa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:303:25: note: (near initialization for 'm65c02[1].ptr') 303 | mnemo ("plx", single, 0xfa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:304:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 304 | mnemo ("phy", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:304:25: note: (near initialization for 'm65c02[2].ptr') 304 | mnemo ("phy", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:305:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 305 | mnemo ("ply", single, 0x7a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:305:25: note: (near initialization for 'm65c02[3].ptr') 305 | mnemo ("ply", single, 0x7a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:633:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 633 | mnemo ("nop", simple, 0x00 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:633:25: note: (near initialization for 'mz80[37].ptr') 633 | mnemo ("nop", simple, 0x00 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:307:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 307 | mnemo ("bra", branch, 0x80) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:307:25: note: (near initialization for 'm65c02[4].ptr') 307 | mnemo ("bra", branch, 0x80) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:309:1: note: in expansion of macro 'mnemo2' 309 | mnemo2 ("stz", 7,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm65c02[5].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:309:1: note: in expansion of macro 'mnemo2' 309 | mnemo2 ("stz", 7,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:634:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 634 | mnemo ("otdr", simple, 0xedbb) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:634:25: note: (near initialization for 'mz80[38].ptr') 634 | mnemo ("otdr", simple, 0xedbb) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:310:1: note: in expansion of macro 'mnemo2' 310 | mnemo2 ("tsb", 4,0xfe ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm65c02[6].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:310:1: note: in expansion of macro 'mnemo2' 310 | mnemo2 ("tsb", 4,0xfe ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:311:1: note: in expansion of macro 'mnemo2' 311 | mnemo2 ("trb", 4,0x0e ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm65c02[7].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:311:1: note: in expansion of macro 'mnemo2' 311 | mnemo2 ("trb", 4,0x0e ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:635:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 635 | mnemo ("otir", simple, 0xedb3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:635:25: note: (near initialization for 'mz80[39].ptr') 635 | mnemo ("otir", simple, 0xedb3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:636:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 636 | mnemo ("outd", simple, 0xedab) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:636:25: note: (near initialization for 'mz80[40].ptr') 636 | mnemo ("outd", simple, 0xedab) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:637:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 637 | mnemo ("outi", simple, 0xeda3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:637:25: note: (near initialization for 'mz80[41].ptr') 637 | mnemo ("outi", simple, 0xeda3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:638:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 638 | mnemo ("reti", simple, 0xed4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:638:25: note: (near initialization for 'mz80[42].ptr') 638 | mnemo ("reti", simple, 0xed4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:639:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 639 | mnemo ("retn", simple, 0xed45) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:639:25: note: (near initialization for 'mz80[43].ptr') 639 | mnemo ("retn", simple, 0xed45) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:640:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 640 | mnemo ("rla", simple, 0x17 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:640:25: note: (near initialization for 'mz80[44].ptr') 640 | mnemo ("rla", simple, 0x17 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:641:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 641 | mnemo ("rlca", simple, 0x07 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:641:25: note: (near initialization for 'mz80[45].ptr') 641 | mnemo ("rlca", simple, 0x07 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:642:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 642 | mnemo ("rld", simple, 0xed6f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:642:25: note: (near initialization for 'mz80[46].ptr') 642 | mnemo ("rld", simple, 0xed6f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:643:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 643 | mnemo ("rra", simple, 0x1f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:643:25: note: (near initialization for 'mz80[47].ptr') 643 | mnemo ("rra", simple, 0x1f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:644:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 644 | mnemo ("rrca", simple, 0x0f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:644:25: note: (near initialization for 'mz80[48].ptr') 644 | mnemo ("rrca", simple, 0x0f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:645:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 645 | mnemo ("rrd", simple, 0xed67) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:645:25: note: (near initialization for 'mz80[49].ptr') 645 | mnemo ("rrd", simple, 0xed67) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:646:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 646 | mnemo ("scf", simple, 0x37 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:646:25: note: (near initialization for 'mz80[50].ptr') 646 | mnemo ("scf", simple, 0x37 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:648:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 648 | mnemo ("im", im, 0 ) /* Specials */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:648:25: note: (near initialization for 'mz80[51].ptr') 648 | mnemo ("im", im, 0 ) /* Specials */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:198:1: note: 'im' declared here 198 | im(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:649:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 649 | mnemo ("rst", rst, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:649:25: note: (near initialization for 'mz80[52].ptr') 649 | mnemo ("rst", rst, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:215:1: note: 'rst' declared here 215 | rst(int code, char *label, char *mnemo, char *oper) | ^~~ cpuz80.c:650:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 650 | mnemo ("djnz", relbranch, 0x10 ) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:650:25: note: (near initialization for 'mz80[53].ptr') 650 | mnemo ("djnz", relbranch, 0x10 ) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:160:1: note: 'relbranch' declared here 160 | relbranch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~~~~ cpuz80.c:651:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 651 | mnemo ("jr", jr, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:651:25: note: (near initialization for 'mz80[54].ptr') 651 | mnemo ("jr", jr, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:249:1: note: 'jr' declared here 249 | jr(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:652:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 652 | mnemo ("jp", jp, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:652:25: note: (near initialization for 'mz80[55].ptr') 652 | mnemo ("jp", jp, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:294:1: note: 'jp' declared here 294 | jp(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:653:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 653 | mnemo ("call", call, 0 ) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:653:25: note: (near initialization for 'mz80[56].ptr') 653 | mnemo ("call", call, 0 ) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:276:1: note: 'call' declared here 276 | call(int code, char *label, char *mnemo, char *oper) | ^~~~ cpuz80.c:654:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 654 | mnemo ("ret" , ret, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:654:25: note: (near initialization for 'mz80[57].ptr') 654 | mnemo ("ret" , ret, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:257:1: note: 'ret' declared here 257 | ret(int code, char *label, char *mnemo, char *oper) | ^~~ cpuz80.c:655:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 655 | mnemo ("ex", ex, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:655:25: note: (near initialization for 'mz80[58].ptr') 655 | mnemo ("ex", ex, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:323:1: note: 'ex' declared here 323 | ex(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:656:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 656 | mnemo ("in", inout, 0xdb ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:656:25: note: (near initialization for 'mz80[59].ptr') 656 | mnemo ("in", inout, 0xdb ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:353:1: note: 'inout' declared here 353 | inout(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:657:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 657 | mnemo ("out", inout, 0xd3 ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:657:25: note: (near initialization for 'mz80[60].ptr') 657 | mnemo ("out", inout, 0xd3 ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:353:1: note: 'inout' declared here 353 | inout(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:660:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 660 | mnemo ("bit", bitop, 0xcb40) /* Quasi regulars */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:660:25: note: (near initialization for 'mz80[61].ptr') 660 | mnemo ("bit", bitop, 0xcb40) /* Quasi regulars */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:389:1: note: 'bitop' declared here 389 | bitop(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:661:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 661 | mnemo ("set", bitop, 0xcbc0) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:661:25: note: (near initialization for 'mz80[62].ptr') 661 | mnemo ("set", bitop, 0xcbc0) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:389:1: note: 'bitop' declared here 389 | bitop(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:662:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 662 | mnemo ("res", bitop, 0xcb80) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:662:25: note: (near initialization for 'mz80[63].ptr') 662 | mnemo ("res", bitop, 0xcb80) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:389:1: note: 'bitop' declared here 389 | bitop(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:664:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 664 | mnemo ("sla", onreg8, 0xcb20) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:664:25: note: (near initialization for 'mz80[64].ptr') 664 | mnemo ("sla", onreg8, 0xcb20) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:665:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 665 | mnemo ("sra", onreg8, 0xcb28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:665:25: note: (near initialization for 'mz80[65].ptr') 665 | mnemo ("sra", onreg8, 0xcb28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:666:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 666 | mnemo ("srl", onreg8, 0xcb38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:666:25: note: (near initialization for 'mz80[66].ptr') 666 | mnemo ("srl", onreg8, 0xcb38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:667:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 667 | mnemo ("rl", onreg8, 0xcb10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:667:25: note: (near initialization for 'mz80[67].ptr') 667 | mnemo ("rl", onreg8, 0xcb10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:668:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 668 | mnemo ("rr", onreg8, 0xcb18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:668:25: note: (near initialization for 'mz80[68].ptr') 668 | mnemo ("rr", onreg8, 0xcb18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:669:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 669 | mnemo ("rlc", onreg8, 0xcb00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:669:25: note: (near initialization for 'mz80[69].ptr') 669 | mnemo ("rlc", onreg8, 0xcb00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:670:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 670 | mnemo ("rrc", onreg8, 0xcb08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:670:25: note: (near initialization for 'mz80[70].ptr') 670 | mnemo ("rrc", onreg8, 0xcb08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:672:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 672 | mnemo ("or", logical, 0xb0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:672:25: note: (near initialization for 'mz80[71].ptr') 672 | mnemo ("or", logical, 0xb0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:673:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 673 | mnemo ("and", logical, 0xa0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:673:25: note: (near initialization for 'mz80[72].ptr') 673 | mnemo ("and", logical, 0xa0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:674:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 674 | mnemo ("xor", logical, 0xa8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:674:25: note: (near initialization for 'mz80[73].ptr') 674 | mnemo ("xor", logical, 0xa8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:675:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 675 | mnemo ("sub", logical, 0x90 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:675:25: note: (near initialization for 'mz80[74].ptr') 675 | mnemo ("sub", logical, 0x90 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:676:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 676 | mnemo ("cp", logical, 0xb8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:676:25: note: (near initialization for 'mz80[75].ptr') 676 | mnemo ("cp", logical, 0xb8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:678:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 678 | mnemo ("push", stackop, 0xc5-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:678:25: note: (near initialization for 'mz80[76].ptr') 678 | mnemo ("push", stackop, 0xc5-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:446:1: note: 'stackop' declared here 446 | stackop(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:679:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 679 | mnemo ("pop", stackop, 0xc1-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:679:25: note: (near initialization for 'mz80[77].ptr') 679 | mnemo ("pop", stackop, 0xc1-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:446:1: note: 'stackop' declared here 446 | stackop(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:681:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 681 | mnemo ("adc", arith, 0x88) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:681:25: note: (near initialization for 'mz80[78].ptr') 681 | mnemo ("adc", arith, 0x88) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:462:1: note: 'arith' declared here 462 | arith(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:682:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 682 | mnemo ("sbc", arith, 0x98) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:682:25: note: (near initialization for 'mz80[79].ptr') 682 | mnemo ("sbc", arith, 0x98) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:462:1: note: 'arith' declared here 462 | arith(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:683:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 683 | mnemo ("add", arith, 0x80) /* index ok */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:683:25: note: (near initialization for 'mz80[80].ptr') 683 | mnemo ("add", arith, 0x80) /* index ok */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:462:1: note: 'arith' declared here 462 | arith(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:685:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 685 | mnemo ("inc", incr, 0x0403) /* (*8) */ | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:685:25: note: (near initialization for 'mz80[81].ptr') 685 | mnemo ("inc", incr, 0x0403) /* (*8) */ | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:495:1: note: 'incr' declared here 495 | incr(int code, char *label, char *mnemo, char *oper) | ^~~~ cpuz80.c:686:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 686 | mnemo ("dec", incr, 0x050b) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:686:25: note: (near initialization for 'mz80[82].ptr') 686 | mnemo ("dec", incr, 0x050b) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:495:1: note: 'incr' declared here 495 | incr(int code, char *label, char *mnemo, char *oper) | ^~~~ cpuz80.c:688:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 688 | mnemo ("ld", ld, 0) /* heavy magic !! */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:688:25: note: (near initialization for 'mz80[83].ptr') 688 | mnemo ("ld", ld, 0) /* heavy magic !! */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:519:1: note: 'ld' declared here 519 | ld(int code, char *label, char *mnemo, char *oper) | ^~ make[2]: *** [: cpulist.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [: parse.o] Error 1 make[2]: *** [: crasm.o] Error 1 make[2]: *** [: stdvocabulary.o] Error 1 make[2]: *** [: cpuz80.o] Error 1 make[2]: *** [: cpu6800.o] Error 1 make[2]: *** [: pseudos.o] Error 1 make[2]: *** [: cpu6502.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/crasm-1.8/src' make[1]: *** [Makefile:9: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/crasm-1.8' dh_auto_build: error: make -j42 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:11: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1687057 and its subdirectories Starting cleanup. All cleanup done. Mon Oct 19 19:30:18 UTC 2026 - reproducible_build.sh stopped running as /tmp/jenkins-script-eUJD7Z5P, removing. /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35: total 16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:07 b1 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:04 b2 -rw-rw-r-- 1 jenkins jenkins 1739 Apr 19 2020 crasm_1.8-3.dsc -rw------- 1 jenkins jenkins 2811 Sep 16 13:04 rbuildlog.ZiZI9zE /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35/b1: total 324 -rw-r--r-- 1 jenkins jenkins 324861 Sep 16 13:07 build.log /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35/b2: total 0 Tue Sep 16 13:07:19 UTC 2025 I: Deleting $TMPDIR on ionos15-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Mon Oct 19 07:27:35 -12 2026 I: pbuilder-time-stamp: 1792438055 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [crasm_1.8-3.dsc] I: copying [./crasm_1.8.orig.tar.gz] I: copying [./crasm_1.8-3.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./crasm_1.8-3.dsc: no acceptable signature found dpkg-source: info: extracting crasm in crasm-1.8 dpkg-source: info: unpacking crasm_1.8.orig.tar.gz dpkg-source: info: unpacking crasm_1.8-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix_GCC10_FTBFS.patch dpkg-source: info: applying remove_SF_logo.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1687057/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='forky' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='d8d7db2d5a064ce6a2bf91c5eed9ba45' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='1687057' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35/pbuilderrc_RMHK --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hqyQlS35/b1 --logfile b1/build.log crasm_1.8-3.dsc' SUDO_GID='111' SUDO_HOME='/var/lib/jenkins' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1687057/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 11) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19917 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 11); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 11.2 MB of archives. After unpacking 42.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian forky/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian forky/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian forky/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian forky/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian forky/main amd64 gettext-base amd64 0.23.1-2+b1 [244 kB] Get: 6 http://deb.debian.org/debian forky/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get: 7 http://deb.debian.org/debian forky/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get: 8 http://deb.debian.org/debian forky/main amd64 bsdextrautils amd64 2.41.1-3 [100 kB] Get: 9 http://deb.debian.org/debian forky/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian forky/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian forky/main amd64 m4 amd64 1.4.20-1 [324 kB] Get: 12 http://deb.debian.org/debian forky/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian forky/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian forky/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian forky/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian forky/main amd64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian forky/main amd64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian forky/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian forky/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian forky/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian forky/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian forky/main amd64 libelf1t64 amd64 0.193-3 [192 kB] Get: 23 http://deb.debian.org/debian forky/main amd64 dwz amd64 0.16-2 [108 kB] Get: 24 http://deb.debian.org/debian forky/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian forky/main amd64 libxml2-16 amd64 2.14.5+dfsg-0.2 [638 kB] Get: 26 http://deb.debian.org/debian forky/main amd64 gettext amd64 0.23.1-2+b1 [1680 kB] Get: 27 http://deb.debian.org/debian forky/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian forky/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian forky/main amd64 debhelper all 13.26 [939 kB] Fetched 11.2 MB in 7s (1586 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19917 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_amd64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_amd64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_amd64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_amd64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.193-3_amd64.deb ... Unpacking libelf1t64:amd64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_amd64.deb ... Unpacking libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_amd64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:amd64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:amd64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/crasm-1.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../crasm_1.8-3_source.changes dpkg-buildpackage: info: source package crasm dpkg-buildpackage: info: source version 1.8-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Laszlo Boszormenyi (GCS) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j42 clean make[1]: Entering directory '/build/reproducible-path/crasm-1.8' ( cd src; make clean ) make[2]: Entering directory '/build/reproducible-path/crasm-1.8/src' rm 2>/dev/null *.o crasm make[2]: [Makefile:19: clean] Error 1 (ignored) make[2]: Leaving directory '/build/reproducible-path/crasm-1.8/src' make[1]: Leaving directory '/build/reproducible-path/crasm-1.8' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/crasm-1.8' ( cd src; make all ) make[2]: Entering directory '/build/reproducible-path/crasm-1.8/src' cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o crasm.o crasm.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o stdvocabulary.o stdvocabulary.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pseudos.o pseudos.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o macro.o macro.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o label.o label.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o parse.o parse.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter.o filter.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o operator.o operator.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o output.o output.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xref.o xref.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scode.o scode.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpulist.o cpulist.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpu6800.o cpu6800.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpu6502.o cpu6502.c cc -O -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cpuz80.o cpuz80.c In file included from cpu6800.c:24: cpu6800.c:166:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 166 | mnemo ("bra", branch, 0x20) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:166:25: note: (near initialization for 'm6800[0].ptr') 166 | mnemo ("bra", branch, 0x20) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:167:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 167 | mnemo ("bsr", branch, 0x8d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:167:25: note: (near initialization for 'm6800[1].ptr') 167 | mnemo ("bsr", branch, 0x8d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:168:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 168 | mnemo ("bhi", branch, 0x22) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:168:25: note: (near initialization for 'm6800[2].ptr') 168 | mnemo ("bhi", branch, 0x22) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:169:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 169 | mnemo ("bls", branch, 0x23) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:169:25: note: (near initialization for 'm6800[3].ptr') 169 | mnemo ("bls", branch, 0x23) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:170:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 170 | mnemo ("bcc", branch, 0x24) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:170:25: note: (near initialization for 'm6800[4].ptr') 170 | mnemo ("bcc", branch, 0x24) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:171:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 171 | mnemo ("bcs", branch, 0x25) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:171:25: note: (near initialization for 'm6800[5].ptr') 171 | mnemo ("bcs", branch, 0x25) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:172:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 172 | mnemo ("bne", branch, 0x26) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:172:25: note: (near initialization for 'm6800[6].ptr') 172 | mnemo ("bne", branch, 0x26) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:173:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 173 | mnemo ("beq", branch, 0x27) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:173:25: note: (near initialization for 'm6800[7].ptr') 173 | mnemo ("beq", branch, 0x27) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:174:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 174 | mnemo ("bvc", branch, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:174:25: note: (near initialization for 'm6800[8].ptr') 174 | mnemo ("bvc", branch, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:175:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 175 | mnemo ("bvs", branch, 0x29) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:175:25: note: (near initialization for 'm6800[9].ptr') 175 | mnemo ("bvs", branch, 0x29) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:176:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 176 | mnemo ("bpl", branch, 0x2a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:176:25: note: (near initialization for 'm6800[10].ptr') 176 | mnemo ("bpl", branch, 0x2a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:177:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 177 | mnemo ("bmi", branch, 0x2b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:177:25: note: (near initialization for 'm6800[11].ptr') 177 | mnemo ("bmi", branch, 0x2b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:178:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 178 | mnemo ("bge", branch, 0x2c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:178:25: note: (near initialization for 'm6800[12].ptr') 178 | mnemo ("bge", branch, 0x2c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:179:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 179 | mnemo ("blt", branch, 0x2d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:179:25: note: (near initialization for 'm6800[13].ptr') 179 | mnemo ("blt", branch, 0x2d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:180:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 180 | mnemo ("bgt", branch, 0x2e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:180:25: note: (near initialization for 'm6800[14].ptr') 180 | mnemo ("bgt", branch, 0x2e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:181:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 181 | mnemo ("ble", branch, 0x2f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:181:25: note: (near initialization for 'm6800[15].ptr') 181 | mnemo ("ble", branch, 0x2f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:183:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 183 | mnemo ("nop", single, 0x01) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:183:25: note: (near initialization for 'm6800[16].ptr') 183 | mnemo ("nop", single, 0x01) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:184:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 184 | mnemo ("rti", single, 0x3b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:184:25: note: (near initialization for 'm6800[17].ptr') 184 | mnemo ("rti", single, 0x3b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:185:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 185 | mnemo ("rts", single, 0x39) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:185:25: note: (near initialization for 'm6800[18].ptr') 185 | mnemo ("rts", single, 0x39) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:186:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 186 | mnemo ("swi", single, 0x3f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:186:25: note: (near initialization for 'm6800[19].ptr') 186 | mnemo ("swi", single, 0x3f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ In file included from cpulist.c:24: cpulist.c:32:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 32 | newcpu("6800" ,init6800,0) /* Motorola 8 bit family father */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:32:18: note: (near initialization for 'cpulist[0].init') 32 | newcpu("6800" ,init6800,0) /* Motorola 8 bit family father */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:26:13: note: 'init6800' declared here 26 | extern void init6800(int code); | ^~~~~~~~ cpu6800.c:187:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 187 | mnemo ("wai", single, 0x3e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:33:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 33 | newcpu("6801" ,init6800,1) /* 6800+rom+I/Os+16bits ALU */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:33:18: note: (near initialization for 'cpulist[1].init') 33 | newcpu("6801" ,init6800,1) /* 6800+rom+I/Os+16bits ALU */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:26:13: note: 'init6800' declared here 26 | extern void init6800(int code); | ^~~~~~~~ cpu6800.c:187:25: note: (near initialization for 'm6800[20].ptr') 187 | mnemo ("wai", single, 0x3e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpulist.c:34:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 34 | newcpu("6803" ,init6800,1) /* ROMless 6801 */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:34:18: note: (near initialization for 'cpulist[2].init') 34 | newcpu("6803" ,init6800,1) /* ROMless 6801 */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:26:13: note: 'init6800' declared here 26 | extern void init6800(int code); | ^~~~~~~~ cpulist.c:35:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 35 | newcpu("6500" ,init6502,0) /* First 6502 procs, without ROR */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:188:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 188 | mnemo ("aba", single, 0x1b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:35:18: note: (near initialization for 'cpulist[3].init') 35 | newcpu("6500" ,init6502,0) /* First 6502 procs, without ROR */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:27:13: note: 'init6502' declared here 27 | extern void init6502(int code); | ^~~~~~~~ cpu6800.c:188:25: note: (near initialization for 'm6800[21].ptr') 188 | mnemo ("aba", single, 0x1b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpulist.c:36:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 36 | newcpu("6502" ,init6502,1) /* Standard 6502 (Apple,Cbm..) */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:36:18: note: (near initialization for 'cpulist[4].init') 36 | newcpu("6502" ,init6502,1) /* Standard 6502 (Apple,Cbm..) */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:27:13: note: 'init6502' declared here 27 | extern void init6502(int code); | ^~~~~~~~ cpu6800.c:189:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 189 | mnemo ("clra", single, 0x4f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:37:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 37 | newcpu("65C02" ,init6502,2) /* CMOS 6502, ext. instr. set */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:189:25: note: (near initialization for 'm6800[22].ptr') 189 | mnemo ("clra", single, 0x4f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:37:18: note: (near initialization for 'cpulist[5].init') 37 | newcpu("65C02" ,init6502,2) /* CMOS 6502, ext. instr. set */ | ^~~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpulist.c:27:13: note: 'init6502' declared here 27 | extern void init6502(int code); | ^~~~~~~~ cpulist.c:38:18: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 38 | newcpu("Z80" ,initz80 ,0) /* 8080 revisited */ | ^~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpu6800.c:190:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 190 | mnemo ("clrb", single, 0x5f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpulist.c:38:18: note: (near initialization for 'cpulist[6].init') 38 | newcpu("Z80" ,initz80 ,0) /* 8080 revisited */ | ^~~~~~~ cpu.h:46:46: note: in definition of macro 'newcpu' 46 | #define newcpu(c,i,a) {c,a,i,}, | ^ cpulist.c:28:13: note: 'initz80' declared here 28 | extern void initz80(int code); | ^~~~~~~ cpu6800.c:190:25: note: (near initialization for 'm6800[23].ptr') 190 | mnemo ("clrb", single, 0x5f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:191:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 191 | mnemo ("cba", single, 0x11) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:191:25: note: (near initialization for 'm6800[24].ptr') 191 | mnemo ("cba", single, 0x11) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:192:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 192 | mnemo ("coma", single, 0x43) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:192:25: note: (near initialization for 'm6800[25].ptr') 192 | mnemo ("coma", single, 0x43) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:193:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 193 | mnemo ("comb", single, 0x53) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:193:25: note: (near initialization for 'm6800[26].ptr') 193 | mnemo ("comb", single, 0x53) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ macro.c: In function 'linegets': cpu6800.c:194:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 194 | mnemo ("nega", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:194:25: note: (near initialization for 'm6800[27].ptr') 194 | mnemo ("nega", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ macro.c:379:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 379 | fgets(buffer,length,source[slevel].filedesc.file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu6800.c:195:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 195 | mnemo ("negb", single, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:195:25: note: (near initialization for 'm6800[28].ptr') 195 | mnemo ("negb", single, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:196:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 196 | mnemo ("daa", single, 0x19) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:196:25: note: (near initialization for 'm6800[29].ptr') 196 | mnemo ("daa", single, 0x19) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:197:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 197 | mnemo ("deca", single, 0x4a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:197:25: note: (near initialization for 'm6800[30].ptr') 197 | mnemo ("deca", single, 0x4a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:198:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 198 | mnemo ("decb", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:198:25: note: (near initialization for 'm6800[31].ptr') 198 | mnemo ("decb", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:199:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 199 | mnemo ("inca", single, 0x4c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:199:25: note: (near initialization for 'm6800[32].ptr') 199 | mnemo ("inca", single, 0x4c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:200:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 200 | mnemo ("incb", single, 0x5c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:200:25: note: (near initialization for 'm6800[33].ptr') 200 | mnemo ("incb", single, 0x5c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:201:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 201 | mnemo ("psha", single, 0x36) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:201:25: note: (near initialization for 'm6800[34].ptr') 201 | mnemo ("psha", single, 0x36) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:202:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 202 | mnemo ("pshb", single, 0x37) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:202:25: note: (near initialization for 'm6800[35].ptr') 202 | mnemo ("pshb", single, 0x37) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:203:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 203 | mnemo ("pula", single, 0x32) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:203:25: note: (near initialization for 'm6800[36].ptr') 203 | mnemo ("pula", single, 0x32) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:35:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 35 | defpseudo( "EQU" ,DEFLABEL , Xequ ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:35:51: note: (near initialization for 'pseudos[0].ptr') 35 | defpseudo( "EQU" ,DEFLABEL , Xequ ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:204:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 204 | mnemo ("pulb", single, 0x33) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:204:25: note: (near initialization for 'm6800[37].ptr') 204 | mnemo ("pulb", single, 0x33) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ In file included from stdvocabulary.c:27: dcl.h:141:13: note: 'Xequ' declared here 141 | extern int Xequ(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:36:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 36 | defpseudo( "ASC" ,0 , Xasc ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:36:51: note: (near initialization for 'pseudos[1].ptr') 36 | defpseudo( "ASC" ,0 , Xasc ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:149:13: note: 'Xasc' declared here 149 | extern int Xasc(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:205:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 205 | mnemo ("rola", single, 0x49) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:37:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 37 | defpseudo( "ALIGN" ,0 , Xalign ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:205:25: note: (near initialization for 'm6800[38].ptr') 205 | mnemo ("rola", single, 0x49) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:37:51: note: (near initialization for 'pseudos[2].ptr') 37 | defpseudo( "ALIGN" ,0 , Xalign ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ dcl.h:145:13: note: 'Xalign' declared here 145 | extern int Xalign(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ stdvocabulary.c:38:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 38 | defpseudo( "CLIST" ,NOLABEL , Xclist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:38:51: note: (near initialization for 'pseudos[3].ptr') 38 | defpseudo( "CLIST" ,NOLABEL , Xclist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:156:13: note: 'Xclist' declared here 156 | extern int Xclist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:206:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 206 | mnemo ("rolb", single, 0x59) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:39:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 39 | defpseudo( "CODE" ,NOLABEL , Xcode ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:206:25: note: (near initialization for 'm6800[39].ptr') 206 | mnemo ("rolb", single, 0x59) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:39:51: note: (near initialization for 'pseudos[4].ptr') 39 | defpseudo( "CODE" ,NOLABEL , Xcode ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ dcl.h:150:13: note: 'Xcode' declared here 150 | extern int Xcode(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ stdvocabulary.c:40:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 40 | defpseudo( "CPU" ,NOLABEL , Xcpu ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:40:51: note: (near initialization for 'pseudos[5].ptr') 40 | defpseudo( "CPU" ,NOLABEL , Xcpu ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:147:13: note: 'Xcpu' declared here 147 | extern int Xcpu(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:207:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 207 | mnemo ("rora", single, 0x46) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:41:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 41 | defspecial("DB" ,0 , Xdc , 1 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ cpu6800.c:207:25: note: (near initialization for 'm6800[40].ptr') 207 | mnemo ("rora", single, 0x46) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:41:51: note: (near initialization for 'pseudos[6].ptr') 41 | defspecial("DB" ,0 , Xdc , 1 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ stdvocabulary.c:42:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 42 | defspecial("DDB" ,0 , Xdc , 2 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ stdvocabulary.c:42:51: note: (near initialization for 'pseudos[7].ptr') 42 | defspecial("DDB" ,0 , Xdc , 2 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:208:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 208 | mnemo ("rorb", single, 0x56) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:43:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 43 | defspecial("DL" ,0 , Xdc , 4 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ cpu6800.c:208:25: note: (near initialization for 'm6800[41].ptr') 208 | mnemo ("rorb", single, 0x56) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:43:51: note: (near initialization for 'pseudos[8].ptr') 43 | defspecial("DL" ,0 , Xdc , 4 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:44:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 44 | defspecial("DW" ,0 , Xdc , 3 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ stdvocabulary.c:44:51: note: (near initialization for 'pseudos[9].ptr') 44 | defspecial("DW" ,0 , Xdc , 3 ) | ^~~ stdvocabulary.c:31:60: note: in definition of macro 'defspecial' 31 | #define defspecial(n,f,c,m) {0,0,n,f|NOREDEF,L_MNEMO,m,c}, | ^ dcl.h:143:13: note: 'Xdc' declared here 143 | extern int Xdc(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:209:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 209 | mnemo ("asla", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:45:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 45 | defpseudo( "DUMMY" ,NOLABEL , Xdummy ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:209:25: note: (near initialization for 'm6800[42].ptr') 209 | mnemo ("asla", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:45:51: note: (near initialization for 'pseudos[10].ptr') 45 | defpseudo( "DUMMY" ,NOLABEL , Xdummy ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:151:13: note: 'Xdummy' declared here 151 | extern int Xdummy(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:46:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 46 | defpseudo( "DS" ,0 , Xds ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:46:51: note: (near initialization for 'pseudos[11].ptr') 46 | defpseudo( "DS" ,0 , Xds ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:144:13: note: 'Xds' declared here 144 | extern int Xds(int modifier, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:210:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 210 | mnemo ("aslb", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:47:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 47 | defpseudo( "ELSE" ,NOLABEL | DEFCOND , Xelse ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:210:25: note: (near initialization for 'm6800[43].ptr') 210 | mnemo ("aslb", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:47:51: note: (near initialization for 'pseudos[12].ptr') 47 | defpseudo( "ELSE" ,NOLABEL | DEFCOND , Xelse ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:137:13: note: 'Xelse' declared here 137 | extern int Xelse(int status, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:48:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 48 | defpseudo( "ENDC" ,NOLABEL | DEFCOND , Xendc ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:48:51: note: (near initialization for 'pseudos[13].ptr') 48 | defpseudo( "ENDC" ,NOLABEL | DEFCOND , Xendc ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:138:13: note: 'Xendc' declared here 138 | extern int Xendc(int status, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:211:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 211 | mnemo ("asra", single, 0x47) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:49:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 49 | defpseudo( "ENDM" ,NOLABEL | DEFMACRO , Xendm ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:211:25: note: (near initialization for 'm6800[44].ptr') 211 | mnemo ("asra", single, 0x47) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:49:51: note: (near initialization for 'pseudos[14].ptr') 49 | defpseudo( "ENDM" ,NOLABEL | DEFMACRO , Xendm ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:135:13: note: 'Xendm' declared here 135 | extern int Xendm(int status, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:50:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 50 | defpseudo( "EXITM" ,NOLABEL | DEFMACRO , Xexitm ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:50:51: note: (near initialization for 'pseudos[15].ptr') 50 | defpseudo( "EXITM" ,NOLABEL | DEFMACRO , Xexitm ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:134:13: note: 'Xexitm' declared here 134 | extern int Xexitm(int status, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:212:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 212 | mnemo ("asrb", single, 0x57) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:51:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 51 | defpseudo( "FAIL" ,NOLABEL , Xfail ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:212:25: note: (near initialization for 'm6800[45].ptr') 212 | mnemo ("asrb", single, 0x57) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:51:51: note: (near initialization for 'pseudos[16].ptr') 51 | defpseudo( "FAIL" ,NOLABEL , Xfail ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:158:13: note: 'Xfail' declared here 158 | extern int Xfail(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:52:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 52 | defpseudo( "IF" ,NOLABEL | DEFCOND , Xif ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:52:51: note: (near initialization for 'pseudos[17].ptr') 52 | defpseudo( "IF" ,NOLABEL | DEFCOND , Xif ) | ^~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:136:13: note: 'Xif' declared here 136 | extern int Xif(int status, char *label, char *mnemo, char *oper); | ^~~ cpu6800.c:213:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 213 | mnemo ("lsra", single, 0x44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:53:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 53 | defpseudo( "ILIST" ,NOLABEL , Xilist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:213:25: note: (near initialization for 'm6800[46].ptr') 213 | mnemo ("lsra", single, 0x44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:53:51: note: (near initialization for 'pseudos[18].ptr') 53 | defpseudo( "ILIST" ,NOLABEL , Xilist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:157:13: note: 'Xilist' declared here 157 | extern int Xilist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:54:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 54 | defpseudo( "INCLUDE" ,NOLABEL , Xinclude ) | ^~~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:54:51: note: (near initialization for 'pseudos[19].ptr') 54 | defpseudo( "INCLUDE" ,NOLABEL , Xinclude ) | ^~~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:142:13: note: 'Xinclude' declared here 142 | extern int Xinclude(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~~~ cpu6800.c:214:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 214 | mnemo ("lsrb", single, 0x54) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:55:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 55 | defpseudo( "LIST" ,NOLABEL , Xlist ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:214:25: note: (near initialization for 'm6800[47].ptr') 214 | mnemo ("lsrb", single, 0x54) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:55:51: note: (near initialization for 'pseudos[20].ptr') 55 | defpseudo( "LIST" ,NOLABEL , Xlist ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:154:13: note: 'Xlist' declared here 154 | extern int Xlist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:56:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 56 | defpseudo( "MACRO" ,DEFLABEL | DEFMACRO , Xmacro ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:56:51: note: (near initialization for 'pseudos[21].ptr') 56 | defpseudo( "MACRO" ,DEFLABEL | DEFMACRO , Xmacro ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:133:13: note: 'Xmacro' declared here 133 | extern int Xmacro(int status, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:215:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 215 | mnemo ("sba", single, 0x10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:57:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 57 | defpseudo( "MLIST" ,NOLABEL , Xmlist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:215:25: note: (near initialization for 'm6800[48].ptr') 215 | mnemo ("sba", single, 0x10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:57:51: note: (near initialization for 'pseudos[22].ptr') 57 | defpseudo( "MLIST" ,NOLABEL , Xmlist ) | ^~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:155:13: note: 'Xmlist' declared here 155 | extern int Xmlist(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:58:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 58 | defpseudo( "NAM" ,NOLABEL , Xnam ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:58:51: note: (near initialization for 'pseudos[23].ptr') 58 | defpseudo( "NAM" ,NOLABEL , Xnam ) | ^~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:148:13: note: 'Xnam' declared here 148 | extern int Xnam(int modifier, char *label, char *mnemo, char *oper); | ^~~~ cpu6800.c:216:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 216 | mnemo ("tab", single, 0x16) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:59:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 59 | defpseudo( "PAGE" ,NOLABEL , Xpage ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:59:51: note: (near initialization for 'pseudos[24].ptr') 59 | defpseudo( "PAGE" ,NOLABEL , Xpage ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:216:25: note: (near initialization for 'm6800[49].ptr') 216 | mnemo ("tab", single, 0x16) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ dcl.h:153:13: note: 'Xpage' declared here 153 | extern int Xpage(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ stdvocabulary.c:60:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 60 | defpseudo( "OUTPUT" ,NOLABEL , Xoutput ) | ^~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:60:51: note: (near initialization for 'pseudos[25].ptr') 60 | defpseudo( "OUTPUT" ,NOLABEL , Xoutput ) | ^~~~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ dcl.h:146:13: note: 'Xoutput' declared here 146 | extern int Xoutput(int modifier, char *label, char *mnemo, char *oper); | ^~~~~~~ cpu6800.c:217:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 217 | mnemo ("tba", single, 0x17) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ stdvocabulary.c:61:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 61 | defpseudo( "SKIP" ,NOLABEL , Xskip ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ stdvocabulary.c:61:51: note: (near initialization for 'pseudos[26].ptr') 61 | defpseudo( "SKIP" ,NOLABEL , Xskip ) | ^~~~~ stdvocabulary.c:30:60: note: in definition of macro 'defpseudo' 30 | #define defpseudo(n,f,c) {0,0,n,f|NOREDEF,L_MNEMO,0,c}, | ^ cpu6800.c:217:25: note: (near initialization for 'm6800[50].ptr') 217 | mnemo ("tba", single, 0x17) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ dcl.h:152:13: note: 'Xskip' declared here 152 | extern int Xskip(int modifier, char *label, char *mnemo, char *oper); | ^~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:218:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 218 | mnemo ("tsta", single, 0x4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:218:25: note: (near initialization for 'm6800[51].ptr') 218 | mnemo ("tsta", single, 0x4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:219:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 219 | mnemo ("tstb", single, 0x5d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:219:25: note: (near initialization for 'm6800[52].ptr') 219 | mnemo ("tstb", single, 0x5d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:221:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 221 | mnemo ("dex", single, 0x09) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:221:25: note: (near initialization for 'm6800[53].ptr') 221 | mnemo ("dex", single, 0x09) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ crasm.c:55:22: error: conflicting types for 'searchlabel'; have 'struct label *(void)' 55 | extern struct label *searchlabel(); | ^~~~~~~~~~~ In file included from crasm.c:30: label.h:78:22: note: previous declaration of 'searchlabel' with type 'struct label *(char *)' 78 | extern struct label *searchlabel(char *name); | ^~~~~~~~~~~ cpu6800.c:222:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 222 | mnemo ("des", single, 0x34) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:222:25: note: (near initialization for 'm6800[54].ptr') 222 | mnemo ("des", single, 0x34) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:223:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 223 | mnemo ("inx", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:223:25: note: (near initialization for 'm6800[55].ptr') 223 | mnemo ("inx", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:224:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 224 | mnemo ("ins", single, 0x31) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:224:25: note: (near initialization for 'm6800[56].ptr') 224 | mnemo ("ins", single, 0x31) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:225:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 225 | mnemo ("tsx", single, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:225:25: note: (near initialization for 'm6800[57].ptr') 225 | mnemo ("tsx", single, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:226:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 226 | mnemo ("txs", single, 0x35) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:226:25: note: (near initialization for 'm6800[58].ptr') 226 | mnemo ("txs", single, 0x35) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:228:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 228 | mnemo ("clc", single, 0x0c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c: In function 'findmnemo': crasm.c:253:20: error: too many arguments to function 'searchlabel'; expected 0, have 1 253 | labmnemo = searchlabel(mnemo); | ^~~~~~~~~~~ ~~~~~ cpu6800.c:228:25: note: (near initialization for 'm6800[59].ptr') 228 | mnemo ("clc", single, 0x0c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c:55:22: note: declared here 55 | extern struct label *searchlabel(); | ^~~~~~~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ crasm.c:256:42: error: too many arguments to function 'searchlabel'; expected 0, have 1 256 | if (( labmnemo = searchlabel(aux1) )) | ^~~~~~~~~~~ ~~~~ crasm.c:55:22: note: declared here 55 | extern struct label *searchlabel(); | ^~~~~~~~~~~ cpu6800.c:229:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 229 | mnemo ("clv", single, 0x0a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:229:25: note: (near initialization for 'm6800[60].ptr') 229 | mnemo ("clv", single, 0x0a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:230:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 230 | mnemo ("cli", single, 0x0e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:230:25: note: (near initialization for 'm6800[61].ptr') 230 | mnemo ("cli", single, 0x0e) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:231:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 231 | mnemo ("sec", single, 0x0d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:231:25: note: (near initialization for 'm6800[62].ptr') 231 | mnemo ("sec", single, 0x0d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:232:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 232 | mnemo ("sev", single, 0x0b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c: In function 'asmline': cpu6800.c:232:25: note: (near initialization for 'm6800[63].ptr') 232 | mnemo ("sev", single, 0x0b) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c:365:26: error: too many arguments to function 'labmnemo->ptr'; expected 0, have 4 365 | return (*labmnemo->ptr)( status, | ~^~~~~~~~~~~~~~~ ~~~~~~ label.h:39:15: note: declared here 39 | int (*ptr)(); | ^~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ crasm.c:369:26: error: too many arguments to function 'labmnemo->ptr'; expected 0, have 4 369 | return (*labmnemo->ptr)( status, | ~^~~~~~~~~~~~~~~ ~~~~~~ label.h:39:15: note: declared here 39 | int (*ptr)(); | ^~~ cpu6800.c:233:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 233 | mnemo ("sei", single, 0x0f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:233:25: note: (near initialization for 'm6800[64].ptr') 233 | mnemo ("sei", single, 0x0f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ crasm.c:383:26: error: too many arguments to function 'labmnemo->ptr'; expected 0, have 4 383 | (*labmnemo->ptr)( labmnemo->modifier, | ~^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ label.h:39:15: note: declared here 39 | int (*ptr)(); | ^~~ cpu6800.c:234:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 234 | mnemo ("tap", single, 0x06) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:234:25: note: (near initialization for 'm6800[65].ptr') 234 | mnemo ("tap", single, 0x06) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:235:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 235 | mnemo ("tpa", single, 0x07) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:235:25: note: (near initialization for 'm6800[66].ptr') 235 | mnemo ("tpa", single, 0x07) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:237:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 237 | mnemo ("neg", standard3, 0x40) /* memory instructions */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:237:25: note: (near initialization for 'm6800[67].ptr') 237 | mnemo ("neg", standard3, 0x40) /* memory instructions */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:238:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 238 | mnemo ("com", standard3, 0x43) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:238:25: note: (near initialization for 'm6800[68].ptr') 238 | mnemo ("com", standard3, 0x43) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:239:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 239 | mnemo ("lsr", standard3, 0x44) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:239:25: note: (near initialization for 'm6800[69].ptr') 239 | mnemo ("lsr", standard3, 0x44) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:240:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 240 | mnemo ("ror", standard3, 0x46) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:240:25: note: (near initialization for 'm6800[70].ptr') 240 | mnemo ("ror", standard3, 0x46) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:241:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 241 | mnemo ("asr", standard3, 0x47) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:241:25: note: (near initialization for 'm6800[71].ptr') 241 | mnemo ("asr", standard3, 0x47) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:242:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 242 | mnemo ("asl", standard3, 0x48) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:242:25: note: (near initialization for 'm6800[72].ptr') 242 | mnemo ("asl", standard3, 0x48) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:243:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 243 | mnemo ("rol", standard3, 0x49) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:243:25: note: (near initialization for 'm6800[73].ptr') 243 | mnemo ("rol", standard3, 0x49) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:244:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 244 | mnemo ("dec", standard3, 0x4a) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:244:25: note: (near initialization for 'm6800[74].ptr') 244 | mnemo ("dec", standard3, 0x4a) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:245:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 245 | mnemo ("inc", standard3, 0x4c) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:245:25: note: (near initialization for 'm6800[75].ptr') 245 | mnemo ("inc", standard3, 0x4c) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:246:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 246 | mnemo ("tst", standard3, 0x4d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:246:25: note: (near initialization for 'm6800[76].ptr') 246 | mnemo ("tst", standard3, 0x4d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:32:13: error: conflicting types for 'error'; have 'void(void)' 32 | extern void error(); | ^~~~~ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ In file included from parse.c:28: dcl.h:95:13: note: previous declaration of 'error' with type 'void(char *)' 95 | extern void error(char *s); | ^~~~~ cpu6800.c:247:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 247 | mnemo ("jmp", standard3, 0x4e) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:247:25: note: (near initialization for 'm6800[77].ptr') 247 | mnemo ("jmp", standard3, 0x4e) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ parse.c:33:13: error: conflicting types for 'fatal'; have 'void(void)' 33 | extern void fatal(); | ^~~~~ dcl.h:97:13: note: previous declaration of 'fatal' with type 'void(char *)' 97 | extern void fatal(char *s); | ^~~~~ cpu6800.c:248:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 248 | mnemo ("clr", standard3, 0x4f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:248:25: note: (near initialization for 'm6800[78].ptr') 248 | mnemo ("clr", standard3, 0x4f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:149:1: note: 'standard3' declared here 149 | standard3(int code, char *label, char *mnemo, char *oper) /* only indexed and extended */ | ^~~~~~~~~ cpu6800.c:250:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 250 | mnemo ("suba", standard, 0x80) /* accumulator & memory */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:250:25: note: (near initialization for 'm6800[79].ptr') 250 | mnemo ("suba", standard, 0x80) /* accumulator & memory */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:251:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 251 | mnemo ("cmpa", standard, 0x81) /* instructions */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:251:25: note: (near initialization for 'm6800[80].ptr') 251 | mnemo ("cmpa", standard, 0x81) /* instructions */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:73:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 73 | { "?_\\_?" ,2 ,1 /* rlist */ ,oprlist,}, | ^~~~~~~ parse.c:73:66: note: (near initialization for 'oplist[0].callop') cpu6800.c:252:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 252 | mnemo ("sbca", standard, 0x82) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:252:25: note: (near initialization for 'm6800[81].ptr') 252 | mnemo ("sbca", standard, 0x82) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:253:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 253 | mnemo ("anda", standard, 0x84) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:49:13: note: 'oprlist' declared here 49 | extern void oprlist(struct result *presult, struct result *parg); | ^~~~~~~ cpu6800.c:253:25: note: (near initialization for 'm6800[82].ptr') 253 | mnemo ("anda", standard, 0x84) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:74:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 74 | { "?_+_?" ,2 ,2 /* add */ ,opadd,}, | ^~~~~ cpu6800.c:254:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 254 | mnemo ("bita", standard, 0x85) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:74:66: note: (near initialization for 'oplist[1].callop') cpu6800.c:254:25: note: (near initialization for 'm6800[83].ptr') 254 | mnemo ("bita", standard, 0x85) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:45:13: note: 'opadd' declared here 45 | extern void opadd(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:75:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 75 | { "?_-_?" ,2 ,1 /* subtract, rrange */ ,opsub,}, | ^~~~~ cpu6800.c:255:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 255 | mnemo ("ldaa", standard, 0x86) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:75:66: note: (near initialization for 'oplist[2].callop') cpu6800.c:255:25: note: (near initialization for 'm6800[84].ptr') 255 | mnemo ("ldaa", standard, 0x86) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:46:13: note: 'opsub' declared here 46 | extern void opsub(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:76:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 76 | { "?_*_?" ,2 ,2 /* multiply */ ,opmul,}, | ^~~~~ cpu6800.c:256:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 256 | mnemo ("staa", standard2, 0x87) /* store instructions are */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:76:66: note: (near initialization for 'oplist[3].callop') cpu6800.c:256:25: note: (near initialization for 'm6800[85].ptr') 256 | mnemo ("staa", standard2, 0x87) /* store instructions are */ | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:47:13: note: 'opmul' declared here 47 | extern void opmul(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:77:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 77 | { "?_/_?" ,2 ,1 /* divide */ ,opdiv,}, | ^~~~~ cpu6800.c:257:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 257 | mnemo ("eora", standard, 0x88) /* never immediate */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:77:66: note: (near initialization for 'oplist[4].callop') parse.c:48:13: note: 'opdiv' declared here 48 | extern void opdiv(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:257:25: note: (near initialization for 'm6800[86].ptr') 257 | mnemo ("eora", standard, 0x88) /* never immediate */ | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:78:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 78 | { "?_|_?" ,2 ,3 /* logical OR */ ,opor,}, | ^~~~ cpu6800.c:258:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 258 | mnemo ("adca", standard, 0x89) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:78:66: note: (near initialization for 'oplist[5].callop') parse.c:51:13: note: 'opor' declared here 51 | extern void opor(struct result *presult, struct result *parg); | ^~~~ cpu6800.c:258:25: note: (near initialization for 'm6800[87].ptr') 258 | mnemo ("adca", standard, 0x89) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:79:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 79 | { "?_&_?" ,2 ,2 /* logical AND */ ,opand,}, | ^~~~~ parse.c:79:66: note: (near initialization for 'oplist[6].callop') cpu6800.c:259:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 259 | mnemo ("oraa", standard, 0x8a) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:52:13: note: 'opand' declared here 52 | extern void opand(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:259:25: note: (near initialization for 'm6800[88].ptr') 259 | mnemo ("oraa", standard, 0x8a) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:80:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 80 | { "?_^_?" ,2 ,1 /* logical XOR */ ,opxor,}, | ^~~~~ parse.c:80:66: note: (near initialization for 'oplist[7].callop') cpu6800.c:260:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 260 | mnemo ("adda", standard, 0x8b) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:53:13: note: 'opxor' declared here 53 | extern void opxor(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:260:25: note: (near initialization for 'm6800[89].ptr') 260 | mnemo ("adda", standard, 0x8b) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:81:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 81 | { "?_<<_?" ,2 ,2 /* lshift */ ,oplsh,}, | ^~~~~ parse.c:81:66: note: (near initialization for 'oplist[8].callop') cpu6800.c:261:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 261 | mnemo ("cpx", standard, 0x8c) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:54:13: note: 'oplsh' declared here 54 | extern void oplsh(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:261:25: note: (near initialization for 'm6800[90].ptr') 261 | mnemo ("cpx", standard, 0x8c) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:82:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 82 | { "?_>>_?" ,2 ,1 /* rshift */ ,oprsh,}, | ^~~~~ parse.c:82:66: note: (near initialization for 'oplist[9].callop') parse.c:55:13: note: 'oprsh' declared here 55 | extern void oprsh(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:262:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 262 | mnemo ("jsr", standard2, 0x8d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:262:25: note: (near initialization for 'm6800[91].ptr') 262 | mnemo ("jsr", standard2, 0x8d) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:83:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *)' [-Wincompatible-pointer-types] 83 | { "?_-" ,1 ,1 /* unary minus */ ,opminus,}, | ^~~~~~~ parse.c:83:66: note: (near initialization for 'oplist[10].callop') parse.c:50:13: note: 'opminus' declared here 50 | extern void opminus(struct result *presult); | ^~~~~~~ cpu6800.c:263:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 263 | mnemo ("lds", standard, 0x8e) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:263:25: note: (near initialization for 'm6800[92].ptr') 263 | mnemo ("lds", standard, 0x8e) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:84:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *)' [-Wincompatible-pointer-types] 84 | { "?_~" ,1 ,1 /* logical NOT */ ,opnot,}, | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:84:66: note: (near initialization for 'oplist[11].callop') parse.c:56:13: note: 'opnot' declared here 56 | extern void opnot(struct result *presult); | ^~~~~ cpu6800.c:264:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 264 | mnemo ("sts", standard2, 0x8f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:85:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 85 | { ")_?_(_TIB" ,1 ,1 /* bit number */ ,opbitnumb,}, | ^~~~~~~~~ cpu6800.c:264:25: note: (near initialization for 'm6800[93].ptr') 264 | mnemo ("sts", standard2, 0x8f) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:85:66: note: (near initialization for 'oplist[12].callop') cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:64:13: note: 'opbitnumb' declared here 64 | extern void opbitnumb(struct result *presult, struct result *parg); | ^~~~~~~~~ cpu6800.c:266:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 266 | mnemo ("subb", standard, 0xc0) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:86:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 86 | { ")_?_(_RDDA" ,1 ,1 /* bit addr */ ,opbitaddr,}, | ^~~~~~~~~ parse.c:86:66: note: (near initialization for 'oplist[13].callop') cpu6800.c:266:25: note: (near initialization for 'm6800[94].ptr') 266 | mnemo ("subb", standard, 0xc0) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:65:13: note: 'opbitaddr' declared here 65 | extern void opbitaddr(struct result *presult, struct result *parg); | ^~~~~~~~~ cpu6800.c:267:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 267 | mnemo ("cmpb", standard, 0xc1) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:87:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, struct result *)' [-Wincompatible-pointer-types] 87 | { "}_?_{_?" ,2 ,1 /* directbit */ ,opbit,}, | ^~~~~ parse.c:87:66: note: (near initialization for 'oplist[14].callop') cpu6800.c:267:25: note: (near initialization for 'm6800[95].ptr') 267 | mnemo ("cmpb", standard, 0xc1) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:57:13: note: 'opbit' declared here 57 | extern void opbit(struct result *presult, struct result *parg); | ^~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:268:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 268 | mnemo ("sbcb", standard, 0xc2) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:91:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 91 | { "" ,-3,1 /* label */ ,cstlabel,}, | ^~~~~~~~ cpu6800.c:268:25: note: (near initialization for 'm6800[96].ptr') 268 | mnemo ("sbcb", standard, 0xc2) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:91:66: note: (near initialization for 'oplist[16].callop') cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:62:13: note: 'cstlabel' declared here 62 | extern void cstlabel(struct result *presult, char *s); | ^~~~~~~~ cpu6800.c:269:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 269 | mnemo ("andb", standard, 0xc4) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:94:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 94 | { "$?" ,-2,1 /* hexadecimal */ ,csthexa,}, | ^~~~~~~ cpu6800.c:269:25: note: (near initialization for 'm6800[97].ptr') 269 | mnemo ("andb", standard, 0xc4) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:94:66: note: (near initialization for 'oplist[17].callop') cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:58:13: note: 'csthexa' declared here 58 | extern void csthexa(struct result *presult, char *s); | ^~~~~~~ cpu6800.c:270:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 270 | mnemo ("bitb", standard, 0xc5) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:95:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 95 | { "?H" ,-2,1 /* Intel hexa */ ,csthexa,}, | ^~~~~~~ cpu6800.c:270:25: note: (near initialization for 'm6800[98].ptr') 270 | mnemo ("bitb", standard, 0xc5) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:95:66: note: (near initialization for 'oplist[18].callop') cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:58:13: note: 'csthexa' declared here 58 | extern void csthexa(struct result *presult, char *s); | ^~~~~~~ cpu6800.c:271:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 271 | mnemo ("ldab", standard, 0xc6) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:96:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 96 | { "0X?" ,-2,1 /* C hexa */ ,csthexa,}, | ^~~~~~~ parse.c:96:66: note: (near initialization for 'oplist[19].callop') cpu6800.c:271:25: note: (near initialization for 'm6800[99].ptr') 271 | mnemo ("ldab", standard, 0xc6) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:58:13: note: 'csthexa' declared here 58 | extern void csthexa(struct result *presult, char *s); | ^~~~~~~ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:97:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 97 | { "%?" ,-2,1 /* binaire */ ,cstbinary,}, | ^~~~~~~~~ parse.c:97:66: note: (near initialization for 'oplist[20].callop') cpu6800.c:272:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 272 | mnemo ("stab", standard2, 0xc7) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:60:13: note: 'cstbinary' declared here 60 | extern void cstbinary(struct result *presult, char *s); | ^~~~~~~~~ cpu6800.c:272:25: note: (near initialization for 'm6800[100].ptr') 272 | mnemo ("stab", standard2, 0xc7) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c:98:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 98 | { "?B" ,-2,1 /* Intel binaire*/ ,cstbinary,}, | ^~~~~~~~~ parse.c:98:66: note: (near initialization for 'oplist[21].callop') cpu6800.c:273:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 273 | mnemo ("eorb", standard, 0xc8) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:60:13: note: 'cstbinary' declared here 60 | extern void cstbinary(struct result *presult, char *s); | ^~~~~~~~~ cpu6800.c:273:25: note: (near initialization for 'm6800[101].ptr') 273 | mnemo ("eorb", standard, 0xc8) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:99:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 99 | { "0B?" ,-2,1 /* C binaire */ ,cstbinary,}, | ^~~~~~~~~ parse.c:99:66: note: (near initialization for 'oplist[22].callop') parse.c:60:13: note: 'cstbinary' declared here 60 | extern void cstbinary(struct result *presult, char *s); | ^~~~~~~~~ cpu6800.c:274:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 274 | mnemo ("adcb", standard, 0xc9) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ pseudos.c: In function 'Xcpu': cpu6800.c:274:25: note: (near initialization for 'm6800[102].ptr') 274 | mnemo ("adcb", standard, 0xc9) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ parse.c:100:66: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(struct result *, char *)' [-Wincompatible-pointer-types] 100 | { "?Q" ,-2,1 /* Intel octal */ ,cstoctal,}, | ^~~~~~~~ parse.c:100:66: note: (near initialization for 'oplist[23].callop') parse.c:63:13: note: 'cstoctal' declared here 63 | extern void cstoctal(struct result *presult, char *s); | ^~~~~~~~ cpu6800.c:275:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 275 | mnemo ("orab", standard, 0xca) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ pseudos.c:376:10: error: too many arguments to function 'q->init'; expected 0, have 1 376 | (*q->init)(q->code); | ~^~~~~~~~~ ~~~~~~~ cpu6800.c:275:25: note: (near initialization for 'm6800[103].ptr') 275 | mnemo ("orab", standard, 0xca) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ In file included from pseudos.c:28: cpu.h:51:26: note: declared here 51 | void (*init)(); }; | ^~~~ cpu6800.c:276:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 276 | mnemo ("addb", standard, 0xcb) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:276:25: note: (near initialization for 'm6800[104].ptr') 276 | mnemo ("addb", standard, 0xcb) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:277:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 277 | mnemo ("ldx", standard, 0xce) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:277:25: note: (near initialization for 'm6800[105].ptr') 277 | mnemo ("ldx", standard, 0xce) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:278:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 278 | mnemo ("stx", standard2, 0xcf) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:278:25: note: (near initialization for 'm6800[106].ptr') 278 | mnemo ("stx", standard2, 0xcf) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ parse.c: In function 'parse2': cpu6800.c:285:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 285 | mnemo ("lsrd", single, 0x04) /* 6801 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:285:25: note: (near initialization for 'm6801[0].ptr') 285 | mnemo ("lsrd", single, 0x04) /* 6801 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:137:30: error: too many arguments to function '(q + (sizetype)((long unsigned int)j * 24))->callop'; expected 0, have 2 137 | (q[j].callop)(presult,&arg); | ~~~~~^~~~~~~~ ~~~~~~~ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:70:16: note: declared here 70 | void (*callop)(); /* (*callop)(&result,&arg ) */ | ^~~~~~ cpu6800.c:286:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 286 | mnemo ("asld", single, 0x05) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:286:25: note: (near initialization for 'm6801[1].ptr') 286 | mnemo ("asld", single, 0x05) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:143:26: error: too many arguments to function 'q->callop'; expected 0, have 1 143 | (*q->callop)(presult); | ~^~~~~~~~~~~ ~~~~~~~ cpu6800.c:287:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 287 | mnemo ("brn", branch, 0x21) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ parse.c:70:16: note: declared here 70 | void (*callop)(); /* (*callop)(&result,&arg ) */ | ^~~~~~ cpu6800.c:287:25: note: (near initialization for 'm6801[2].ptr') 287 | mnemo ("brn", branch, 0x21) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:29:1: note: 'branch' declared here 29 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6800.c:288:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 288 | mnemo ("pulx", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:288:25: note: (near initialization for 'm6801[3].ptr') 288 | mnemo ("pulx", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:153:26: error: too many arguments to function 'q->callop'; expected 0, have 2 153 | (*q->callop)(presult,ca); | ~^~~~~~~~~~~ ~~~~~~~ parse.c:70:16: note: declared here 70 | void (*callop)(); /* (*callop)(&result,&arg ) */ | ^~~~~~ cpu6800.c:289:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 289 | mnemo ("abx", single, 0x3a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:289:25: note: (near initialization for 'm6801[4].ptr') 289 | mnemo ("abx", single, 0x3a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:290:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 290 | mnemo ("pshx", single, 0x3c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:290:25: note: (near initialization for 'm6801[5].ptr') 290 | mnemo ("pshx", single, 0x3c) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6800.c:291:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 291 | mnemo ("mul", single, 0x3d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:291:25: note: (near initialization for 'm6801[6].ptr') 291 | mnemo ("mul", single, 0x3d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:57:1: note: 'single' declared here 57 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ parse.c:177:17: error: too many arguments to function 'error'; expected 0, have 1 177 | error ( "syntax error in an expression" ); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:32:13: note: declared here 32 | extern void error(); | ^~~~~ cpu6800.c:293:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 293 | mnemo ("subd", standard, 0x83) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:293:25: note: (near initialization for 'm6801[7].ptr') 293 | mnemo ("subd", standard, 0x83) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:294:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 294 | mnemo ("addd", standard, 0xc3) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:294:25: note: (near initialization for 'm6801[8].ptr') 294 | mnemo ("addd", standard, 0xc3) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:295:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 295 | mnemo ("ldd", standard, 0xcc) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:295:25: note: (near initialization for 'm6801[9].ptr') 295 | mnemo ("ldd", standard, 0xcc) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:125:1: note: 'standard' declared here 125 | standard(int code, char *label, char *mnemo, char *oper) /* all addressing modes */ | ^~~~~~~~ cpu6800.c:296:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 296 | mnemo ("std", standard2, 0xcd) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:296:25: note: (near initialization for 'm6801[10].ptr') 296 | mnemo ("std", standard2, 0xcd) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6800.c:136:1: note: 'standard2' declared here 136 | standard2(int code, char *label, char *mnemo, char *oper) /* all but immediate */ | ^~~~~~~~~ In file included from cpu6502.c:24: cpu6502.c:221:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 221 | mnemo ("bpl", branch, 0x10) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:221:25: note: (near initialization for 'm6502[0].ptr') 221 | mnemo ("bpl", branch, 0x10) /* branchs */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:222:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 222 | mnemo ("bmi", branch, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:222:25: note: (near initialization for 'm6502[1].ptr') 222 | mnemo ("bmi", branch, 0x30) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:223:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 223 | mnemo ("bvc", branch, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:223:25: note: (near initialization for 'm6502[2].ptr') 223 | mnemo ("bvc", branch, 0x50) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:224:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 224 | mnemo ("bvs", branch, 0x70) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:224:25: note: (near initialization for 'm6502[3].ptr') 224 | mnemo ("bvs", branch, 0x70) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:225:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 225 | mnemo ("bcc", branch, 0x90) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:225:25: note: (near initialization for 'm6502[4].ptr') 225 | mnemo ("bcc", branch, 0x90) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:226:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 226 | mnemo ("bcs", branch, 0xb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:226:25: note: (near initialization for 'm6502[5].ptr') 226 | mnemo ("bcs", branch, 0xb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:227:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 227 | mnemo ("bne", branch, 0xd0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:227:25: note: (near initialization for 'm6502[6].ptr') 227 | mnemo ("bne", branch, 0xd0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:228:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 228 | mnemo ("beq", branch, 0xf0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:228:25: note: (near initialization for 'm6502[7].ptr') 228 | mnemo ("beq", branch, 0xf0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:230:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 230 | mnemo ("bhi", branch, 0xb0) /* A>=M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:230:25: note: (near initialization for 'm6502[8].ptr') 230 | mnemo ("bhi", branch, 0xb0) /* A>=M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:231:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 231 | mnemo ("blo", branch, 0x90) /* A< M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:231:25: note: (near initialization for 'm6502[9].ptr') 231 | mnemo ("blo", branch, 0x90) /* A< M unsigned */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:232:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 232 | mnemo ("bgt", branch, 0x10) /* A>=M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:232:25: note: (near initialization for 'm6502[10].ptr') 232 | mnemo ("bgt", branch, 0x10) /* A>=M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:233:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 233 | mnemo ("ble", branch, 0x30) /* A< M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:233:25: note: (near initialization for 'm6502[11].ptr') 233 | mnemo ("ble", branch, 0x30) /* A< M signed */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpu6502.c:235:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 235 | mnemo ("nop", single, 0xea) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:235:25: note: (near initialization for 'm6502[12].ptr') 235 | mnemo ("nop", single, 0xea) /* single byte instructions */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:236:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 236 | mnemo ("brk", single, 0x00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:236:25: note: (near initialization for 'm6502[13].ptr') 236 | mnemo ("brk", single, 0x00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:237:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 237 | mnemo ("rti", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:237:25: note: (near initialization for 'm6502[14].ptr') 237 | mnemo ("rti", single, 0x40) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:238:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 238 | mnemo ("rts", single, 0x60) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:238:25: note: (near initialization for 'm6502[15].ptr') 238 | mnemo ("rts", single, 0x60) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:239:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 239 | mnemo ("pha", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:239:25: note: (near initialization for 'm6502[16].ptr') 239 | mnemo ("pha", single, 0x48) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:240:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 240 | mnemo ("pla", single, 0x68) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:240:25: note: (near initialization for 'm6502[17].ptr') 240 | mnemo ("pla", single, 0x68) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:241:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 241 | mnemo ("php", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:241:25: note: (near initialization for 'm6502[18].ptr') 241 | mnemo ("php", single, 0x08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ In file included from cpuz80.c:24: cpuz80.c:613:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 613 | mnemo ("ccf", simple, 0x3f ) /* instructions without oper */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:613:25: note: (near initialization for 'mz80[17].ptr') 613 | mnemo ("ccf", simple, 0x3f ) /* instructions without oper */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:242:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 242 | mnemo ("plp", single, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:242:25: note: (near initialization for 'm6502[19].ptr') 242 | mnemo ("plp", single, 0x28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:614:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 614 | mnemo ("cpd", simple, 0xeda9) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:614:25: note: (near initialization for 'mz80[18].ptr') 614 | mnemo ("cpd", simple, 0xeda9) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:243:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 243 | mnemo ("dex", single, 0xca) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:243:25: note: (near initialization for 'm6502[20].ptr') 243 | mnemo ("dex", single, 0xca) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:615:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 615 | mnemo ("cpdr", simple, 0xed89) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:615:25: note: (near initialization for 'mz80[19].ptr') 615 | mnemo ("cpdr", simple, 0xed89) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:244:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 244 | mnemo ("dey", single, 0x88) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:244:25: note: (near initialization for 'm6502[21].ptr') 244 | mnemo ("dey", single, 0x88) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:616:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 616 | mnemo ("cpi", simple, 0xeda1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:616:25: note: (near initialization for 'mz80[20].ptr') 616 | mnemo ("cpi", simple, 0xeda1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:245:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 245 | mnemo ("inx", single, 0xe8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:245:25: note: (near initialization for 'm6502[22].ptr') 245 | mnemo ("inx", single, 0xe8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:617:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 617 | mnemo ("cpir", simple, 0xedb1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:617:25: note: (near initialization for 'mz80[21].ptr') 617 | mnemo ("cpir", simple, 0xedb1) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:246:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 246 | mnemo ("iny", single, 0xc8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:246:25: note: (near initialization for 'm6502[23].ptr') 246 | mnemo ("iny", single, 0xc8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:618:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 618 | mnemo ("cpl", simple, 0x2f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:247:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 247 | mnemo ("tsx", single, 0xba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:618:25: note: (near initialization for 'mz80[22].ptr') 618 | mnemo ("cpl", simple, 0x2f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:247:25: note: (near initialization for 'm6502[24].ptr') 247 | mnemo ("tsx", single, 0xba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:248:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 248 | mnemo ("txs", single, 0x9a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:248:25: note: (near initialization for 'm6502[25].ptr') 248 | mnemo ("txs", single, 0x9a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:249:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 249 | mnemo ("tax", single, 0xaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:249:25: note: (near initialization for 'm6502[26].ptr') 249 | mnemo ("tax", single, 0xaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:250:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 250 | mnemo ("txa", single, 0x8a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:619:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 619 | mnemo ("daa", simple, 0x27 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:250:25: note: (near initialization for 'm6502[27].ptr') 250 | mnemo ("txa", single, 0x8a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:619:25: note: (near initialization for 'mz80[23].ptr') 619 | mnemo ("daa", simple, 0x27 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:251:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 251 | mnemo ("tay", single, 0xa8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:251:25: note: (near initialization for 'm6502[28].ptr') 251 | mnemo ("tay", single, 0xa8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:252:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 252 | mnemo ("tya", single, 0x98) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:252:25: note: (near initialization for 'm6502[29].ptr') 252 | mnemo ("tya", single, 0x98) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:253:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 253 | mnemo ("clc", single, 0x18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:253:25: note: (near initialization for 'm6502[30].ptr') 253 | mnemo ("clc", single, 0x18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:620:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 620 | mnemo ("exx", simple, 0xd9 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:254:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 254 | mnemo ("clv", single, 0xb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:254:25: note: (near initialization for 'm6502[31].ptr') 254 | mnemo ("clv", single, 0xb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:620:25: note: (near initialization for 'mz80[24].ptr') 620 | mnemo ("exx", simple, 0xd9 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:255:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 255 | mnemo ("cli", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:255:25: note: (near initialization for 'm6502[32].ptr') 255 | mnemo ("cli", single, 0x58) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:256:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 256 | mnemo ("cld", single, 0xd8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:256:25: note: (near initialization for 'm6502[33].ptr') 256 | mnemo ("cld", single, 0xd8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:257:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 257 | mnemo ("sec", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:257:25: note: (near initialization for 'm6502[34].ptr') 257 | mnemo ("sec", single, 0x38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:621:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 621 | mnemo ("halt", simple, 0x76 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:258:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 258 | mnemo ("sei", single, 0x78) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:621:25: note: (near initialization for 'mz80[25].ptr') 621 | mnemo ("halt", simple, 0x76 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:258:25: note: (near initialization for 'm6502[35].ptr') 258 | mnemo ("sei", single, 0x78) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:259:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 259 | mnemo ("sed", single, 0xf8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:259:25: note: (near initialization for 'm6502[36].ptr') 259 | mnemo ("sed", single, 0xf8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:261:1: note: in expansion of macro 'mnemo2' 261 | mnemo2 ("ora", 0,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[37].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:261:1: note: in expansion of macro 'mnemo2' 261 | mnemo2 ("ora", 0,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:622:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 622 | mnemo ("ind", simple, 0xedaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:262:1: note: in expansion of macro 'mnemo2' 262 | mnemo2 ("and", 0,0x20 ,0 ) | ^~~~~~ cpuz80.c:622:25: note: (near initialization for 'mz80[26].ptr') 622 | mnemo ("ind", simple, 0xedaa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[38].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:262:1: note: in expansion of macro 'mnemo2' 262 | mnemo2 ("and", 0,0x20 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:263:1: note: in expansion of macro 'mnemo2' 263 | mnemo2 ("eor", 0,0x40 ,0 ) | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[39].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:263:1: note: in expansion of macro 'mnemo2' 263 | mnemo2 ("eor", 0,0x40 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:264:1: note: in expansion of macro 'mnemo2' 264 | mnemo2 ("adc", 0,0x60 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[40].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:264:1: note: in expansion of macro 'mnemo2' 264 | mnemo2 ("adc", 0,0x60 ,0 ) | ^~~~~~ cpuz80.c:623:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 623 | mnemo ("indr", simple, 0xedba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:623:25: note: (near initialization for 'mz80[27].ptr') 623 | mnemo ("indr", simple, 0xedba) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:265:1: note: in expansion of macro 'mnemo2' 265 | mnemo2 ("sta", 0,0x80 ,F_noimm ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[41].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:265:1: note: in expansion of macro 'mnemo2' 265 | mnemo2 ("sta", 0,0x80 ,F_noimm ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:266:1: note: in expansion of macro 'mnemo2' 266 | mnemo2 ("lda", 0,0xa0 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[42].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:266:1: note: in expansion of macro 'mnemo2' 266 | mnemo2 ("lda", 0,0xa0 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:267:1: note: in expansion of macro 'mnemo2' 267 | mnemo2 ("cmp", 0,0xc0 ,0 ) | ^~~~~~ cpuz80.c:624:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 624 | mnemo ("ini", simple, 0xeda2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[43].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:267:1: note: in expansion of macro 'mnemo2' 267 | mnemo2 ("cmp", 0,0xc0 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:624:25: note: (near initialization for 'mz80[28].ptr') 624 | mnemo ("ini", simple, 0xeda2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:268:1: note: in expansion of macro 'mnemo2' 268 | mnemo2 ("sbc", 0,0xe0 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[44].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:268:1: note: in expansion of macro 'mnemo2' 268 | mnemo2 ("sbc", 0,0xe0 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:270:1: note: in expansion of macro 'mnemo2' 270 | mnemo2 ("asl", 1,0x00 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[45].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:270:1: note: in expansion of macro 'mnemo2' 270 | mnemo2 ("asl", 1,0x00 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:625:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 625 | mnemo ("inir", simple, 0xedb2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:625:25: note: (near initialization for 'mz80[29].ptr') 625 | mnemo ("inir", simple, 0xedb2) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:271:1: note: in expansion of macro 'mnemo2' 271 | mnemo2 ("rol", 1,0x20 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[46].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:271:1: note: in expansion of macro 'mnemo2' 271 | mnemo2 ("rol", 1,0x20 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:272:1: note: in expansion of macro 'mnemo2' 272 | mnemo2 ("lsr", 1,0x40 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[47].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:272:1: note: in expansion of macro 'mnemo2' 272 | mnemo2 ("lsr", 1,0x40 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:273:1: note: in expansion of macro 'mnemo2' 273 | mnemo2 ("ror", 1,0x60 ,F_noimm|F_noindy ) | ^~~~~~ cpuz80.c:626:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 626 | mnemo ("di", simple, 0xf3 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[48].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:273:1: note: in expansion of macro 'mnemo2' 273 | mnemo2 ("ror", 1,0x60 ,F_noimm|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:626:25: note: (near initialization for 'mz80[30].ptr') 626 | mnemo ("di", simple, 0xf3 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:275:1: note: in expansion of macro 'mnemo2' 275 | mnemo2 ("ldx", 1,0xa0 ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[49].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:275:1: note: in expansion of macro 'mnemo2' 275 | mnemo2 ("ldx", 1,0xa0 ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:276:1: note: in expansion of macro 'mnemo2' 276 | mnemo2 ("ldy", 1,0x9e ,F_noacc|F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[50].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:276:1: note: in expansion of macro 'mnemo2' 276 | mnemo2 ("ldy", 1,0x9e ,F_noacc|F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:627:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 627 | mnemo ("ei", simple, 0xfb ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:277:1: note: in expansion of macro 'mnemo2' 277 | mnemo2 ("cpx", 1,0xde ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[51].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:277:1: note: in expansion of macro 'mnemo2' 277 | mnemo2 ("cpx", 1,0xde ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpuz80.c:627:25: note: (near initialization for 'mz80[31].ptr') 627 | mnemo ("ei", simple, 0xfb ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:278:1: note: in expansion of macro 'mnemo2' 278 | mnemo2 ("cpy", 1,0xbe ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[52].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:278:1: note: in expansion of macro 'mnemo2' 278 | mnemo2 ("cpy", 1,0xbe ,F_noindy|F_noindx|F_noacc ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:280:1: note: in expansion of macro 'mnemo2' 280 | mnemo2 ("stx", 2,0x80 ,F_noindx ) | ^~~~~~ cpuz80.c:628:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 628 | mnemo ("ldd", simple, 0xeda8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:628:25: note: (near initialization for 'mz80[32].ptr') 628 | mnemo ("ldd", simple, 0xeda8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: note: (near initialization for 'm6502[53].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:280:1: note: in expansion of macro 'mnemo2' 280 | mnemo2 ("stx", 2,0x80 ,F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:281:1: note: in expansion of macro 'mnemo2' 281 | mnemo2 ("sty", 2,0x7e ,F_noindy ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[54].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:281:1: note: in expansion of macro 'mnemo2' 281 | mnemo2 ("sty", 2,0x7e ,F_noindy ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:629:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 629 | mnemo ("lddr", simple, 0xedb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:629:25: note: (near initialization for 'mz80[33].ptr') 629 | mnemo ("lddr", simple, 0xedb8) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:283:1: note: in expansion of macro 'mnemo2' 283 | mnemo2 ("inc", 3,0xe0 ,F_noimm ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[55].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:283:1: note: in expansion of macro 'mnemo2' 283 | mnemo2 ("inc", 3,0xe0 ,F_noimm ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:284:1: note: in expansion of macro 'mnemo2' 284 | mnemo2 ("bit", 3,0x1e ,F_noacc ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[56].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:284:1: note: in expansion of macro 'mnemo2' 284 | mnemo2 ("bit", 3,0x1e ,F_noacc ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:630:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 630 | mnemo ("ldi", simple, 0xeda0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:630:25: note: (near initialization for 'mz80[34].ptr') 630 | mnemo ("ldi", simple, 0xeda0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:285:1: note: in expansion of macro 'mnemo2' 285 | mnemo2 ("dec", 4,0xc0 ,F_noimm ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[57].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:285:1: note: in expansion of macro 'mnemo2' 285 | mnemo2 ("dec", 4,0xc0 ,F_noimm ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:287:1: note: in expansion of macro 'mnemo2' 287 | mnemo2 ("jmp", 5,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[58].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:287:1: note: in expansion of macro 'mnemo2' 287 | mnemo2 ("jmp", 5,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:631:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 631 | mnemo ("ldir", simple, 0xedb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:631:25: note: (near initialization for 'mz80[35].ptr') 631 | mnemo ("ldir", simple, 0xedb0) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:288:1: note: in expansion of macro 'mnemo2' 288 | mnemo2 ("jsr", 6,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm6502[59].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:288:1: note: in expansion of macro 'mnemo2' 288 | mnemo2 ("jsr", 6,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:632:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 632 | mnemo ("neg", simple, 0xed44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:302:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 302 | mnemo ("phx", single, 0xda) /* 65c02 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:302:25: note: (near initialization for 'm65c02[0].ptr') 302 | mnemo ("phx", single, 0xda) /* 65c02 special mnemonics */ | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:632:25: note: (near initialization for 'mz80[36].ptr') 632 | mnemo ("neg", simple, 0xed44) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:303:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 303 | mnemo ("plx", single, 0xfa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:303:25: note: (near initialization for 'm65c02[1].ptr') 303 | mnemo ("plx", single, 0xfa) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:304:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 304 | mnemo ("phy", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:304:25: note: (near initialization for 'm65c02[2].ptr') 304 | mnemo ("phy", single, 0x5a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpu6502.c:305:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 305 | mnemo ("ply", single, 0x7a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:305:25: note: (near initialization for 'm65c02[3].ptr') 305 | mnemo ("ply", single, 0x7a) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:633:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 633 | mnemo ("nop", simple, 0x00 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:72:1: note: 'single' declared here 72 | single(int code, char *label, char *mnemo, char *oper) /* single byte instructions */ | ^~~~~~ cpuz80.c:633:25: note: (near initialization for 'mz80[37].ptr') 633 | mnemo ("nop", simple, 0x00 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:307:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 307 | mnemo ("bra", branch, 0x80) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:307:25: note: (near initialization for 'm65c02[4].ptr') 307 | mnemo ("bra", branch, 0x80) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:45:1: note: 'branch' declared here 45 | branch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:309:1: note: in expansion of macro 'mnemo2' 309 | mnemo2 ("stz", 7,0x00 ,0 ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm65c02[5].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:309:1: note: in expansion of macro 'mnemo2' 309 | mnemo2 ("stz", 7,0x00 ,0 ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:634:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 634 | mnemo ("otdr", simple, 0xedbb) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:634:25: note: (near initialization for 'mz80[38].ptr') 634 | mnemo ("otdr", simple, 0xedbb) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:310:1: note: in expansion of macro 'mnemo2' 310 | mnemo2 ("tsb", 4,0xfe ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm65c02[6].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:310:1: note: in expansion of macro 'mnemo2' 310 | mnemo2 ("tsb", 4,0xfe ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpu6502.c:26:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:311:1: note: in expansion of macro 'mnemo2' 311 | mnemo2 ("trb", 4,0x0e ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:26:43: note: (near initialization for 'm65c02[7].ptr') 26 | #define mnemo2(n,t,b,f) mnemo( n, standard, (t<<8)|b|f ) | ^~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpu6502.c:311:1: note: in expansion of macro 'mnemo2' 311 | mnemo2 ("trb", 4,0x0e ,F_noacc|F_noindx ) | ^~~~~~ cpu6502.c:136:1: note: 'standard' declared here 136 | standard(int code, char *label, char *mnemo, char *oper) | ^~~~~~~~ cpuz80.c:635:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 635 | mnemo ("otir", simple, 0xedb3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:635:25: note: (near initialization for 'mz80[39].ptr') 635 | mnemo ("otir", simple, 0xedb3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:636:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 636 | mnemo ("outd", simple, 0xedab) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:636:25: note: (near initialization for 'mz80[40].ptr') 636 | mnemo ("outd", simple, 0xedab) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:637:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 637 | mnemo ("outi", simple, 0xeda3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:637:25: note: (near initialization for 'mz80[41].ptr') 637 | mnemo ("outi", simple, 0xeda3) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:638:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 638 | mnemo ("reti", simple, 0xed4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:638:25: note: (near initialization for 'mz80[42].ptr') 638 | mnemo ("reti", simple, 0xed4d) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:639:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 639 | mnemo ("retn", simple, 0xed45) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:639:25: note: (near initialization for 'mz80[43].ptr') 639 | mnemo ("retn", simple, 0xed45) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:640:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 640 | mnemo ("rla", simple, 0x17 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:640:25: note: (near initialization for 'mz80[44].ptr') 640 | mnemo ("rla", simple, 0x17 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:641:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 641 | mnemo ("rlca", simple, 0x07 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:641:25: note: (near initialization for 'mz80[45].ptr') 641 | mnemo ("rlca", simple, 0x07 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:642:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 642 | mnemo ("rld", simple, 0xed6f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:642:25: note: (near initialization for 'mz80[46].ptr') 642 | mnemo ("rld", simple, 0xed6f) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:643:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 643 | mnemo ("rra", simple, 0x1f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:643:25: note: (near initialization for 'mz80[47].ptr') 643 | mnemo ("rra", simple, 0x1f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:644:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 644 | mnemo ("rrca", simple, 0x0f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:644:25: note: (near initialization for 'mz80[48].ptr') 644 | mnemo ("rrca", simple, 0x0f ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:645:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 645 | mnemo ("rrd", simple, 0xed67) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:645:25: note: (near initialization for 'mz80[49].ptr') 645 | mnemo ("rrd", simple, 0xed67) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:646:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 646 | mnemo ("scf", simple, 0x37 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:646:25: note: (near initialization for 'mz80[50].ptr') 646 | mnemo ("scf", simple, 0x37 ) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:187:1: note: 'simple' declared here 187 | simple(int code, char *label, char *mnemo, char *oper) /* simple instruction */ | ^~~~~~ cpuz80.c:648:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 648 | mnemo ("im", im, 0 ) /* Specials */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:648:25: note: (near initialization for 'mz80[51].ptr') 648 | mnemo ("im", im, 0 ) /* Specials */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:198:1: note: 'im' declared here 198 | im(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:649:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 649 | mnemo ("rst", rst, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:649:25: note: (near initialization for 'mz80[52].ptr') 649 | mnemo ("rst", rst, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:215:1: note: 'rst' declared here 215 | rst(int code, char *label, char *mnemo, char *oper) | ^~~ cpuz80.c:650:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 650 | mnemo ("djnz", relbranch, 0x10 ) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:650:25: note: (near initialization for 'mz80[53].ptr') 650 | mnemo ("djnz", relbranch, 0x10 ) | ^~~~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:160:1: note: 'relbranch' declared here 160 | relbranch(int code, char *label, char *mnemo, char *oper) /* relative branchs */ | ^~~~~~~~~ cpuz80.c:651:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 651 | mnemo ("jr", jr, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:651:25: note: (near initialization for 'mz80[54].ptr') 651 | mnemo ("jr", jr, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:249:1: note: 'jr' declared here 249 | jr(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:652:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 652 | mnemo ("jp", jp, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:652:25: note: (near initialization for 'mz80[55].ptr') 652 | mnemo ("jp", jp, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:294:1: note: 'jp' declared here 294 | jp(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:653:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 653 | mnemo ("call", call, 0 ) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:653:25: note: (near initialization for 'mz80[56].ptr') 653 | mnemo ("call", call, 0 ) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:276:1: note: 'call' declared here 276 | call(int code, char *label, char *mnemo, char *oper) | ^~~~ cpuz80.c:654:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 654 | mnemo ("ret" , ret, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:654:25: note: (near initialization for 'mz80[57].ptr') 654 | mnemo ("ret" , ret, 0 ) | ^~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:257:1: note: 'ret' declared here 257 | ret(int code, char *label, char *mnemo, char *oper) | ^~~ cpuz80.c:655:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 655 | mnemo ("ex", ex, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:655:25: note: (near initialization for 'mz80[58].ptr') 655 | mnemo ("ex", ex, 0 ) | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:323:1: note: 'ex' declared here 323 | ex(int code, char *label, char *mnemo, char *oper) | ^~ cpuz80.c:656:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 656 | mnemo ("in", inout, 0xdb ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:656:25: note: (near initialization for 'mz80[59].ptr') 656 | mnemo ("in", inout, 0xdb ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:353:1: note: 'inout' declared here 353 | inout(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:657:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 657 | mnemo ("out", inout, 0xd3 ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:657:25: note: (near initialization for 'mz80[60].ptr') 657 | mnemo ("out", inout, 0xd3 ) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:353:1: note: 'inout' declared here 353 | inout(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:660:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 660 | mnemo ("bit", bitop, 0xcb40) /* Quasi regulars */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:660:25: note: (near initialization for 'mz80[61].ptr') 660 | mnemo ("bit", bitop, 0xcb40) /* Quasi regulars */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:389:1: note: 'bitop' declared here 389 | bitop(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:661:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 661 | mnemo ("set", bitop, 0xcbc0) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:661:25: note: (near initialization for 'mz80[62].ptr') 661 | mnemo ("set", bitop, 0xcbc0) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:389:1: note: 'bitop' declared here 389 | bitop(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:662:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 662 | mnemo ("res", bitop, 0xcb80) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:662:25: note: (near initialization for 'mz80[63].ptr') 662 | mnemo ("res", bitop, 0xcb80) | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:389:1: note: 'bitop' declared here 389 | bitop(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:664:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 664 | mnemo ("sla", onreg8, 0xcb20) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:664:25: note: (near initialization for 'mz80[64].ptr') 664 | mnemo ("sla", onreg8, 0xcb20) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:665:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 665 | mnemo ("sra", onreg8, 0xcb28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:665:25: note: (near initialization for 'mz80[65].ptr') 665 | mnemo ("sra", onreg8, 0xcb28) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:666:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 666 | mnemo ("srl", onreg8, 0xcb38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:666:25: note: (near initialization for 'mz80[66].ptr') 666 | mnemo ("srl", onreg8, 0xcb38) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:667:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 667 | mnemo ("rl", onreg8, 0xcb10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:667:25: note: (near initialization for 'mz80[67].ptr') 667 | mnemo ("rl", onreg8, 0xcb10) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:668:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 668 | mnemo ("rr", onreg8, 0xcb18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:668:25: note: (near initialization for 'mz80[68].ptr') 668 | mnemo ("rr", onreg8, 0xcb18) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:669:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 669 | mnemo ("rlc", onreg8, 0xcb00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:669:25: note: (near initialization for 'mz80[69].ptr') 669 | mnemo ("rlc", onreg8, 0xcb00) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:670:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 670 | mnemo ("rrc", onreg8, 0xcb08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:670:25: note: (near initialization for 'mz80[70].ptr') 670 | mnemo ("rrc", onreg8, 0xcb08) | ^~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:412:1: note: 'onreg8' declared here 412 | onreg8(int code, char *label, char *mnemo, char *oper) | ^~~~~~ cpuz80.c:672:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 672 | mnemo ("or", logical, 0xb0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:672:25: note: (near initialization for 'mz80[71].ptr') 672 | mnemo ("or", logical, 0xb0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:673:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 673 | mnemo ("and", logical, 0xa0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:673:25: note: (near initialization for 'mz80[72].ptr') 673 | mnemo ("and", logical, 0xa0 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:674:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 674 | mnemo ("xor", logical, 0xa8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:674:25: note: (near initialization for 'mz80[73].ptr') 674 | mnemo ("xor", logical, 0xa8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:675:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 675 | mnemo ("sub", logical, 0x90 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:675:25: note: (near initialization for 'mz80[74].ptr') 675 | mnemo ("sub", logical, 0x90 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:676:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 676 | mnemo ("cp", logical, 0xb8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:676:25: note: (near initialization for 'mz80[75].ptr') 676 | mnemo ("cp", logical, 0xb8 ) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:424:1: note: 'logical' declared here 424 | logical(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:678:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 678 | mnemo ("push", stackop, 0xc5-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:678:25: note: (near initialization for 'mz80[76].ptr') 678 | mnemo ("push", stackop, 0xc5-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:446:1: note: 'stackop' declared here 446 | stackop(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:679:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 679 | mnemo ("pop", stackop, 0xc1-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:679:25: note: (near initialization for 'mz80[77].ptr') 679 | mnemo ("pop", stackop, 0xc1-0x80) | ^~~~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:446:1: note: 'stackop' declared here 446 | stackop(int code, char *label, char *mnemo, char *oper) | ^~~~~~~ cpuz80.c:681:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 681 | mnemo ("adc", arith, 0x88) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:681:25: note: (near initialization for 'mz80[78].ptr') 681 | mnemo ("adc", arith, 0x88) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:462:1: note: 'arith' declared here 462 | arith(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:682:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 682 | mnemo ("sbc", arith, 0x98) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:682:25: note: (near initialization for 'mz80[79].ptr') 682 | mnemo ("sbc", arith, 0x98) /* no index */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:462:1: note: 'arith' declared here 462 | arith(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:683:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 683 | mnemo ("add", arith, 0x80) /* index ok */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:683:25: note: (near initialization for 'mz80[80].ptr') 683 | mnemo ("add", arith, 0x80) /* index ok */ | ^~~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:462:1: note: 'arith' declared here 462 | arith(int code, char *label, char *mnemo, char *oper) | ^~~~~ cpuz80.c:685:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 685 | mnemo ("inc", incr, 0x0403) /* (*8) */ | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:685:25: note: (near initialization for 'mz80[81].ptr') 685 | mnemo ("inc", incr, 0x0403) /* (*8) */ | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:495:1: note: 'incr' declared here 495 | incr(int code, char *label, char *mnemo, char *oper) | ^~~~ cpuz80.c:686:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 686 | mnemo ("dec", incr, 0x050b) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:686:25: note: (near initialization for 'mz80[82].ptr') 686 | mnemo ("dec", incr, 0x050b) | ^~~~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:495:1: note: 'incr' declared here 495 | incr(int code, char *label, char *mnemo, char *oper) | ^~~~ cpuz80.c:688:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, char *, char *, char *)' [-Wincompatible-pointer-types] 688 | mnemo ("ld", ld, 0) /* heavy magic !! */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:688:25: note: (near initialization for 'mz80[83].ptr') 688 | mnemo ("ld", ld, 0) /* heavy magic !! */ | ^~ cpu.h:36:66: note: in definition of macro 'mnemo' 36 | #define mnemo(n,c,p) {0,0,n,NOREDEF,L_MNEMO,p,c}, | ^ cpuz80.c:519:1: note: 'ld' declared here 519 | ld(int code, char *label, char *mnemo, char *oper) | ^~ make[2]: *** [: cpulist.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [: parse.o] Error 1 make[2]: *** [: crasm.o] Error 1 make[2]: *** [: stdvocabulary.o] Error 1 make[2]: *** [: cpuz80.o] Error 1 make[2]: *** [: cpu6800.o] Error 1 make[2]: *** [: pseudos.o] Error 1 make[2]: *** [: cpu6502.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/crasm-1.8/src' make[1]: *** [Makefile:9: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/crasm-1.8' dh_auto_build: error: make -j42 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:11: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1687057 and its subdirectories crasm failed to build from source. removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/forky/amd64/crasm_1.8-3.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/forky/amd64/crasm_1.8-3.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/forky/amd64/crasm_1.8-3.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/forky/amd64/crasm_1.8-3.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/forky/amd64/crasm_1.8-3_amd64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/forky/amd64/crasm_1.8-3.diff.gz' Tue Sep 16 13:07:19 UTC 2025 W: No second build log, what happened? Compressing the 1st log... b1/build.log: 94.6% -- replaced with stdout Tue Sep 16 13:07:20 UTC 2025 I: https://tests.reproducible-builds.org/debian/forky/amd64/crasm : reproducible ➤ FTBFS INSERT 0 1 INSERT 0 1 DELETE 1 [2025-09-16 13:07:20] INFO: Starting at 2025-09-16 13:07:20.458748 [2025-09-16 13:07:20] INFO: Generating the pages of 1 package(s) [2025-09-16 13:07:20] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/crasm_1.8-3.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/crasm_1.8-3.diff.gz is missing [2025-09-16 13:07:20] CRITICAL: https://tests.reproducible-builds.org/debian/forky/amd64/crasm didn't produce a buildlog, even though it has been built. [2025-09-16 13:07:20] INFO: Finished at 2025-09-16 13:07:20.734439, took: 0:00:00.275694 Tue Sep 16 13:07:20 UTC 2025 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/forky/amd64/crasm.html [2025-09-16 13:07:21] INFO: Starting at 2025-09-16 13:07:21.021542 [2025-09-16 13:07:21] INFO: Scheduling packages in amd64/forky [2025-09-16 13:07:21] INFO: jenkins scheduled in forky/amd64, reason: 'reproducible ➤ FTBFS': crasm [2025-09-16 13:07:21] INFO: Finished at 2025-09-16 13:07:21.409843, took: 0:00:00.388307 Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/forky/amd64/crasm_1.8-3.rbuild.log: 94.1% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/forky/amd64/crasm_1.8-3.rbuild.log.gz [2025-09-16 13:07:21] INFO: Starting at 2025-09-16 13:07:21.721149 [2025-09-16 13:07:21] INFO: Generating the pages of 1 package(s) [2025-09-16 13:07:21] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/crasm_1.8-3.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/crasm_1.8-3.diff.gz is missing [2025-09-16 13:07:21] ERROR: Either /var/lib/jenkins/userContent/reproducible/debian/logs/forky/amd64/crasm_1.8-3.build2.log.gz or /var/lib/jenkins/userContent/reproducible/debian/logdiffs/forky/amd64/crasm_1.8-3.diff.gz is missing [2025-09-16 13:07:21] INFO: Finished at 2025-09-16 13:07:21.983002, took: 0:00:00.261856 All cleanup done. Tue Sep 16 13:07:22 UTC 2025 - total duration: 0h 3m 9s. Tue Sep 16 13:07:22 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-hsV385XV, removing. Finished with result: success Main processes terminated with: code=exited, status=0/SUCCESS Service runtime: 3min 11.107s CPU time consumed: 3.058s Memory peak: 59.4M (swap: 0B)