sbuild (Debian sbuild) 0.85.0 (04 January 2023) on debian-ci-siliconvalley +==============================================================================+ | pccts 1.33MR33-6.5 (riscv64) Fri, 10 Oct 2025 15:23:25 +0000 | +==============================================================================+ Package: pccts Version: 1.33MR33-6.5 Source Version: 1.33MR33-6.5 Distribution: unstable Machine Architecture: amd64 Host Architecture: riscv64 Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-f5a6eb1d-d6c6-4dbd-a40f-892403527220' with '<>' I: NOTICE: Log filtering will replace 'build/pccts-TuObt1/resolver-FKXDEZ' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://localhost:3142/debian unstable InRelease [207 kB] Get:2 http://localhost:3142/debian unstable/main Sources.diff/Index [63.6 kB] Get:3 http://localhost:3142/debian unstable/main amd64 Packages.diff/Index [63.6 kB] Get:4 http://localhost:3142/debian unstable/main Sources T-2025-10-10-1408.48-F-2025-10-10-0206.31.pdiff [39.2 kB] Get:4 http://localhost:3142/debian unstable/main Sources T-2025-10-10-1408.48-F-2025-10-10-0206.31.pdiff [39.2 kB] Get:5 http://localhost:3142/debian unstable/main amd64 Packages T-2025-10-10-1408.48-F-2025-10-10-0206.31.pdiff [64.4 kB] Get:5 http://localhost:3142/debian unstable/main amd64 Packages T-2025-10-10-1408.48-F-2025-10-10-0206.31.pdiff [64.4 kB] Get:6 http://localhost:3142/debian unstable/main riscv64 Packages [9828 kB] Fetched 10.3 MB in 3s (3002 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following package was automatically installed and is no longer required: bsdutils Use 'apt autoremove' to remove it. The following packages will be upgraded: bsdutils libblkid1 libmount1 libsmartcols1 libuuid1 login mount util-linux 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 2094 kB of archives. After this operation, 8192 B of additional disk space will be used. Get:1 http://localhost:3142/debian unstable/main amd64 libblkid1 amd64 2.41.2-4 [174 kB] Get:2 http://localhost:3142/debian unstable/main amd64 libmount1 amd64 2.41.2-4 [211 kB] Get:3 http://localhost:3142/debian unstable/main amd64 libsmartcols1 amd64 2.41.2-4 [145 kB] Get:4 http://localhost:3142/debian unstable/main amd64 mount amd64 2.41.2-4 [163 kB] Get:5 http://localhost:3142/debian unstable/main amd64 libuuid1 amd64 2.41.2-4 [38.7 kB] Get:6 http://localhost:3142/debian unstable/main amd64 util-linux amd64 2.41.2-4 [1163 kB] Get:7 http://localhost:3142/debian unstable/main amd64 login amd64 1:4.16.0-2+really2.41.2-4 [105 kB] Get:8 http://localhost:3142/debian unstable/main amd64 bsdutils amd64 1:2.41.2-4 [93.5 kB] Fetched 2094 kB in 0s (118 MB/s) (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 ... 12899 files and directories currently installed.) Preparing to unpack .../libblkid1_2.41.2-4_amd64.deb ... Unpacking libblkid1:amd64 (2.41.2-4) over (2.41.2-3) ... Setting up libblkid1:amd64 (2.41.2-4) ... (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 ... 12899 files and directories currently installed.) Preparing to unpack .../libmount1_2.41.2-4_amd64.deb ... Unpacking libmount1:amd64 (2.41.2-4) over (2.41.2-3) ... Setting up libmount1:amd64 (2.41.2-4) ... (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 ... 12899 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.41.2-4_amd64.deb ... Unpacking libsmartcols1:amd64 (2.41.2-4) over (2.41.2-3) ... Setting up libsmartcols1:amd64 (2.41.2-4) ... (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 ... 12899 files and directories currently installed.) Preparing to unpack .../mount_2.41.2-4_amd64.deb ... Unpacking mount (2.41.2-4) over (2.41.2-3) ... Preparing to unpack .../libuuid1_2.41.2-4_amd64.deb ... Unpacking libuuid1:amd64 (2.41.2-4) over (2.41.2-3) ... Setting up libuuid1:amd64 (2.41.2-4) ... (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 ... 12899 files and directories currently installed.) Preparing to unpack .../util-linux_2.41.2-4_amd64.deb ... Unpacking util-linux (2.41.2-4) over (2.41.2-3) ... Setting up util-linux (2.41.2-4) ... (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 ... 12899 files and directories currently installed.) Preparing to unpack .../login_1%3a4.16.0-2+really2.41.2-4_amd64.deb ... Unpacking login (1:4.16.0-2+really2.41.2-4) over (1:4.16.0-2+really2.41.2-3) ... Preparing to unpack .../bsdutils_1%3a2.41.2-4_amd64.deb ... Unpacking bsdutils (1:2.41.2-4) over (1:2.41.2-3) ... Setting up bsdutils (1:2.41.2-4) ... Setting up mount (2.41.2-4) ... Setting up login (1:4.16.0-2+really2.41.2-4) ... Processing triggers for libc-bin (2.41-12) ... +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'pccts' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/pccts.git Please use: git clone https://salsa.debian.org/debian/pccts.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 561 kB of source archives. Get:1 http://localhost:3142/debian unstable/main pccts 1.33MR33-6.5 (dsc) [1846 B] Get:2 http://localhost:3142/debian unstable/main pccts 1.33MR33-6.5 (tar) [550 kB] Get:3 http://localhost:3142/debian unstable/main pccts 1.33MR33-6.5 (diff) [8536 B] Fetched 561 kB in 1s (649 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/pccts-TuObt1/pccts-1.33MR33' with '<>' I: NOTICE: Log filtering will replace 'build/pccts-TuObt1' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 13), libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-riscv64:amd64, libc-dev:riscv64, libstdc++-dev:riscv64 Filtered Build-Depends: debhelper-compat (= 13), libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-riscv64:amd64, libc-dev:riscv64, libstdc++-dev:riscv64 dpkg-deb: warning: root directory /<>/sbuild-build-depends-main-dummy has unusual owner or group 1000:119 dpkg-deb: hint: you might need to pass --root-owner-group, see for further details dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [609 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [720 B] Get:5 copy:/<>/apt_archive ./ Packages [765 B] Fetched 2094 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... Execute external solver... The following additional packages will be installed: autoconf automake autopoint autotools-dev binutils-riscv64-linux-gnu bsdextrautils cpp-15-riscv64-linux-gnu cpp-riscv64-linux-gnu crossbuild-essential-riscv64 debhelper dh-autoreconf dh-strip-nondeterminism dwz fakeroot file g++-15-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-15-base:riscv64 gcc-15-cross-base gcc-15-riscv64-linux-gnu gcc-15-riscv64-linux-gnu-base gcc-riscv64-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan8:riscv64 libasan8-riscv64-cross libatomic1:riscv64 libatomic1-riscv64-cross libc6:riscv64 libc6-dev:riscv64 libc6-dev-riscv64-cross libc6-riscv64-cross libcrypt-dev:riscv64 libcrypt1:riscv64 libdebhelper-perl libelf1t64 libfakeroot libfile-stripnondeterminism-perl libgcc-15-dev:riscv64 libgcc-15-dev-riscv64-cross libgcc-s1:riscv64 libgcc-s1-riscv64-cross libgomp1:riscv64 libgomp1-riscv64-cross libitm1:riscv64 libitm1-riscv64-cross liblsan0:riscv64 liblsan0-riscv64-cross libmagic-mgc libmagic1t64 libpipeline1 libstdc++-15-dev:riscv64 libstdc++-15-dev-riscv64-cross libstdc++6:riscv64 libstdc++6-riscv64-cross libtool libtsan2:riscv64 libtsan2-riscv64-cross libubsan1:riscv64 libubsan1-riscv64-cross libuchardet0 libunistring5 libxml2-16 linux-libc-dev-riscv64-cross m4 man-db po-debconf sensible-utils Suggested packages: autoconf-archive gnu-standards autoconf-doc binutils-doc gcc-15-locales cpp-15-doc cpp-doc dh-make gcc-15-doc manpages-dev flex bison gdb-riscv64-linux-gnu gcc-doc gettext-doc libasprintf-dev libgettextpo-dev gnulib-l10n groff glibc-doc:riscv64 libc-l10n:riscv64 locales:riscv64 libnss-nis:riscv64 libnss-nisplus:riscv64 manpages-dev:riscv64 libstdc++-15-doc:riscv64 libtool-doc gfortran | fortran95-compiler m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libidn2-0:riscv64 libarchive-cpio-perl libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev binutils-riscv64-linux-gnu bsdextrautils cpp-15-riscv64-linux-gnu cpp-riscv64-linux-gnu crossbuild-essential-riscv64 debhelper dh-autoreconf dh-strip-nondeterminism dwz fakeroot file g++-15-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-15-base:riscv64 gcc-15-cross-base gcc-15-riscv64-linux-gnu gcc-15-riscv64-linux-gnu-base gcc-riscv64-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan8:riscv64 libasan8-riscv64-cross libatomic1:riscv64 libatomic1-riscv64-cross libc6:riscv64 libc6-dev:riscv64 libc6-dev-riscv64-cross libc6-riscv64-cross libcrypt-dev:riscv64 libcrypt1:riscv64 libdebhelper-perl libelf1t64 libfakeroot libfile-stripnondeterminism-perl libgcc-15-dev:riscv64 libgcc-15-dev-riscv64-cross libgcc-s1:riscv64 libgcc-s1-riscv64-cross libgomp1:riscv64 libgomp1-riscv64-cross libitm1:riscv64 libitm1-riscv64-cross liblsan0:riscv64 liblsan0-riscv64-cross libmagic-mgc libmagic1t64 libpipeline1 libstdc++-15-dev:riscv64 libstdc++-15-dev-riscv64-cross libstdc++6:riscv64 libstdc++6-riscv64-cross libtool libtsan2:riscv64 libtsan2-riscv64-cross libubsan1:riscv64 libubsan1-riscv64-cross libuchardet0 libunistring5 libxml2-16 linux-libc-dev-riscv64-cross m4 man-db po-debconf sbuild-build-depends-main-dummy:riscv64 sensible-utils 0 upgraded, 72 newly installed, 0 to remove and 0 not upgraded. Need to get 383 MB of archives. After this operation, 2037 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [916 B] Get:2 http://localhost:3142/debian unstable/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get:3 http://localhost:3142/debian unstable/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get:4 http://localhost:3142/debian unstable/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get:5 http://localhost:3142/debian unstable/main amd64 file amd64 1:5.46-5 [43.6 kB] Get:6 http://localhost:3142/debian unstable/main amd64 gettext-base amd64 0.23.1-2+b1 [244 kB] Get:7 http://localhost:3142/debian unstable/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get:8 http://localhost:3142/debian unstable/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get:9 http://localhost:3142/debian unstable/main amd64 bsdextrautils amd64 2.41.2-4 [98.5 kB] Get:10 http://localhost:3142/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get:11 http://localhost:3142/debian unstable/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get:12 http://localhost:3142/debian unstable/main amd64 m4 amd64 1.4.20-2 [325 kB] Get:13 http://localhost:3142/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB] Get:14 http://localhost:3142/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get:15 http://localhost:3142/debian unstable/main amd64 automake all 1:1.17-4 [862 kB] Get:16 http://localhost:3142/debian unstable/main amd64 autopoint all 0.23.1-2 [770 kB] Get:17 http://localhost:3142/debian unstable/main amd64 binutils-riscv64-linux-gnu amd64 2.45-7 [1563 kB] Get:18 http://localhost:3142/debian unstable/main amd64 gcc-15-riscv64-linux-gnu-base amd64 15.2.0-4cross1 [53.0 kB] Get:19 http://localhost:3142/debian unstable/main amd64 cpp-15-riscv64-linux-gnu amd64 15.2.0-4cross1 [99.5 MB] Get:20 http://localhost:3142/debian unstable/main amd64 cpp-riscv64-linux-gnu amd64 4:15.2.0-4 [5288 B] Get:21 http://localhost:3142/debian unstable/main amd64 gcc-15-cross-base all 15.2.0-4cross1 [48.4 kB] Get:22 http://localhost:3142/debian unstable/main amd64 libc6-riscv64-cross all 2.41-11cross1 [1170 kB] Get:23 http://localhost:3142/debian unstable/main amd64 libgcc-s1-riscv64-cross all 15.2.0-4cross1 [61.6 kB] Get:24 http://localhost:3142/debian unstable/main amd64 libgomp1-riscv64-cross all 15.2.0-4cross1 [129 kB] Get:25 http://localhost:3142/debian unstable/main amd64 libitm1-riscv64-cross all 15.2.0-4cross1 [24.9 kB] Get:26 http://localhost:3142/debian unstable/main amd64 libatomic1-riscv64-cross all 15.2.0-4cross1 [8220 B] Get:27 http://localhost:3142/debian unstable/main amd64 libasan8-riscv64-cross all 15.2.0-4cross1 [2925 kB] Get:28 http://localhost:3142/debian unstable/main amd64 liblsan0-riscv64-cross all 15.2.0-4cross1 [1324 kB] Get:29 http://localhost:3142/debian unstable/main amd64 libtsan2-riscv64-cross all 15.2.0-4cross1 [2641 kB] Get:30 http://localhost:3142/debian unstable/main amd64 libstdc++6-riscv64-cross all 15.2.0-4cross1 [665 kB] Get:31 http://localhost:3142/debian unstable/main amd64 libubsan1-riscv64-cross all 15.2.0-4cross1 [1177 kB] Get:32 http://localhost:3142/debian unstable/main amd64 libgcc-15-dev-riscv64-cross all 15.2.0-4cross1 [5687 kB] Get:33 http://localhost:3142/debian unstable/main amd64 gcc-15-riscv64-linux-gnu amd64 15.2.0-4cross1 [111 MB] Get:34 http://localhost:3142/debian unstable/main amd64 gcc-riscv64-linux-gnu amd64 4:15.2.0-4 [1444 B] Get:35 http://localhost:3142/debian unstable/main amd64 linux-libc-dev-riscv64-cross all 6.12.38-1cross1 [2440 kB] Get:36 http://localhost:3142/debian unstable/main amd64 libc6-dev-riscv64-cross all 2.41-11cross1 [3121 kB] Get:37 http://localhost:3142/debian unstable/main amd64 libstdc++-15-dev-riscv64-cross all 15.2.0-4cross1 [6427 kB] Get:38 http://localhost:3142/debian unstable/main amd64 g++-15-riscv64-linux-gnu amd64 15.2.0-4cross1 [105 MB] Get:39 http://localhost:3142/debian unstable/main amd64 g++-riscv64-linux-gnu amd64 4:15.2.0-4 [1200 B] Get:40 http://localhost:3142/debian unstable/main amd64 crossbuild-essential-riscv64 all 12.12 [3544 B] Get:41 http://localhost:3142/debian unstable/main amd64 libdebhelper-perl all 13.28 [92.4 kB] Get:42 http://localhost:3142/debian unstable/main amd64 libtool all 2.5.4-5 [540 kB] Get:43 http://localhost:3142/debian unstable/main amd64 dh-autoreconf all 21 [12.2 kB] Get:44 http://localhost:3142/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get:45 http://localhost:3142/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get:46 http://localhost:3142/debian unstable/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get:47 http://localhost:3142/debian unstable/main amd64 libelf1t64 amd64 0.193-3 [192 kB] Get:48 http://localhost:3142/debian unstable/main amd64 dwz amd64 0.16-2 [108 kB] Get:49 http://localhost:3142/debian unstable/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get:50 http://localhost:3142/debian unstable/main amd64 libxml2-16 amd64 2.14.6+dfsg-0.1 [651 kB] Get:51 http://localhost:3142/debian unstable/main amd64 gettext amd64 0.23.1-2+b1 [1680 kB] Get:52 http://localhost:3142/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get:53 http://localhost:3142/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get:54 http://localhost:3142/debian unstable/main amd64 debhelper all 13.28 [941 kB] Get:55 http://localhost:3142/debian unstable/main amd64 libfakeroot amd64 1.37.1.2-1 [29.7 kB] Get:56 http://localhost:3142/debian unstable/main amd64 fakeroot amd64 1.37.1.2-1 [76.0 kB] Get:57 http://localhost:3142/debian unstable/main riscv64 gcc-15-base riscv64 15.2.0-4 [52.8 kB] Get:58 http://localhost:3142/debian unstable/main riscv64 libgcc-s1 riscv64 15.2.0-4 [61.5 kB] Get:59 http://localhost:3142/debian unstable/main riscv64 libc6 riscv64 2.41-12 [2472 kB] Get:60 http://localhost:3142/debian unstable/main riscv64 libasan8 riscv64 15.2.0-4 [2938 kB] Get:61 http://localhost:3142/debian unstable/main riscv64 libatomic1 riscv64 15.2.0-4 [8532 B] Get:62 http://localhost:3142/debian unstable/main riscv64 libcrypt1 riscv64 1:4.4.38-1 [106 kB] Get:63 http://localhost:3142/debian unstable/main riscv64 libcrypt-dev riscv64 1:4.4.38-1 [221 kB] Get:64 http://localhost:3142/debian unstable/main riscv64 libc6-dev riscv64 2.41-12 [3127 kB] Get:65 http://localhost:3142/debian unstable/main riscv64 libgomp1 riscv64 15.2.0-4 [131 kB] Get:66 http://localhost:3142/debian unstable/main riscv64 libitm1 riscv64 15.2.0-4 [25.5 kB] Get:67 http://localhost:3142/debian unstable/main riscv64 liblsan0 riscv64 15.2.0-4 [1326 kB] Get:68 http://localhost:3142/debian unstable/main riscv64 libtsan2 riscv64 15.2.0-4 [2652 kB] Get:69 http://localhost:3142/debian unstable/main riscv64 libstdc++6 riscv64 15.2.0-4 [714 kB] Get:70 http://localhost:3142/debian unstable/main riscv64 libubsan1 riscv64 15.2.0-4 [1177 kB] Get:71 http://localhost:3142/debian unstable/main riscv64 libgcc-15-dev riscv64 15.2.0-4 [5686 kB] Get:72 http://localhost:3142/debian unstable/main riscv64 libstdc++-15-dev riscv64 15.2.0-4 [6140 kB] Preconfiguring packages ... Fetched 383 MB in 2s (216 MB/s) Selecting previously unselected package sensible-utils. (Reading database ... 12899 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.2-4_amd64.deb ... Unpacking bsdextrautils (2.41.2-4) ... 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-2_amd64.deb ... Unpacking m4 (1.4.20-2) ... 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 binutils-riscv64-linux-gnu. Preparing to unpack .../15-binutils-riscv64-linux-gnu_2.45-7_amd64.deb ... Unpacking binutils-riscv64-linux-gnu (2.45-7) ... Selecting previously unselected package gcc-15-riscv64-linux-gnu-base:amd64. Preparing to unpack .../16-gcc-15-riscv64-linux-gnu-base_15.2.0-4cross1_amd64.deb ... Unpacking gcc-15-riscv64-linux-gnu-base:amd64 (15.2.0-4cross1) ... Selecting previously unselected package cpp-15-riscv64-linux-gnu. Preparing to unpack .../17-cpp-15-riscv64-linux-gnu_15.2.0-4cross1_amd64.deb ... Unpacking cpp-15-riscv64-linux-gnu (15.2.0-4cross1) ... Selecting previously unselected package cpp-riscv64-linux-gnu. Preparing to unpack .../18-cpp-riscv64-linux-gnu_4%3a15.2.0-4_amd64.deb ... Unpacking cpp-riscv64-linux-gnu (4:15.2.0-4) ... Selecting previously unselected package gcc-15-cross-base. Preparing to unpack .../19-gcc-15-cross-base_15.2.0-4cross1_all.deb ... Unpacking gcc-15-cross-base (15.2.0-4cross1) ... Selecting previously unselected package libc6-riscv64-cross. Preparing to unpack .../20-libc6-riscv64-cross_2.41-11cross1_all.deb ... Unpacking libc6-riscv64-cross (2.41-11cross1) ... Selecting previously unselected package libgcc-s1-riscv64-cross. Preparing to unpack .../21-libgcc-s1-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libgcc-s1-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libgomp1-riscv64-cross. Preparing to unpack .../22-libgomp1-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libgomp1-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libitm1-riscv64-cross. Preparing to unpack .../23-libitm1-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libitm1-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libatomic1-riscv64-cross. Preparing to unpack .../24-libatomic1-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libatomic1-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libasan8-riscv64-cross. Preparing to unpack .../25-libasan8-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libasan8-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package liblsan0-riscv64-cross. Preparing to unpack .../26-liblsan0-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking liblsan0-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libtsan2-riscv64-cross. Preparing to unpack .../27-libtsan2-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libtsan2-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libstdc++6-riscv64-cross. Preparing to unpack .../28-libstdc++6-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libstdc++6-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libubsan1-riscv64-cross. Preparing to unpack .../29-libubsan1-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libubsan1-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package libgcc-15-dev-riscv64-cross. Preparing to unpack .../30-libgcc-15-dev-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libgcc-15-dev-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package gcc-15-riscv64-linux-gnu. Preparing to unpack .../31-gcc-15-riscv64-linux-gnu_15.2.0-4cross1_amd64.deb ... Unpacking gcc-15-riscv64-linux-gnu (15.2.0-4cross1) ... Selecting previously unselected package gcc-riscv64-linux-gnu. Preparing to unpack .../32-gcc-riscv64-linux-gnu_4%3a15.2.0-4_amd64.deb ... Unpacking gcc-riscv64-linux-gnu (4:15.2.0-4) ... Selecting previously unselected package linux-libc-dev-riscv64-cross. Preparing to unpack .../33-linux-libc-dev-riscv64-cross_6.12.38-1cross1_all.deb ... Unpacking linux-libc-dev-riscv64-cross (6.12.38-1cross1) ... Selecting previously unselected package libc6-dev-riscv64-cross. Preparing to unpack .../34-libc6-dev-riscv64-cross_2.41-11cross1_all.deb ... Unpacking libc6-dev-riscv64-cross (2.41-11cross1) ... Selecting previously unselected package libstdc++-15-dev-riscv64-cross. Preparing to unpack .../35-libstdc++-15-dev-riscv64-cross_15.2.0-4cross1_all.deb ... Unpacking libstdc++-15-dev-riscv64-cross (15.2.0-4cross1) ... Selecting previously unselected package g++-15-riscv64-linux-gnu. Preparing to unpack .../36-g++-15-riscv64-linux-gnu_15.2.0-4cross1_amd64.deb ... Unpacking g++-15-riscv64-linux-gnu (15.2.0-4cross1) ... Selecting previously unselected package g++-riscv64-linux-gnu. Preparing to unpack .../37-g++-riscv64-linux-gnu_4%3a15.2.0-4_amd64.deb ... Unpacking g++-riscv64-linux-gnu (4:15.2.0-4) ... Selecting previously unselected package crossbuild-essential-riscv64. Preparing to unpack .../38-crossbuild-essential-riscv64_12.12_all.deb ... Unpacking crossbuild-essential-riscv64 (12.12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../39-libdebhelper-perl_13.28_all.deb ... Unpacking libdebhelper-perl (13.28) ... Selecting previously unselected package libtool. Preparing to unpack .../40-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../41-dh-autoreconf_21_all.deb ... Unpacking dh-autoreconf (21) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../42-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 .../43-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 .../44-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 .../45-libelf1t64_0.193-3_amd64.deb ... Unpacking libelf1t64:amd64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../46-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../47-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../48-libxml2-16_2.14.6+dfsg-0.1_amd64.deb ... Unpacking libxml2-16:amd64 (2.14.6+dfsg-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../49-gettext_0.23.1-2+b1_amd64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../50-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 .../51-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../52-debhelper_13.28_all.deb ... Unpacking debhelper (13.28) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../53-libfakeroot_1.37.1.2-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.37.1.2-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../54-fakeroot_1.37.1.2-1_amd64.deb ... Unpacking fakeroot (1.37.1.2-1) ... Selecting previously unselected package gcc-15-base:riscv64. Preparing to unpack .../55-gcc-15-base_15.2.0-4_riscv64.deb ... Unpacking gcc-15-base:riscv64 (15.2.0-4) ... Selecting previously unselected package libgcc-s1:riscv64. Preparing to unpack .../56-libgcc-s1_15.2.0-4_riscv64.deb ... Unpacking libgcc-s1:riscv64 (15.2.0-4) ... Selecting previously unselected package libc6:riscv64. Preparing to unpack .../57-libc6_2.41-12_riscv64.deb ... Unpacking libc6:riscv64 (2.41-12) ... Selecting previously unselected package libasan8:riscv64. Preparing to unpack .../58-libasan8_15.2.0-4_riscv64.deb ... Unpacking libasan8:riscv64 (15.2.0-4) ... Selecting previously unselected package libatomic1:riscv64. Preparing to unpack .../59-libatomic1_15.2.0-4_riscv64.deb ... Unpacking libatomic1:riscv64 (15.2.0-4) ... Selecting previously unselected package libcrypt1:riscv64. Preparing to unpack .../60-libcrypt1_1%3a4.4.38-1_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.38-1) ... Selecting previously unselected package libcrypt-dev:riscv64. Preparing to unpack .../61-libcrypt-dev_1%3a4.4.38-1_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.38-1) ... Selecting previously unselected package libc6-dev:riscv64. Preparing to unpack .../62-libc6-dev_2.41-12_riscv64.deb ... Unpacking libc6-dev:riscv64 (2.41-12) ... Selecting previously unselected package libgomp1:riscv64. Preparing to unpack .../63-libgomp1_15.2.0-4_riscv64.deb ... Unpacking libgomp1:riscv64 (15.2.0-4) ... Selecting previously unselected package libitm1:riscv64. Preparing to unpack .../64-libitm1_15.2.0-4_riscv64.deb ... Unpacking libitm1:riscv64 (15.2.0-4) ... Selecting previously unselected package liblsan0:riscv64. Preparing to unpack .../65-liblsan0_15.2.0-4_riscv64.deb ... Unpacking liblsan0:riscv64 (15.2.0-4) ... Selecting previously unselected package libtsan2:riscv64. Preparing to unpack .../66-libtsan2_15.2.0-4_riscv64.deb ... Unpacking libtsan2:riscv64 (15.2.0-4) ... Selecting previously unselected package libstdc++6:riscv64. Preparing to unpack .../67-libstdc++6_15.2.0-4_riscv64.deb ... Unpacking libstdc++6:riscv64 (15.2.0-4) ... Selecting previously unselected package libubsan1:riscv64. Preparing to unpack .../68-libubsan1_15.2.0-4_riscv64.deb ... Unpacking libubsan1:riscv64 (15.2.0-4) ... Selecting previously unselected package libgcc-15-dev:riscv64. Preparing to unpack .../69-libgcc-15-dev_15.2.0-4_riscv64.deb ... Unpacking libgcc-15-dev:riscv64 (15.2.0-4) ... Selecting previously unselected package libstdc++-15-dev:riscv64. Preparing to unpack .../70-libstdc++-15-dev_15.2.0-4_riscv64.deb ... Unpacking libstdc++-15-dev:riscv64 (15.2.0-4) ... Selecting previously unselected package sbuild-build-depends-main-dummy:riscv64. Preparing to unpack .../71-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy:riscv64 (0.invalid.0) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41.2-4) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.14.6+dfsg-0.1) ... Setting up libdebhelper-perl (13.28) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up binutils-riscv64-linux-gnu (2.45-7) ... Setting up m4 (1.4.20-2) ... Setting up file (1:5.46-5) ... Setting up libfakeroot:amd64 (1.37.1.2-1) ... Setting up libelf1t64:amd64 (0.193-3) ... Setting up fakeroot (1.37.1.2-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up autotools-dev (20240727.1) ... Setting up gcc-15-riscv64-linux-gnu-base:amd64 (15.2.0-4cross1) ... 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 linux-libc-dev-riscv64-cross (6.12.38-1cross1) ... Setting up cpp-15-riscv64-linux-gnu (15.2.0-4cross1) ... Setting up libc6-riscv64-cross (2.41-11cross1) ... Setting up gcc-15-cross-base (15.2.0-4cross1) ... Setting up libatomic1-riscv64-cross (15.2.0-4cross1) ... Setting up gcc-15-base:riscv64 (15.2.0-4) ... Setting up cpp-riscv64-linux-gnu (4:15.2.0-4) ... 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 libitm1-riscv64-cross (15.2.0-4cross1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (21) ... Setting up libgcc-s1-riscv64-cross (15.2.0-4cross1) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up libc6-dev-riscv64-cross (2.41-11cross1) ... Setting up libasan8-riscv64-cross (15.2.0-4cross1) ... Setting up libgomp1-riscv64-cross (15.2.0-4cross1) ... Setting up libstdc++6-riscv64-cross (15.2.0-4cross1) ... Setting up libubsan1-riscv64-cross (15.2.0-4cross1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up liblsan0-riscv64-cross (15.2.0-4cross1) ... Setting up libtsan2-riscv64-cross (15.2.0-4cross1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libgcc-15-dev-riscv64-cross (15.2.0-4cross1) ... Setting up libstdc++-15-dev-riscv64-cross (15.2.0-4cross1) ... Setting up gcc-15-riscv64-linux-gnu (15.2.0-4cross1) ... Setting up debhelper (13.28) ... Setting up gcc-riscv64-linux-gnu (4:15.2.0-4) ... Setting up g++-15-riscv64-linux-gnu (15.2.0-4cross1) ... Setting up g++-riscv64-linux-gnu (4:15.2.0-4) ... Setting up crossbuild-essential-riscv64 (12.12) ... Setting up libgcc-s1:riscv64 (15.2.0-4) ... Setting up libc6:riscv64 (2.41-12) ... Setting up libasan8:riscv64 (15.2.0-4) ... Setting up libtsan2:riscv64 (15.2.0-4) ... Setting up libstdc++6:riscv64 (15.2.0-4) ... Setting up liblsan0:riscv64 (15.2.0-4) ... Setting up libitm1:riscv64 (15.2.0-4) ... Setting up libcrypt1:riscv64 (1:4.4.38-1) ... Setting up libgomp1:riscv64 (15.2.0-4) ... Setting up libatomic1:riscv64 (15.2.0-4) ... Setting up libubsan1:riscv64 (15.2.0-4) ... Setting up libcrypt-dev:riscv64 (1:4.4.38-1) ... Setting up libc6-dev:riscv64 (2.41-12) ... Setting up libgcc-15-dev:riscv64 (15.2.0-4) ... Setting up libstdc++-15-dev:riscv64 (15.2.0-4) ... Setting up sbuild-build-depends-main-dummy:riscv64 (0.invalid.0) ... Processing triggers for libc-bin (2.41-12) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) amd64 (x86_64) Toolchain package versions: binutils_2.45-7 dpkg-dev_1.22.21 g++-15_15.2.0-4 gcc-15_15.2.0-4 libc6-dev_2.41-12 libstdc++-15-dev_15.2.0-4 libstdc++-15-dev-riscv64-cross_15.2.0-4cross1 libstdc++6_15.2.0-4 libstdc++6-riscv64-cross_15.2.0-4cross1 linux-libc-dev_6.16.11-1 Package versions: apt_3.1.8 apt-utils_3.1.8 autoconf_2.72-3.1 automake_1:1.17-4 autopoint_0.23.1-2 autotools-dev_20240727.1 base-files_14 base-passwd_3.6.7 bash_5.3-1 binutils_2.45-7 binutils-common_2.45-7 binutils-riscv64-linux-gnu_2.45-7 binutils-x86-64-linux-gnu_2.45-7 bsdextrautils_2.41.2-4 bsdutils_1:2.41.2-4 build-essential_12.12 bzip2_1.0.8-6 coreutils_9.7-3 cpp_4:15.2.0-4 cpp-15_15.2.0-4 cpp-15-riscv64-linux-gnu_15.2.0-4cross1 cpp-15-x86-64-linux-gnu_15.2.0-4 cpp-riscv64-linux-gnu_4:15.2.0-4 cpp-x86-64-linux-gnu_4:15.2.0-4 crossbuild-essential-riscv64_12.12 dash_0.5.12-12 debconf_1.5.91 debhelper_13.28 debian-archive-keyring_2025.1 debianutils_5.23.2 dh-autoreconf_21 dh-strip-nondeterminism_1.15.0-1 diffutils_1:3.10-4 dpkg_1.22.21 dpkg-dev_1.22.21 dwz_0.16-2 fakeroot_1.37.1.2-1 file_1:5.46-5 findutils_4.10.0-3 g++_4:15.2.0-4 g++-15_15.2.0-4 g++-15-riscv64-linux-gnu_15.2.0-4cross1 g++-15-x86-64-linux-gnu_15.2.0-4 g++-riscv64-linux-gnu_4:15.2.0-4 g++-x86-64-linux-gnu_4:15.2.0-4 gcc_4:15.2.0-4 gcc-15_15.2.0-4 gcc-15-base_15.2.0-4 gcc-15-cross-base_15.2.0-4cross1 gcc-15-riscv64-linux-gnu_15.2.0-4cross1 gcc-15-riscv64-linux-gnu-base_15.2.0-4cross1 gcc-15-x86-64-linux-gnu_15.2.0-4 gcc-riscv64-linux-gnu_4:15.2.0-4 gcc-x86-64-linux-gnu_4:15.2.0-4 gettext_0.23.1-2+b1 gettext-base_0.23.1-2+b1 grep_3.12-1 groff-base_1.23.0-9 gzip_1.13-1 hostname_3.25 init-system-helpers_1.69 intltool-debian_0.35.0+20060710.6 libacl1_2.3.2-2+b1 libapt-pkg7.0_3.1.8 libarchive-zip-perl_1.68-1 libasan8_15.2.0-4 libasan8-riscv64-cross_15.2.0-4cross1 libatomic1_15.2.0-4 libatomic1-riscv64-cross_15.2.0-4cross1 libattr1_1:2.5.2-3 libaudit-common_1:4.1.2-1 libaudit1_1:4.1.2-1 libbinutils_2.45-7 libblkid1_2.41.2-4 libbsd0_0.12.2-2 libbz2-1.0_1.0.8-6 libc-bin_2.41-12 libc-dev-bin_2.41-12 libc6_2.41-12 libc6-dev_2.41-12 libc6-dev-riscv64-cross_2.41-11cross1 libc6-riscv64-cross_2.41-11cross1 libcap-ng0_0.8.5-4+b1 libcap2_1:2.75-10+b1 libcc1-0_15.2.0-4 libcrypt-dev_1:4.4.38-1 libcrypt1_1:4.4.38-1 libctf-nobfd0_2.45-7 libctf0_2.45-7 libdb5.3t64_5.3.28+dfsg2-10 libdebconfclient0_0.280 libdebhelper-perl_13.28 libdpkg-perl_1.22.21 libelf1t64_0.193-3 libfakeroot_1.37.1.2-1 libfile-stripnondeterminism-perl_1.15.0-1 libgcc-15-dev_15.2.0-4 libgcc-15-dev-riscv64-cross_15.2.0-4cross1 libgcc-s1_15.2.0-4 libgcc-s1-riscv64-cross_15.2.0-4cross1 libgdbm-compat4t64_1.26-1 libgdbm6t64_1.26-1 libgmp10_2:6.3.0+dfsg-5 libgomp1_15.2.0-4 libgomp1-riscv64-cross_15.2.0-4cross1 libgprofng0_2.45-7 libhogweed6t64_3.10.2-1 libhwasan0_15.2.0-4 libisl23_0.27-1 libitm1_15.2.0-4 libitm1-riscv64-cross_15.2.0-4cross1 libjansson4_2.14-2+b3 liblsan0_15.2.0-4 liblsan0-riscv64-cross_15.2.0-4cross1 liblz4-1_1.10.0-4 liblzma5_5.8.1-2 libmagic-mgc_1:5.46-5 libmagic1t64_1:5.46-5 libmd0_1.1.0-2+b1 libmount1_2.41.2-4 libmpc3_1.3.1-2 libmpfr6_4.2.2-2 libnettle8t64_3.10.2-1 libpam-modules_1.7.0-5 libpam-modules-bin_1.7.0-5 libpam-runtime_1.7.0-5 libpam0g_1.7.0-5 libpcre2-8-0_10.46-1 libperl5.40_5.40.1-6 libpipeline1_1.5.8-1 libquadmath0_15.2.0-4 libseccomp2_2.6.0-2 libselinux1_3.8.1-1 libsemanage-common_3.8.1-1 libsemanage2_3.8.1-1 libsepol2_3.8.1-1 libsframe2_2.45-7 libsmartcols1_2.41.2-4 libssl3t64_3.5.4-1 libstdc++-15-dev_15.2.0-4 libstdc++-15-dev-riscv64-cross_15.2.0-4cross1 libstdc++6_15.2.0-4 libstdc++6-riscv64-cross_15.2.0-4cross1 libsystemd0_258-1 libtinfo6_6.5+20250216-2 libtool_2.5.4-5 libtsan2_15.2.0-4 libtsan2-riscv64-cross_15.2.0-4cross1 libubsan1_15.2.0-4 libubsan1-riscv64-cross_15.2.0-4cross1 libuchardet0_0.0.8-2 libudev1_258-1 libunistring5_1.3-2 libuuid1_2.41.2-4 libxml2-16_2.14.6+dfsg-0.1 libxxhash0_0.8.3-2 libzstd1_1.5.7+dfsg-2 linux-libc-dev_6.16.11-1 linux-libc-dev-riscv64-cross_6.12.38-1cross1 login_1:4.16.0-2+really2.41.2-4 login.defs_1:4.18.0-1 m4_1.4.20-2 make_4.4.1-2 man-db_2.13.1-1 mawk_1.3.4.20250131-1 mount_2.41.2-4 ncurses-base_6.5+20250216-2 ncurses-bin_6.5+20250216-2 openssl-provider-legacy_3.5.4-1 passwd_1:4.18.0-1 patch_2.8-2 perl_5.40.1-6 perl-base_5.40.1-6 perl-modules-5.40_5.40.1-6 po-debconf_1.0.21+nmu1 rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.26 sqv_1.3.0-3 sysvinit-utils_3.14-4 tar_1.35+dfsg-3.1 tzdata_2025b-5 util-linux_2.41.2-4 xz-utils_5.8.1-2 zlib1g_1:1.3.dfsg+really1.3.1-1+b1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pccts Binary: pccts Architecture: any Version: 1.33MR33-6.5 Maintainer: Dale E. Martin Homepage: http://www.polhode.com/pccts.html Standards-Version: 4.7.2 Vcs-Browser: https://salsa.debian.org/debian/pccts Vcs-Git: https://salsa.debian.org/debian/pccts.git Build-Depends: debhelper-compat (= 13) Package-List: pccts deb devel optional arch=any Checksums-Sha1: b8ae86eacae8f2c17741dc8048ddc0089942b3b2 550186 pccts_1.33MR33.orig.tar.gz cc87f6b6ad5c66678b77723edd0c4ff936cf0c30 8536 pccts_1.33MR33-6.5.debian.tar.xz Checksums-Sha256: 49556ae11851391ca124d3beef15f3969f65524c29714770a1a22b51106e1c7a 550186 pccts_1.33MR33.orig.tar.gz 875e62b1e0fd16c6c1dc9879b72c92fa87f641b062bad1459d338fe9be83a3d2 8536 pccts_1.33MR33-6.5.debian.tar.xz Files: 61da973117301e8655ebf6265fc1c45a 550186 pccts_1.33MR33.orig.tar.gz e4aa8e0370987c7b8f76cbbe098eee40 8536 pccts_1.33MR33-6.5.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmf4F2ERHHRpbGxlQGRl Ymlhbi5vcmcACgkQV4oElNHGRtE4nRAAg/EuQ7UZwo10OnpSVfE7SitI8mJmb3gI q4ioLywML6y6Zerc1Fp6FoEq8t484n+7v8MGIvsR3cB9m5l0/SmQMAe/rOy+40gu q9lOYOPctS5jd2Pvke+AXTgO5wV/jckPHUERy2ZXvqiXSTcOQCiVXU3fWUq+K3Rz gneqP1plHuOV5WaQ7ZIJuDZpJI5Yoq6tMnPz7HD2sJC6wa7s/yVEt4zPR8TYkGK4 XsEIMeLWvogDflTELgmvO+XMGMQUe1cIfx9RVvuNFXxga9NWK0t0iI5A/+1WM0ut Xg/63O7lyDRWPYAWTrL5Ew/tpzf1lzhJt36IiWlGeAQRoxhnHkjeeVOmC1ITkY89 eX9lARBZAF8UGghJ39VBcpok3mnKeveutpFnO5YvuVJW+FdNUmmYnQaX/kdm5CoK rGMOt18l+uO7Jovl2ejkf/L7RIgo3+GnYebpDK9cm5diLbYAdZCbvXu40NIgtI3E kkUN6qzF9CnQ4KuWNrqiKckNqy1Qc7Wsec6OIMBlIje7bsUqdHpKh5tSsC1f3xOk Mn6/eYQpua8h6Q73YPuXKzfqMoSs0DQducm4iu1gddUlVTOlJlCZY+HjpSxd0jzq WPJVEljK9AJqcTEFbukKmUQQo0hUMeTWUyErmnsT+1kKFaTZ2SraN21y/ovgd1TG GjAB6Mv5afs= =eEhd -----END PGP SIGNATURE----- dpkg-source: warning: cannot verify inline signature for ./pccts_1.33MR33-6.5.dsc: no acceptable signature found dpkg-source: info: extracting pccts in /<> dpkg-source: info: unpacking pccts_1.33MR33.orig.tar.gz dpkg-source: info: unpacking pccts_1.33MR33-6.5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying conversion-format-3.0-quilt.patch dpkg-source: info: applying implicit-declarations.patch dpkg-source: info: applying clang.patch dpkg-source: info: applying gcc-15.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CONFIG_SITE=/etc/dpkg-cross/cross-config.riscv64 DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LOGNAME=crossqa OLDPWD=/home/crossqa PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SBUILD_CONFIG=/tmp/tmp.F2Nqn1BVoD/sbuild.conf SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=sid-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=crossqa SCHROOT_SESSION_ID=sid-amd64-sbuild-f5a6eb1d-d6c6-4dbd-a40f-892403527220 SCHROOT_UID=1000 SCHROOT_USER=crossqa SHELL=/bin/sh USER=crossqa XDG_SESSION_CLASS=user dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -ariscv64 -Pcross,nocheck -us -uc -B -rfakeroot --jobs-try=1 dpkg-buildpackage: info: source package pccts dpkg-buildpackage: info: source version 1.33MR33-6.5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Tille dpkg-architecture: warning: specified GNU system type riscv64-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 debian/rules clean dh clean dh_auto_clean make -j1 clean make[1]: Entering directory '/<>' (cd ./antlr; make -s clean) (cd ./dlg; make -s clean) (cd ./sorcerer; make -s clean) (cd ./sorcerer/lib; make -s clean) (cd ./support/genmk; make -s clean) make[1]: Leaving directory '/<>' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a dh_auto_build -a make -j1 INSTALL="install --strip-program=true" PKG_CONFIG=riscv64-linux-gnu-pkg-config CXX=riscv64-linux-gnu-g\+\+ CC=riscv64-linux-gnu-gcc make[1]: Entering directory '/<>' Welcome to PCCTS 1.33MR33 installation (Version 1.33 Maintenance Release #33) Released 19 April 2002 Featuring ANTLR -- ANother Tool for Language Recognition DLG -- DFA-based Lexical Analyzer Generator SORCERER -- Source-to-source translator (tree walker) http://www.antlr.org Trouble reports to tmoog@polhode.com Additional PCCTS 1.33 information at http://www.polhode.com To substitute gcc for CC to invoke compiler: make CC=gcc If there are problems with cr and lf try: unzip -a ... Making executables... (cd ./antlr; make CC="riscv64-linux-gnu-gcc" COPT="-O2 -Wall -Wno-unused -g") make[2]: Entering directory '/<>/antlr' riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o antlr.o antlr.c In file included from antlr.c:25: antlr.c: In function ‘zzconstr_attr’: ../h/antlr.h:339:63: warning: ‘a’ is used uninitialized [-Wuninitialized] 339 | {Attrib a; zzcr_attr((&a),_tok,_text); return a;} \ | ^ antlr.c:36:1: note: in expansion of macro ‘ANTLR_INFO’ 36 | ANTLR_INFO | ^~~~~~~~~~ ../h/antlr.h:339:25: note: ‘a’ declared here 339 | {Attrib a; zzcr_attr((&a),_tok,_text); return a;} \ | ^ antlr.c:36:1: note: in expansion of macro ‘ANTLR_INFO’ 36 | ANTLR_INFO | ^~~~~~~~~~ antlr.c: In function ‘tclass’: antlr.c:1394:31: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized] 1394 | /* MR23 */ if (p->akaString != NULL) { | ~^~~~~~~~~~~ antlr.c:1342:59: note: ‘p’ was declared here 1342 | char *t=NULL; TCnode *e; int go=1,tok,totok; TermEntry *p, *term, *toterm; | ^ riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o scan.o scan.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o err.o err.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o bits.o bits.c In file included from bits.c:36: bits.c: In function ‘Efirst’: bits.c:224:15: warning: passing argument 1 of ‘fpReach[r->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 224 | REACH(r, 1, &rk, a); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ bits.c:224:15: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 224 | REACH(r, 1, &rk, a); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ bits.c: In function ‘DefErrSetForC1’: bits.c:576:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 576 | fprintf(ErrFile, "SetWordType %s%s[%d] = {", | ~^ | | | int | %ld bits.c:582:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 582 | fprintf(ErrFile, "SetWordType zzerr%d[%d] = {", | ~^ | | | int | %ld bits.c: In function ‘DefErrSetForCC1’: bits.c:644:63: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 644 | fprintf(Parser_h, "\tstatic SetWordType %s%s[%d];\n", name, suffix, | ~^ | | | int | %ld bits.c:646:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] 646 | fprintf(Parser_c, "SetWordType %s::%s%s[%d] = {", | ~^ | | | int | %ld bits.c:653:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 653 | fprintf(Parser_c, "SetWordType %s::err%d[%d] = {", | ~^ | | | int | %ld bits.c:657:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 657 | fprintf(Parser_h, "\tstatic SetWordType err%d[%d];\n", esetnum, | ~^ | | | int | %ld bits.c: In function ‘GenParser_c_Hdr’: bits.c:790:83: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘long unsigned int’ [-Wformat=] 790 | fprintf(Parser_c, "%s(ANTLRTokenBuffer *input) : %s(input,%d,%d,%d,%d)\n", | ~^ | | | int | %ld bits.c: In function ‘GenErrHdr’: bits.c:915:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 915 | fprintf(ErrFile, "#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned)); | ~^ | | | int | %ld riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o build.o build.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o fset2.o fset2.c In file included from fset2.c:44: fset2.c: In function ‘tRuleRef’: fset2.c:714:14: warning: passing argument 1 of ‘fpTraverse[r->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 714 | TRAV(r, k, &rk, t); | ^ | | | Junction * {aka struct _junct *} syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:714:14: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 714 | TRAV(r, k, &rk, t); | ^ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c: In function ‘tAction’: fset2.c:951:15: warning: passing argument 1 of ‘fpTraverse[p->guardNodes->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 951 | TRAV(p->guardNodes,k,rk,t); | ~^~~~~~~~~~~~ | | | struct _junct * syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:951:15: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘struct _junct *’ 951 | TRAV(p->guardNodes,k,rk,t); | ~^~~~~~~~~~~~ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c: In function ‘VerifyAmbig’: fset2.c:1259:14: warning: passing argument 1 of ‘fpTraverse[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1259 | TRAV(p, LL_k, &rk, *t); | ^ | | | Junction * {aka struct _junct *} syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1259:14: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1259 | TRAV(p, LL_k, &rk, *t); | ^ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1276:14: warning: passing argument 1 of ‘fpTraverse[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1276 | TRAV(p, LL_k, &rk, *u); | ^ | | | Junction * {aka struct _junct *} syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1276:14: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1276 | TRAV(p, LL_k, &rk, *u); | ^ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c: In function ‘computePredFromContextGuard’: fset2.c:1625:22: warning: passing argument 1 of ‘fpTraverse[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1625 | TRAV(p, hmax, &rk, t); /* MR10 was LL_k */ | ^ | | | Junction * {aka struct _junct *} syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1625:22: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1625 | TRAV(p, hmax, &rk, t); /* MR10 was LL_k */ | ^ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1640:23: warning: passing argument 1 of ‘fpReach[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1640 | REACH(p, 1, &rk, scontext); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1640:23: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1640 | REACH(p, 1, &rk, scontext); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset2.c: In function ‘recomputeContextGuard’: fset2.c:1685:22: warning: passing argument 1 of ‘fpTraverse[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1685 | TRAV(p, pred->k, &rk, t); | ^ | | | Junction * {aka struct _junct *} syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1685:22: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1685 | TRAV(p, pred->k, &rk, t); | ^ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1696:23: warning: passing argument 1 of ‘fpReach[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1696 | REACH(p, 1, &rk, scontext); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1696:23: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1696 | REACH(p, 1, &rk, scontext); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset2.c: In function ‘MR_traceAmbSourceKclient’: fset2.c:1772:29: warning: passing argument 1 of ‘fpTraverse[MR_AmbSourceSearchJ[i]->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1772 | TRAV(MR_AmbSourceSearchJ[i],maxk,&incomplete,t); | ~~~~~~~~~~~~~~~~~~~^~~ | | | Junction * {aka struct _junct *} syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c:1772:29: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1772 | TRAV(MR_AmbSourceSearchJ[i],maxk,&incomplete,t); | ~~~~~~~~~~~~~~~~~~~^~~ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ fset2.c: In function ‘MR_traceAmbSource’: fset2.c:2020:20: warning: passing argument 1 of ‘fpReach[p[i]->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 2020 | REACH(p[i],depth,&incomplete,tokensUsed); | ~^~~ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset2.c:2020:20: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 2020 | REACH(p[i],depth,&incomplete,tokensUsed); | ~^~~ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o fset.o fset.c In file included from fset.c:39: fset.c: In function ‘rRuleRef’: fset.c:347:15: warning: passing argument 1 of ‘fpReach[r->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 347 | REACH(r, k, &rk, a); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c:347:15: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 347 | REACH(r, k, &rk, a); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c: In function ‘rAction’: fset.c:448:26: warning: passing argument 1 of ‘fpReach[p->guardNodes->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 448 | /* MR11 */ REACH(p->guardNodes,k,rk,a); | ~^~~~~~~~~~~~ | | | struct _junct * syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c:448:26: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘struct _junct *’ 448 | /* MR11 */ REACH(p->guardNodes,k,rk,a); | ~^~~~~~~~~~~~ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c: In function ‘First’: fset.c:1498:23: warning: passing argument 1 of ‘fpReach[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1498 | REACH(p, k, &rk, alt1->fset[k]); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c:1498:23: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1498 | REACH(p, k, &rk, alt1->fset[k]); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c:1529:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1529 | if (AlphaBetaTrace) MR_MaintainBackTrace=0; | ^~ fset.c:1530:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1530 | HandleAmbiguity(j, alt1, alt2, jtype); | ^~~~~~~~~~~~~~~ fset.c:1540:47: warning: passing argument 1 of ‘fpReach[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1540 | REACH(p, k, &rk, alt1->fset[k]); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c:1540:47: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1540 | REACH(p, k, &rk, alt1->fset[k]); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c:1542:47: warning: passing argument 1 of ‘fpReach[q->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 1542 | REACH(q, k, &rk, alt2->fset[k]); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ fset.c:1542:47: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 1542 | REACH(q, k, &rk, alt2->fset[k]); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o gen.o gen.c gen.c:54:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)()’ [-Wincompatible-pointer-types] 54 | (void (*)(...)) genRuleRef, | ^ gen.c:54:9: note: (near initialization for ‘C_Trans[2]’) gen.c:55:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)()’ [-Wincompatible-pointer-types] 55 | (void (*)(...)) genToken, | ^ gen.c:55:9: note: (near initialization for ‘C_Trans[3]’) gen.c:56:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)()’ [-Wincompatible-pointer-types] 56 | (void (*)(...)) genAction | ^ gen.c:56:9: note: (near initialization for ‘C_Trans[4]’) gen.c:78:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 78 | genSubBlk, | ^~~~~~~~~ gen.c:78:9: note: (near initialization for ‘C_JTrans[1]’) In file included from generic.h:284, from gen.c:40: proto.h:334:13: note: ‘genSubBlk’ declared here 334 | extern void genSubBlk( Junction * ); | ^~~~~~~~~ gen.c:79:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 79 | genOptBlk, | ^~~~~~~~~ gen.c:79:9: note: (near initialization for ‘C_JTrans[2]’) proto.h:330:13: note: ‘genOptBlk’ declared here 330 | extern void genOptBlk( Junction * ); | ^~~~~~~~~ gen.c:80:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *, Junction *, Junction *, int)’ {aka ‘void (*)(struct _junct *, struct _junct *, struct _junct *, int)’} [-Wincompatible-pointer-types] 80 | genLoopBlk, | ^~~~~~~~~~ gen.c:80:9: note: (near initialization for ‘C_JTrans[3]’) proto.h:331:13: note: ‘genLoopBlk’ declared here 331 | extern void genLoopBlk( Junction *, Junction *, Junction *, int ); | ^~~~~~~~~~ gen.c:81:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 81 | genEndBlk, | ^~~~~~~~~ gen.c:81:9: note: (near initialization for ‘C_JTrans[4]’) proto.h:337:13: note: ‘genEndBlk’ declared here 337 | extern void genEndBlk( Junction * ); | ^~~~~~~~~ gen.c:82:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 82 | genRule, | ^~~~~~~ gen.c:82:9: note: (near initialization for ‘C_JTrans[5]’) proto.h:335:13: note: ‘genRule’ declared here 335 | extern void genRule( Junction * ); | ^~~~~~~ gen.c:83:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 83 | genJunction, | ^~~~~~~~~~~ gen.c:83:9: note: (near initialization for ‘C_JTrans[6]’) proto.h:336:13: note: ‘genJunction’ declared here 336 | extern void genJunction( Junction * ); | ^~~~~~~~~~~ gen.c:84:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 84 | genEndRule, | ^~~~~~~~~~ gen.c:84:9: note: (near initialization for ‘C_JTrans[7]’) proto.h:338:13: note: ‘genEndRule’ declared here 338 | extern void genEndRule( Junction * ); | ^~~~~~~~~~ gen.c:85:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 85 | genPlusBlk, | ^~~~~~~~~~ gen.c:85:9: note: (near initialization for ‘C_JTrans[8]’) proto.h:333:13: note: ‘genPlusBlk’ declared here 333 | extern void genPlusBlk( Junction * ); | ^~~~~~~~~~ gen.c:86:9: warning: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(Junction *)’ {aka ‘void (*)(struct _junct *)’} [-Wincompatible-pointer-types] 86 | genLoopBegin | ^~~~~~~~~~~~ gen.c:86:9: note: (near initialization for ‘C_JTrans[9]’) proto.h:332:13: note: ‘genLoopBegin’ declared here 332 | extern void genLoopBegin( Junction * ); | ^~~~~~~~~~~~ In file included from gen.c:38: gen.c: In function ‘genBlk’: gen.c:1559:24: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 1559 | TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:1559:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 1559 | TRANS(q->p1); | ~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:1559:24: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 1559 | TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:1559:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 1559 | TRANS(q->p1); | ~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:1644:26: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)alt->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 1644 | TRANS(alt->p1); | ~~~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:1644:26: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 1644 | TRANS(alt->p1); | ~~~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:1644:26: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)alt->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 1644 | TRANS(alt->p1); | ~~~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:1644:26: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 1644 | TRANS(alt->p1); | ~~~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genAction’: gen.c:1978:16: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 1978 | TRANS(p->next) | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:1978:16: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 1978 | TRANS(p->next) | ~^~~~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:1978:16: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 1978 | TRANS(p->next) | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:1978:16: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 1978 | TRANS(p->next) | ~^~~~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genRuleRef’: gen.c:2225:16: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2225 | TRANS(p->next) | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2225:16: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2225 | TRANS(p->next) | ~^~~~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2225:16: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2225 | TRANS(p->next) | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2225:16: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2225 | TRANS(p->next) | ~^~~~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genToken’: gen.c:2663:33: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)a->next)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2663 | TRANS( a->next ); /* MR30 */ | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2663:33: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2663 | TRANS( a->next ); /* MR30 */ | ~^~~~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2663:33: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)a->next->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2663 | TRANS( a->next ); /* MR30 */ | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2663:33: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2663 | TRANS( a->next ); /* MR30 */ | ~^~~~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2666:33: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2666 | TRANS( p->next ); /* MR30 */ | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2666:33: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2666 | TRANS( p->next ); /* MR30 */ | ~^~~~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2666:33: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2666 | TRANS( p->next ); /* MR30 */ | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2666:33: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2666 | TRANS( p->next ); /* MR30 */ | ~^~~~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2686:24: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)p->next)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2686 | TRANS(p->next); | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2686:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2686 | TRANS(p->next); | ~^~~~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2686:24: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)p->next->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2686 | TRANS(p->next); | ~^~~~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2686:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2686 | TRANS(p->next); | ~^~~~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genOptBlk’: gen.c:2764:45: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2764 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2764:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2764 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2764:45: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2764 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2764:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2764 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genLoopBlk’: gen.c:2833:24: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2833 | TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2833:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2833 | TRANS(q->p1); | ~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:2833:24: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 2833 | TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:2833:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 2833 | TRANS(q->p1); | ~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genLoopBegin’: gen.c:3003:45: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3003 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3003:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3003 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3003:45: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3003 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3003:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3003 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genPlusBlk’: gen.c:3098:24: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3098 | TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3098:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3098 | TRANS(q->p1); | ~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3098:24: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3098 | TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3098:24: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3098 | TRANS(q->p1); | ~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3139:53: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3139 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3139:53: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3139 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3139:53: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3139 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3139:53: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3139 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3212:45: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3212 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3212:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3212 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3212:45: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3212 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3212:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3212 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genSubBlk’: gen.c:3308:45: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->end->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3308 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3308:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3308 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3308:45: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->end->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3308 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3308:45: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3308 | if (q->end->p1 != NULL) TRANS(q->end->p1); | ~~~~~~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genRule’: gen.c:3552:24: warning: passing argument 1 of ‘fpReach[q->end->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 3552 | REACH(q->end, 1, &rk, follow); | ~^~~~~ | | | struct _junct * syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ gen.c:3552:24: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘struct _junct *’ 3552 | REACH(q->end, 1, &rk, follow); | ~^~~~~ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ gen.c: In function ‘genJunction’: gen.c:3813:37: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p1)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3813 | if ( q->p1 != NULL ) TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3813:37: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3813 | if ( q->p1 != NULL ) TRANS(q->p1); | ~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3813:37: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->p1->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3813 | if ( q->p1 != NULL ) TRANS(q->p1); | ~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3813:37: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3813 | if ( q->p1 != NULL ) TRANS(q->p1); | ~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3814:37: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)((Junction *)q->p2)->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3814 | if ( q->p2 != NULL ) TRANS(q->p2); | ~^~~~ | | | Node * {aka struct _node *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3814:37: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3814 | if ( q->p2 != NULL ) TRANS(q->p2); | ~^~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ gen.c:3814:37: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)q->p2->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 3814 | if ( q->p2 != NULL ) TRANS(q->p2); | ~^~~~ | | | Node * {aka struct _node *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c:3814:37: note: expected ‘long unsigned int’ but argument is of type ‘Node *’ {aka ‘struct _node *’} 3814 | if ( q->p2 != NULL ) TRANS(q->p2); | ~^~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ gen.c: In function ‘genHdr’: gen.c:3903:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 3903 | if ( !GenCC ) _gen1("#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gen.c:152:50: note: in definition of macro ‘_gen1’ 152 | #define _gen1(s,a) {fprintf(output, s,a);} | ^ gen.c:3903:50: note: format string is defined here 3903 | if ( !GenCC ) _gen1("#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned)); | ~^ | | | int | %ld gen.c: In function ‘genStdPCCTSIncludeFile’: gen.c:4117:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 4117 | fprintf(f, "#define zzSET_SIZE %d\n", NumWords(TokenNum-1)*sizeof(unsigned)); | ~^ | | | int | %ld riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o globals.o globals.c globals.c:195:9: warning: initialization of ‘struct _tree * (*)(Node *, int, set *)’ {aka ‘struct _tree * (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _tree * (*)()’ [-Wincompatible-pointer-types] 195 | (struct _tree *(*)(...)) tJunc, | ^ globals.c:195:9: note: (near initialization for ‘fpTraverse[1]’) globals.c:196:9: warning: initialization of ‘struct _tree * (*)(Node *, int, set *)’ {aka ‘struct _tree * (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _tree * (*)()’ [-Wincompatible-pointer-types] 196 | (struct _tree *(*)(...)) tRuleRef, | ^ globals.c:196:9: note: (near initialization for ‘fpTraverse[2]’) globals.c:197:9: warning: initialization of ‘struct _tree * (*)(Node *, int, set *)’ {aka ‘struct _tree * (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _tree * (*)()’ [-Wincompatible-pointer-types] 197 | (struct _tree *(*)(...)) tToken, | ^ globals.c:197:9: note: (near initialization for ‘fpTraverse[3]’) globals.c:198:9: warning: initialization of ‘struct _tree * (*)(Node *, int, set *)’ {aka ‘struct _tree * (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _tree * (*)()’ [-Wincompatible-pointer-types] 198 | (struct _tree *(*)(...)) tAction | ^ globals.c:198:9: note: (near initialization for ‘fpTraverse[4]’) globals.c:207:9: warning: initialization of ‘struct _set (*)(Node *, int, set *)’ {aka ‘struct _set (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _set (*)()’ [-Wincompatible-pointer-types] 207 | (struct _set (*)(...)) rJunc, | ^ globals.c:207:9: note: (near initialization for ‘fpReach[1]’) globals.c:208:9: warning: initialization of ‘struct _set (*)(Node *, int, set *)’ {aka ‘struct _set (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _set (*)()’ [-Wincompatible-pointer-types] 208 | (struct _set (*)(...)) rRuleRef, | ^ globals.c:208:9: note: (near initialization for ‘fpReach[2]’) globals.c:209:9: warning: initialization of ‘struct _set (*)(Node *, int, set *)’ {aka ‘struct _set (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _set (*)()’ [-Wincompatible-pointer-types] 209 | (struct _set (*)(...)) rToken, | ^ globals.c:209:9: note: (near initialization for ‘fpReach[3]’) globals.c:210:9: warning: initialization of ‘struct _set (*)(Node *, int, set *)’ {aka ‘struct _set (*)(struct _node *, int, struct _set *)’} from incompatible pointer type ‘struct _set (*)()’ [-Wincompatible-pointer-types] 210 | (struct _set (*)(...)) rAction | ^ globals.c:210:9: note: (near initialization for ‘fpReach[4]’) globals.c:216:9: warning: initialization of ‘void (*)(Node *)’ {aka ‘void (*)(struct _node *)’} from incompatible pointer type ‘void (*)()’ [-Wincompatible-pointer-types] 216 | (void (*)(...)) pJunc, | ^ globals.c:216:9: note: (near initialization for ‘fpPrint[1]’) globals.c:217:9: warning: initialization of ‘void (*)(Node *)’ {aka ‘void (*)(struct _node *)’} from incompatible pointer type ‘void (*)()’ [-Wincompatible-pointer-types] 217 | (void (*)(...)) pRuleRef, | ^ globals.c:217:9: note: (near initialization for ‘fpPrint[2]’) globals.c:218:9: warning: initialization of ‘void (*)(Node *)’ {aka ‘void (*)(struct _node *)’} from incompatible pointer type ‘void (*)()’ [-Wincompatible-pointer-types] 218 | (void (*)(...)) pToken, | ^ globals.c:218:9: note: (near initialization for ‘fpPrint[3]’) globals.c:219:9: warning: initialization of ‘void (*)(Node *)’ {aka ‘void (*)(struct _node *)’} from incompatible pointer type ‘void (*)()’ [-Wincompatible-pointer-types] 219 | (void (*)(...)) pAction | ^ globals.c:219:9: note: (near initialization for ‘fpPrint[4]’) riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o hash.o hash.c hash.c: In function ‘hash_get’: hash.c:135:44: warning: array subscript 0 is outside array bounds of ‘char[0]’ [-Warray-bounds=] 135 | if ( !(table!=NULL && key!=NULL) ) *((char *) 34) = 3; | ^~~~~~~~~~~~~~ cc1: note: source object is likely at address zero riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o lex.o lex.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o main.o main.c main.c:560:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | ^~~ main.c:560:17: note: (near initialization for ‘options[0].process.process_one_arg’) main.c:331:13: note: ‘pCC’ declared here 331 | static void pCC(void) { GenCC = TRUE; } | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } main.c:561:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | ^~~ main.c:561:17: note: (near initialization for ‘options[1].process.process_one_arg’) main.c:296:13: note: ‘pCr’ declared here 296 | static void pCr(void) { GenCR = TRUE; } | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } main.c:562:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | ^~~ main.c:562:17: note: (near initialization for ‘options[2].process.process_one_arg’) main.c:188:1: note: ‘pCk’ declared here 188 | pCk( char *s, char *t ) | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } main.c:563:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | ^~~ main.c:563:17: note: (near initialization for ‘options[3].process.process_one_arg’) main.c:307:13: note: ‘pE1’ declared here 307 | static void pE1(void) { elevel = 1; } | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } main.c:564:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | ^~~ main.c:564:17: note: (near initialization for ‘options[4].process.process_one_arg’) main.c:308:13: note: ‘pE2’ declared here 308 | static void pE2(void) { elevel = 2; } | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } main.c:565:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | ^~~ main.c:565:17: note: (near initialization for ‘options[5].process.process_one_arg’) main.c:309:13: note: ‘pE3’ declared here 309 | static void pE3(void) { elevel = 3; } | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } main.c:566:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | ^~~~~~~~~ main.c:566:17: note: (near initialization for ‘options[6].process.process_one_arg’) main.c:125:1: note: ‘pFileList’ declared here 125 | pFileList( char *s, char *t ) | ^~~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } main.c:567:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 567 | { "-fe", 1, pFe, "Rename err.c"}, | ^~~ main.c:567:17: note: (near initialization for ‘options[7].process.process_one_arg’) main.c:302:13: note: ‘pFe’ declared here 302 | static void pFe(char *s, char *t) {ErrFileName = t;} | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } main.c:568:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | ^~~~~ main.c:568:17: note: (near initialization for ‘options[8].process.process_one_arg’) main.c:323:13: note: ‘pFHdr’ declared here 323 | static void pFHdr(char *s, char *t) { stdpccts = t; pGHdr(); } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } main.c:569:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | ^~~ main.c:569:17: note: (near initialization for ‘options[9].process.process_one_arg’) main.c:303:13: note: ‘pFl’ declared here 303 | static void pFl(char *s, char *t) {DlgFileName = t;} | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } main.c:570:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 570 | { "-fm", 1, pFm, "Rename mode.h"}, | ^~~ main.c:570:17: note: (near initialization for ‘options[10].process.process_one_arg’) main.c:304:13: note: ‘pFm’ declared here 304 | static void pFm(char *s, char *t) {ModeFileName = t;} | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } main.c:571:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 571 | { "-fr", 1, pFr, "Rename remap.h"}, | ^~~ main.c:571:17: note: (near initialization for ‘options[11].process.process_one_arg’) main.c:301:13: note: ‘pFr’ declared here 301 | static void pFr(char *s, char *t) {RemapFileName = t;} | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } main.c:572:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | ^~~ main.c:572:17: note: (near initialization for ‘options[12].process.process_one_arg’) main.c:305:13: note: ‘pFt’ declared here 305 | static void pFt(char *s, char *t) {DefFileName = t;} | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } main.c:573:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | ^~~~~ main.c:573:17: note: (near initialization for ‘options[13].process.process_one_arg’) main.c:295:13: note: ‘pANSI’ declared here 295 | static void pANSI(void) { GenANSI = TRUE; } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } main.c:574:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | ^~~~~ main.c:574:17: note: (near initialization for ‘options[14].process.process_one_arg’) main.c:287:13: note: ‘pCGen’ declared here 287 | static void pCGen(void) { CodeGen = FALSE; LexGen = FALSE; } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } main.c:575:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | ^~~~~ main.c:575:17: note: (near initialization for ‘options[15].process.process_one_arg’) main.c:290:13: note: ‘pTGen’ declared here 290 | static void pTGen(void) { TraceGen = TRUE; } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } main.c:576:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | ^~~~~ main.c:576:17: note: (near initialization for ‘options[16].process.process_one_arg’) main.c:310:13: note: ‘pEGen’ declared here 310 | static void pEGen(void) { GenEClasseForRules = 1; } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } main.c:577:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | ^~~~~ main.c:577:17: note: (near initialization for ‘options[17].process.process_one_arg’) main.c:322:13: note: ‘pGHdr’ declared here 322 | static void pGHdr(void) { GenStdPccts = 1; } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } main.c:578:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | ^~~ main.c:578:17: note: (near initialization for ‘options[18].process.process_one_arg’) main.c:311:13: note: ‘pDL’ declared here 311 | static void pDL(void) | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } main.c:579:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | ^~~ main.c:579:17: note: (near initialization for ‘options[19].process.process_one_arg’) main.c:299:13: note: ‘pLI’ declared here 299 | static void pLI(void) { GenLineInfo = TRUE; GenLineInfoMS = FALSE; } /* MR14 */ | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } main.c:580:19: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | ^~~~~ main.c:580:19: note: (near initialization for ‘options[20].process.process_one_arg’) main.c:300:13: note: ‘pLIms’ declared here 300 | static void pLIms(void) { GenLineInfo = TRUE; GenLineInfoMS = TRUE; } /* MR14 */ | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } main.c:581:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | ^~~~ main.c:581:17: note: (near initialization for ‘options[21].process.process_one_arg’) main.c:383:1: note: ‘pPre’ declared here 383 | pPre( char *s, char *t ) | ^~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } main.c:582:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | ^~~~~ main.c:582:17: note: (near initialization for ‘options[22].process.process_one_arg’) main.c:291:13: note: ‘pSGen’ declared here 291 | static void pSGen(void) { GenExprSetsOpt = FALSE; } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } main.c:583:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | ^~~~ main.c:583:17: note: (near initialization for ‘options[23].process.process_one_arg’) main.c:294:13: note: ‘pAst’ declared here 294 | static void pAst(void) { GenAST = TRUE; } | ^~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } main.c:584:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | ^~~~~ main.c:584:17: note: (near initialization for ‘options[24].process.process_one_arg’) main.c:288:13: note: ‘pLGen’ declared here 288 | static void pLGen(void) { LexGen = FALSE; } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } main.c:585:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | ^~~~~~ main.c:585:17: note: (near initialization for ‘options[25].process.process_one_arg’) main.c:289:13: note: ‘pXTGen’ declared here 289 | static void pXTGen(void){ MR_Inhibit_Tokens_h_Gen = TRUE; } | ^~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } main.c:586:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | ^~~~ main.c:586:17: note: (near initialization for ‘options[26].process.process_one_arg’) main.c:172:1: note: ‘pLLK’ declared here 172 | pLLK( char *s, char *t ) | ^~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } main.c:587:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 587 | { "-o", 1, pOut, OutputDirectoryOption}, | ^~~~ main.c:587:17: note: (near initialization for ‘options[27].process.process_one_arg’) main.c:395:1: note: ‘pOut’ declared here 395 | pOut( char *s, char *t ) | ^~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } main.c:588:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | ^~~~ main.c:588:17: note: (near initialization for ‘options[28].process.process_one_arg’) main.c:292:13: note: ‘pPrt’ declared here 292 | static void pPrt(void) { PrintOut = TRUE; pCGen(); pLGen(); } | ^~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } main.c:589:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | ^~~~~ main.c:589:17: note: (near initialization for ‘options[29].process.process_one_arg’) main.c:293:13: note: ‘pPrtA’ declared here 293 | static void pPrtA(void) { PrintOut = TRUE; PrintAnnotate = TRUE; pCGen(); pLGen(); } | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } main.c:590:16: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | ^~~~~ main.c:590:16: note: (near initialization for ‘options[30].process.process_one_arg’) main.c:407:1: note: ‘pPred’ declared here 407 | pPred( void ) | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } main.c:591:18: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | ^~~~~~~~ main.c:591:18: note: (near initialization for ‘options[31].process.process_one_arg’) main.c:423:1: note: ‘pPredCtx’ declared here 423 | pPredCtx( char *s, char *t ) | ^~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } main.c:592:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | ^~~~~ main.c:592:17: note: (near initialization for ‘options[32].process.process_one_arg’) main.c:479:1: note: ‘pTRes’ declared here 479 | pTRes( char *s, char *t ) | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } main.c:593:20: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | ^~~~~~~ main.c:593:20: note: (near initialization for ‘options[33].process.process_one_arg’) main.c:329:13: note: ‘pStdout’ declared here 329 | static void pStdout(void) {UseStdout = 1; } /* MR6 */ | ^~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } main.c:594:18: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | ^~~~ main.c:594:18: note: (near initialization for ‘options[34].process.process_one_arg’) main.c:204:1: note: ‘pTab’ declared here 204 | pTab( char *s, char *t ) /* MR6 */ | ^~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } main.c:595:21: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | ^~~ main.c:595:21: note: (near initialization for ‘options[35].process.process_one_arg’) main.c:324:13: note: ‘pW1’ declared here 324 | static void pW1(void) { WarningLevel = 1; } | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } main.c:596:21: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | ^~~ main.c:596:21: note: (near initialization for ‘options[36].process.process_one_arg’) main.c:330:13: note: ‘pW2’ declared here 330 | static void pW2(void) { WarningLevel = 2; } | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } main.c:597:20: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | ^~~~~~~~ main.c:597:20: note: (near initialization for ‘options[37].process.process_one_arg’) main.c:441:1: note: ‘pMRhoist’ declared here 441 | pMRhoist( char *s, char *t ) | ^~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } main.c:599:21: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | ^~~~~~~~~ main.c:599:21: note: (near initialization for ‘options[38].process.process_one_arg’) main.c:461:1: note: ‘pMRhoistk’ declared here 461 | pMRhoistk( char *s, char *t ) | ^~~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } main.c:601:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | ^~~ main.c:601:17: note: (near initialization for ‘options[39].process.process_one_arg’) main.c:320:13: note: ‘pAA’ declared here 320 | static void pAA(char *s,char *t) {MR_AmbAidRule = t;} /* MR11 */ | ^~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } main.c:604:17: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 604 | { "-aad" ,1,pAAd, | ^~~~ main.c:604:17: note: (near initialization for ‘options[41].process.process_one_arg’) main.c:222:1: note: ‘pAAd’ declared here 222 | pAAd( char *s, char *t ) /* MR11 */ | ^~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } main.c:606:21: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 606 | { "-info",1,pInfo, | ^~~~~ main.c:606:21: note: (near initialization for ‘options[42].process.process_one_arg’) main.c:257:13: note: ‘pInfo’ declared here 257 | static void pInfo(char *s, char *t) /* MR10 */ | ^~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } main.c:608:20: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(char *, char *)’ [-Wincompatible-pointer-types] 608 | { "-treport",1,pTreport, | ^~~~~~~~ main.c:608:20: note: (near initialization for ‘options[43].process.process_one_arg’) main.c:235:1: note: ‘pTreport’ declared here 235 | pTreport( char *s, char *t ) /* MR11 */ | ^~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } main.c:610:25: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 610 | { "-newAST", 0, pNewAST, | ^~~~~~~ main.c:610:25: note: (near initialization for ‘options[44].process.process_one_arg’) main.c:325:13: note: ‘pNewAST’ declared here 325 | static void pNewAST(void) { NewAST = 1; } /* MR13 */ | ^~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } 609 | "Report when tnode usage exceeds value during ambiguity resolution"}, /* MR11 */ 610 | { "-newAST", 0, pNewAST, | { } main.c:612:24: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 612 | { "-tmake", 0, ptmakeInParser, | ^~~~~~~~~~~~~~ main.c:612:24: note: (near initialization for ‘options[45].process.process_one_arg’) main.c:326:13: note: ‘ptmakeInParser’ declared here 326 | static void ptmakeInParser(void) { tmakeInParser = 1; } /* MR23 */ | ^~~~~~~~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } 609 | "Report when tnode usage exceeds value during ambiguity resolution"}, /* MR11 */ 610 | { "-newAST", 0, pNewAST, | { } 611 | "In C++ mode use \"newAST(...)\" rather than \"new AST(...)\""}, /* MR13 */ 612 | { "-tmake", 0, ptmakeInParser, | { } main.c:614:19: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 614 | { "-alpha",0, pAlpha, | ^~~~~~ main.c:614:19: note: (near initialization for ‘options[46].process.process_one_arg’) main.c:327:13: note: ‘pAlpha’ declared here 327 | static void pAlpha(void) { AlphaBetaTrace = 1; } /* MR14 */ | ^~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } 609 | "Report when tnode usage exceeds value during ambiguity resolution"}, /* MR11 */ 610 | { "-newAST", 0, pNewAST, | { } 611 | "In C++ mode use \"newAST(...)\" rather than \"new AST(...)\""}, /* MR13 */ 612 | { "-tmake", 0, ptmakeInParser, | { } 613 | "In C++ mode use parser's tmake method rather than \"ASTBase::tmake(...)\""}, /* MR23 */ 614 | { "-alpha",0, pAlpha, | { } main.c:616:21: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 616 | { "-mrblkerr",0,pMR_BlkErr, /* MR21 */ | ^~~~~~~~~~ main.c:616:21: note: (near initialization for ‘options[47].process.process_one_arg’) main.c:328:13: note: ‘pMR_BlkErr’ declared here 328 | static void pMR_BlkErr(void) { MR_BlkErr = 1; } /* MR21 */ | ^~~~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } 609 | "Report when tnode usage exceeds value during ambiguity resolution"}, /* MR11 */ 610 | { "-newAST", 0, pNewAST, | { } 611 | "In C++ mode use \"newAST(...)\" rather than \"new AST(...)\""}, /* MR13 */ 612 | { "-tmake", 0, ptmakeInParser, | { } 613 | "In C++ mode use parser's tmake method rather than \"ASTBase::tmake(...)\""}, /* MR23 */ 614 | { "-alpha",0, pAlpha, | { } 615 | "Provide additional information for \"(alpha)? beta\" error messages"}, /* MR14 */ 616 | { "-mrblkerr",0,pMR_BlkErr, /* MR21 */ | { } main.c:618:25: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 618 | { "-nopurify",0,pNOPURIFY, | ^~~~~~~~~ main.c:618:25: note: (near initialization for ‘options[48].process.process_one_arg’) main.c:297:13: note: ‘pNOPURIFY’ declared here 297 | static void pNOPURIFY(void) { PURIFY = FALSE; } | ^~~~~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } 609 | "Report when tnode usage exceeds value during ambiguity resolution"}, /* MR11 */ 610 | { "-newAST", 0, pNewAST, | { } 611 | "In C++ mode use \"newAST(...)\" rather than \"new AST(...)\""}, /* MR13 */ 612 | { "-tmake", 0, ptmakeInParser, | { } 613 | "In C++ mode use parser's tmake method rather than \"ASTBase::tmake(...)\""}, /* MR23 */ 614 | { "-alpha",0, pAlpha, | { } 615 | "Provide additional information for \"(alpha)? beta\" error messages"}, /* MR14 */ 616 | { "-mrblkerr",0,pMR_BlkErr, /* MR21 */ | { } 617 | "EXPERIMENTAL change to (...)* and (...)+ syntax error sets"}, /* MR21 */ 618 | { "-nopurify",0,pNOPURIFY, | { } main.c:620:21: warning: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 620 | { "-", 0, pStdin, "Read grammar from stdin" }, | ^~~~~~ main.c:620:21: note: (near initialization for ‘options[49].process.process_one_arg’) main.c:82:1: note: ‘pStdin’ declared here 82 | pStdin( void ) | ^~~~~~ main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } 609 | "Report when tnode usage exceeds value during ambiguity resolution"}, /* MR11 */ 610 | { "-newAST", 0, pNewAST, | { } 611 | "In C++ mode use \"newAST(...)\" rather than \"new AST(...)\""}, /* MR13 */ 612 | { "-tmake", 0, ptmakeInParser, | { } 613 | "In C++ mode use parser's tmake method rather than \"ASTBase::tmake(...)\""}, /* MR23 */ 614 | { "-alpha",0, pAlpha, | { } 615 | "Provide additional information for \"(alpha)? beta\" error messages"}, /* MR14 */ 616 | { "-mrblkerr",0,pMR_BlkErr, /* MR21 */ | { } 617 | "EXPERIMENTAL change to (...)* and (...)+ syntax error sets"}, /* MR21 */ 618 | { "-nopurify",0,pNOPURIFY, | { } 619 | "Don't use the notorious PURIFY macro (replaced by MR23 initial value syntax) to zero return arguments of rules"}, /* MR23 */ 620 | { "-", 0, pStdin, "Read grammar from stdin" }, | { } main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] 494 | Opt options[] = { | ^ ...... 560 | { "-CC", 0, pCC, "Generate C++ output (default=FALSE)"}, | { } 561 | { "-cr", 0, pCr, "Generate cross reference (default=FALSE)"}, | { } 562 | { "-ck", 1, pCk, "Set compressed lookahead depth; fast approximate lookahead"}, | { } 563 | { "-e1", 0, pE1, "Ambiguities/errors shown in low detail (default)"}, | { } 564 | { "-e2", 0, pE2, "Ambiguities/errors shown in more detail"}, | { } 565 | { "-e3", 0, pE3, "Ambiguities for k>1 grammars shown with exact tuples (not lookahead sets)"}, | { } 566 | { "-f", 1, pFileList,"Read names of grammar files from specified file"}, /* MR14 */ | { } 567 | { "-fe", 1, pFe, "Rename err.c"}, | { } 568 | { "-fh", 1, pFHdr, "Rename stdpccts.h header (turns on -gh)"}, | { } 569 | { "-fl", 1, pFl, "Rename lexical output--parser.dlg"}, | { } 570 | { "-fm", 1, pFm, "Rename mode.h"}, | { } 571 | { "-fr", 1, pFr, "Rename remap.h"}, | { } 572 | { "-ft", 1, pFt, "Rename tokens.h"}, | { } 573 | { "-ga", 0, pANSI, "Generate ANSI-compatible code (default=FALSE)"}, | { } 574 | { "-gc", 0, pCGen, "Do not generate output parser code (default=FALSE)"}, | { } 575 | { "-gd", 0, pTGen, "Generate code to trace rule invocation (default=FALSE)"}, | { } 576 | { "-ge", 0, pEGen, "Generate an error class for each non-terminal (default=FALSE)"}, | { } 577 | { "-gh", 0, pGHdr, "Generate stdpccts.h for non-ANTLR-generated-files to include"}, | { } 578 | { "-gk", 0, pDL, "Generate parsers that delay lookahead fetches until needed"}, | { } 579 | { "-gl", 0, pLI, "Generate line info about grammar actions in C parser"}, | { } 580 | { "-glms", 0, pLIms,"Like -gl but replace '\\' with '/' in #line filenames for MS C/C++ systems"}, | { } 581 | { "-gp", 1, pPre, "Prefix all generated rule functions with a string"}, | { } 582 | { "-gs", 0, pSGen, "Do not generate sets for token expression lists (default=FALSE)"}, | { } 583 | { "-gt", 0, pAst, "Generate code for Abstract-Syntax-Trees (default=FALSE)"}, | { } 584 | { "-gx", 0, pLGen, "Do not generate lexical (dlg-related) files (default=FALSE)"}, | { } 585 | { "-gxt",0, pXTGen, "Do not generate tokens.h (default=FALSE)"}, | { } 586 | { "-k", 1, pLLK, "Set full LL(k) lookahead depth (default==1)"}, | { } 587 | { "-o", 1, pOut, OutputDirectoryOption}, | { } 588 | { "-p", 0, pPrt, "Print out the grammar w/o actions (default=no)"}, | { } 589 | { "-pa", 0, pPrtA, "Print out the grammar w/o actions & w/FIRST sets (default=no)"}, | { } 590 | { "-pr",0, pPred, "no longer used; predicates employed if present"}, | { } 591 | { "-prc", 1, pPredCtx,"Turn on/off computation of context for hoisted predicates"}, | { } 592 | { "-rl", 1, pTRes, "Limit max # of tree nodes used by grammar analysis"}, | { } 593 | { "-stdout",0, pStdout, "Send grammar.c/grammar.cpp to stdout"}, /* MR6 */ | { } 594 | { "-tab", 1, pTab, "Width of tabs (1 to 8) for grammar.c/grammar.cpp files"}, /* MR6 */ | { } 595 | { "-w1", 0, pW1, "Set the warning level to 1 (default)"}, | { } 596 | { "-w2", 0, pW2, "Ambiguities yield warnings even if predicates or (...)? block"}, | { } 597 | { "-mrhoist",1,pMRhoist, /* MR9 */ | { } 598 | "Turn on/off k=1 Maintenance Release style hoisting"}, /* MR9 */ 599 | { "-mrhoistk",1,pMRhoistk, /* MR13 */ | { } 600 | "Turn on/off k>1 EXPERIMENTAL Maintenance Release style hoisting"}, /* MR13 */ 601 | { "-aa" ,1,pAA, "Ambiguity aid for a rule (rule name or line number)"}, /* MR11 */ | { } 602 | { "-aam" ,0,pAAm, | { } 603 | "Lookahead token may appear multiple times in -aa listing"}, /* MR11 */ 604 | { "-aad" ,1,pAAd, | { } 605 | "Limits exp growth of -aa listing - default=1 (max=ck value)"}, /* MR11 */ 606 | { "-info",1,pInfo, | { } 607 | "Extra info: p=pred t=tnodes f=first/follow m=monitor o=orphans 0=noop"}, /* MR11 */ 608 | { "-treport",1,pTreport, | { } 609 | "Report when tnode usage exceeds value during ambiguity resolution"}, /* MR11 */ 610 | { "-newAST", 0, pNewAST, | { } 611 | "In C++ mode use \"newAST(...)\" rather than \"new AST(...)\""}, /* MR13 */ 612 | { "-tmake", 0, ptmakeInParser, | { } 613 | "In C++ mode use parser's tmake method rather than \"ASTBase::tmake(...)\""}, /* MR23 */ 614 | { "-alpha",0, pAlpha, | { } 615 | "Provide additional information for \"(alpha)? beta\" error messages"}, /* MR14 */ 616 | { "-mrblkerr",0,pMR_BlkErr, /* MR21 */ | { } 617 | "EXPERIMENTAL change to (...)* and (...)+ syntax error sets"}, /* MR21 */ 618 | { "-nopurify",0,pNOPURIFY, | { } 619 | "Don't use the notorious PURIFY macro (replaced by MR23 initial value syntax) to zero return arguments of rules"}, /* MR23 */ 620 | { "-", 0, pStdin, "Read grammar from stdin" }, | { } 621 | { "*", 0, pFile, "" }, /* anything else is a file */ | { } main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] main.c:494:17: warning: missing braces around initializer [-Wmissing-braces] main.c: In function ‘main’: main.c:735:17: warning: assignment to ‘void (**)(long unsigned int)’ from incompatible pointer type ‘void (**)(void)’ [-Wincompatible-pointer-types] 735 | fpTrans = &(C_Trans[0]); /* Translate to C Language */ | ^ main.c:736:18: warning: assignment to ‘void (**)(long unsigned int)’ from incompatible pointer type ‘void (**)(void)’ [-Wincompatible-pointer-types] 736 | fpJTrans = &(C_JTrans[0]); | ^ In file included from stdpccts.h:22, from main.c:37: main.c:820:31: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)SynDiag->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 820 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ | | | Junction * {aka struct _junct *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ main.c:820:31: note: expected ‘long unsigned int’ but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 820 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ main.c:820:31: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)SynDiag->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 820 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ | | | Junction * {aka struct _junct *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ main.c:820:31: note: expected ‘long unsigned int’ but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 820 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ main.c:854:31: warning: passing argument 1 of ‘*(fpJTrans + (sizetype)((long unsigned int)SynDiag->jtype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 854 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ | | | Junction * {aka struct _junct *} syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ main.c:854:31: note: expected ‘long unsigned int’ but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 854 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ syn.h:166:113: note: in definition of macro ‘TRANS’ 166 | if ( (p)->ntype == nJunction ) (*(fpJTrans[((Junction *)(p))->jtype]))( p );\ | ^ main.c:854:31: warning: passing argument 1 of ‘*(fpTrans + (sizetype)((long unsigned int)SynDiag->ntype * 8))’ makes integer from pointer without a cast [-Wint-conversion] 854 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ | | | Junction * {aka struct _junct *} syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ main.c:854:31: note: expected ‘long unsigned int’ but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 854 | TRANS(SynDiag); /* Translate to the target language */ | ^~~~~~~ syn.h:167:72: note: in definition of macro ‘TRANS’ 167 | else (*(fpTrans[(p)->ntype]))( p );} | ^ main.c:885:28: warning: passing argument 1 of ‘fpPrint[SynDiag->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 885 | else PRINT(SynDiag); | ^~~~~~~ | | | Junction * {aka struct _junct *} syn.h:170:67: note: in definition of macro ‘PRINT’ 170 | (*(fpPrint[(p)->ntype]))( p );} | ^ main.c:885:28: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 885 | else PRINT(SynDiag); | ^~~~~~~ syn.h:170:67: note: in definition of macro ‘PRINT’ 170 | (*(fpPrint[(p)->ntype]))( p );} | ^ riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o misc.o misc.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -c -o set.o ../support/set/set.c In file included from ../support/set/set.c:67: ../support/set/set.c: In function ‘set_of’: ../support/set/set.h:57:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 57 | if (((a).setword=(unsigned *)calloc(NumWords(_max),BytesPerWord))==NULL) \ | ^~ ../support/set/set.c:266:9: note: in expansion of macro ‘set_new’ 266 | set_new(a, b); | ^~~~~~~ ../support/set/set.h:59:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 59 | (a).n = NumWords(_max); | ^ ../support/set/set.c:266:9: note: in expansion of macro ‘set_new’ 266 | set_new(a, b); | ^~~~~~~ ../support/set/set.c: In function ‘set_val’: ../support/set/set.h:58:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 58 | fprintf(stderr, "set_new: Cannot allocate set with max of %d\n", _max); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../support/set/set.c:557:9: note: in expansion of macro ‘set_new’ 557 | set_new(a, strlen(s)); | ^~~~~~~ ../support/set/set.h:58:68: note: format string is defined here 58 | fprintf(stderr, "set_new: Cannot allocate set with max of %d\n", _max); \ | ~^ | | | int | %ld ../support/set/set.h:57:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 57 | if (((a).setword=(unsigned *)calloc(NumWords(_max),BytesPerWord))==NULL) \ | ^~ ../support/set/set.c:557:9: note: in expansion of macro ‘set_new’ 557 | set_new(a, strlen(s)); | ^~~~~~~ ../support/set/set.h:59:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 59 | (a).n = NumWords(_max); | ^ ../support/set/set.c:557:9: note: in expansion of macro ‘set_new’ 557 | set_new(a, strlen(s)); | ^~~~~~~ riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o pred.o pred.c In file included from pred.c:34: pred.c: In function ‘find_predicates’: pred.c:416:54: warning: passing argument 1 of ‘fpTraverse[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 416 | /* MR11 */ TRAV(p, | ^ | | | ActionNode * {aka struct _anode *} syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ pred.c:416:54: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘ActionNode *’ {aka ‘struct _anode *’} 416 | /* MR11 */ TRAV(p, | ^ syn.h:179:81: note: in definition of macro ‘TRAV’ 179 | else (a) = (*(fpTraverse[(p)->ntype]))( p, k, rk );} | ^ pred.c:446:63: warning: passing argument 1 of ‘fpReach[((Junction *)p->next)->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 446 | REACH((Junction *)p->next, | ^~~~~~~~~~~~~~~~~~~ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ pred.c:446:63: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 446 | REACH((Junction *)p->next, | ^~~~~~~~~~~~~~~~~~~ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o egman.o egman.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o mrhoist.o mrhoist.c In file included from mrhoist.c:33: mrhoist.c: In function ‘MR_First’: mrhoist.c:865:15: warning: passing argument 1 of ‘fpReach[p->ntype]’ from incompatible pointer type [-Wincompatible-pointer-types] 865 | REACH(p,ck,incomplete,tokensUsed); | ^ | | | Junction * {aka struct _junct *} syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ mrhoist.c:865:15: note: expected ‘Node *’ {aka ‘struct _node *’} but argument is of type ‘Junction *’ {aka ‘struct _junct *’} 865 | REACH(p,ck,incomplete,tokensUsed); | ^ syn.h:173:73: note: in definition of macro ‘REACH’ 173 | (a) = (*(fpReach[(p)->ntype]))( p, k, rk );} | ^ mrhoist.c: In function ‘MR_ruleNamePlusOffset’: mrhoist.c:2216:5: warning: ‘__builtin_strncpy’ specified bound 50 equals destination size [-Wstringop-truncation] 2216 | strncpy(ruleNameStatic1,n->rname,ruleNameMax); | ^ mrhoist.c:2220:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2220 | sprintf(ruleNameStatic2,"%s/%d",ruleNameStatic1,offset+1); | ^ In file included from /usr/riscv64-linux-gnu/include/stdio.h:970, from mrhoist.c:28: In function ‘sprintf’, inlined from ‘MR_ruleNamePlusOffset’ at mrhoist.c:2220:7: /usr/riscv64-linux-gnu/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 61 bytes into a destination of size 60 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion -c -o fcache.o fcache.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -o antlr antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o mrhoist.o fcache.o mv antlr ../bin/. make[2]: Leaving directory '/<>/antlr' antlr executable now in bin (cd ./dlg; make CC="riscv64-linux-gnu-gcc" COPT="-O2 -Wall -Wno-unused -g") make[2]: Entering directory '/<>/dlg' riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -c dlg_p.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -c dlg_a.c riscv64-linux-gnu-gcc -O2 -Wall -Wno-unused -g -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -c main.c main.c:128:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | ^ main.c:128:21: note: (near initialization for ‘options[0].process.process_one_arg’) main.c:84:6: note: ‘p_cpp’ declared here 84 | void p_cpp(void) { gen_cpp = TRUE; } | ^~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } main.c:129:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | ^ main.c:129:21: note: (near initialization for ‘options[1].process.process_one_arg’) main.c:63:6: note: ‘p_comp0’ declared here 63 | void p_comp0(void) {comp_level = 0;} | ^~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } main.c:130:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | ^ main.c:130:21: note: (near initialization for ‘options[2].process.process_one_arg’) main.c:64:6: note: ‘p_comp1’ declared here 64 | void p_comp1(void) {comp_level = 1;} | ^~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } main.c:131:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | ^ main.c:131:21: note: (near initialization for ‘options[3].process.process_one_arg’) main.c:65:6: note: ‘p_comp2’ declared here 65 | void p_comp2(void) {comp_level = 2;} | ^~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } main.c:132:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | ^ main.c:132:21: note: (near initialization for ‘options[4].process.process_one_arg’) main.c:79:6: note: ‘p_ansi’ declared here 79 | void p_ansi(void) {gen_ansi = TRUE;} | ^~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } main.c:133:29: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | ^ main.c:133:29: note: (near initialization for ‘options[5].process.process_one_arg’) main.c:83:6: note: ‘p_warn_ambig’ declared here 83 | void p_warn_ambig(void) { warn_ambig = TRUE; } | ^~~~~~~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } main.c:134:20: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | ^ main.c:134:20: note: (near initialization for ‘options[6].process.process_one_arg’) main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } main.c:135:20: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | ^ main.c:135:20: note: (near initialization for ‘options[7].process.process_one_arg’) main.c:80:6: note: ‘p_interactive’ declared here 80 | void p_interactive(void) {interactive = TRUE;} | ^~~~~~~~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | { } main.c:136:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 136 | { "-ci", 0, (WildFunc)p_case_i, "Make lexical analyzer case insensitive"}, | ^ main.c:136:21: note: (near initialization for ‘options[8].process.process_one_arg’) main.c:82:6: note: ‘p_case_i’ declared here 82 | void p_case_i(void) { case_insensitive = TRUE; } | ^~~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | { } 136 | { "-ci", 0, (WildFunc)p_case_i, "Make lexical analyzer case insensitive"}, | { } main.c:137:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 137 | { "-cl", 1, (WildFunc)p_cl_name, "Rename lexer class (DLGLexer); only used for -CC"}, | ^ main.c:137:21: note: (near initialization for ‘options[9].process.process_one_arg’) main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | { } 136 | { "-ci", 0, (WildFunc)p_case_i, "Make lexical analyzer case insensitive"}, | { } 137 | { "-cl", 1, (WildFunc)p_cl_name, "Rename lexer class (DLGLexer); only used for -CC"}, | { } main.c:138:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 138 | { "-cs", 0, (WildFunc)p_case_s, "Make lexical analyzer case sensitive (default)"}, | ^ main.c:138:21: note: (near initialization for ‘options[10].process.process_one_arg’) main.c:81:6: note: ‘p_case_s’ declared here 81 | void p_case_s(void) { case_insensitive = FALSE; } | ^~~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | { } 136 | { "-ci", 0, (WildFunc)p_case_i, "Make lexical analyzer case insensitive"}, | { } 137 | { "-cl", 1, (WildFunc)p_cl_name, "Rename lexer class (DLGLexer); only used for -CC"}, | { } 138 | { "-cs", 0, (WildFunc)p_case_s, "Make lexical analyzer case sensitive (default)"}, | { } main.c:139:21: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 139 | { "-o", 1, (WildFunc)p_outdir, OutputDirectoryOption}, | ^ main.c:139:21: note: (near initialization for ‘options[11].process.process_one_arg’) main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | { } 136 | { "-ci", 0, (WildFunc)p_case_i, "Make lexical analyzer case insensitive"}, | { } 137 | { "-cl", 1, (WildFunc)p_cl_name, "Rename lexer class (DLGLexer); only used for -CC"}, | { } 138 | { "-cs", 0, (WildFunc)p_case_s, "Make lexical analyzer case sensitive (default)"}, | { } 139 | { "-o", 1, (WildFunc)p_outdir, OutputDirectoryOption}, | { } main.c:140:19: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 140 | { "-", 0, (WildFunc)p_stdio, "Use standard i/o rather than file"}, | ^ main.c:140:19: note: (near initialization for ‘options[12].process.process_one_arg’) main.c:66:6: note: ‘p_stdio’ declared here 66 | void p_stdio(void) { file_str[numfiles++] = NULL;} | ^~~~~~~ main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | { } 136 | { "-ci", 0, (WildFunc)p_case_i, "Make lexical analyzer case insensitive"}, | { } 137 | { "-cl", 1, (WildFunc)p_cl_name, "Rename lexer class (DLGLexer); only used for -CC"}, | { } 138 | { "-cs", 0, (WildFunc)p_case_s, "Make lexical analyzer case sensitive (default)"}, | { } 139 | { "-o", 1, (WildFunc)p_outdir, OutputDirectoryOption}, | { } 140 | { "-", 0, (WildFunc)p_stdio, "Use standard i/o rather than file"}, | { } main.c:141:19: error: initialization of ‘void (*)(char *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 141 | { "*", 0, (WildFunc)p_file, ""}, /* anything else is a file */ | ^ main.c:141:19: note: (near initialization for ‘options[13].process.process_one_arg’) main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] 127 | Opt options[] = { | ^ 128 | { "-CC", 0, (WildFunc)p_cpp, "Generate C++ output" }, | { } 129 | { "-C0", 0, (WildFunc)p_comp0, "No compression (default)" }, | { } 130 | { "-C1", 0, (WildFunc)p_comp1, "Compression level 1" }, | { } 131 | { "-C2", 0, (WildFunc)p_comp2, "Compression level 2" }, | { } 132 | { "-ga", 0, (WildFunc)p_ansi, "Generate ansi C"}, | { } 133 | { "-Wambiguity", 0, (WildFunc)p_warn_ambig, "Warn if expressions ambiguous"}, | { } 134 | { "-m", 1, (WildFunc)p_mode_file, "Rename lexical mode output file"}, | { } 135 | { "-i", 0, (WildFunc)p_interactive, "Build interactive scanner (not valid for C++ mode)"}, | { } 136 | { "-ci", 0, (WildFunc)p_case_i, "Make lexical analyzer case insensitive"}, | { } 137 | { "-cl", 1, (WildFunc)p_cl_name, "Rename lexer class (DLGLexer); only used for -CC"}, | { } 138 | { "-cs", 0, (WildFunc)p_case_s, "Make lexical analyzer case sensitive (default)"}, | { } 139 | { "-o", 1, (WildFunc)p_outdir, OutputDirectoryOption}, | { } 140 | { "-", 0, (WildFunc)p_stdio, "Use standard i/o rather than file"}, | { } 141 | { "*", 0, (WildFunc)p_file, ""}, /* anything else is a file */ | { } main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] main.c:127:17: warning: missing braces around initializer [-Wmissing-braces] make[2]: *** [makefile:147: main.o] Error 1 make[2]: Leaving directory '/<>/dlg' make[1]: *** [makefile:49: pccts] Error 2 make[1]: Leaving directory '/<>' dh_auto_build: error: make -j1 INSTALL="install --strip-program=true" PKG_CONFIG=riscv64-linux-gnu-pkg-config CXX=riscv64-linux-gnu-g\+\+ CC=riscv64-linux-gnu-gcc returned exit code 2 make: *** [debian/rules:11: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2025-10-10T15:24:11Z +------------------------------------------------------------------------------+ | Finished Timed Build Commands | +------------------------------------------------------------------------------+ rm -Rf /<>/ ------------------------------------------ I: Finished running 'rm -Rf /<>/'. Finished processing commands. -------------------------------------------------------------------------------- Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: n/a Build-Time: 12 Distribution: unstable Fail-Stage: build Foreign Architectures: riscv64 Host Architecture: riscv64 Install-Time: 15 Job: pccts_1.33MR33-6.5 Machine Architecture: amd64 Package: pccts Package-Time: 46 Source-Version: 1.33MR33-6.5 Space: n/a Status: attempted Version: 1.33MR33-6.5 -------------------------------------------------------------------------------- Finished at 2025-10-10T15:24:11Z Build needed 00:00:46, no disk space