Fri May 12 05:28:19 UTC 2023 I: starting to build xgalaga/bookworm/armhf on jenkins on '2023-05-12 05:28' Fri May 12 05:28:19 UTC 2023 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_34/1400/console.log Fri May 12 05:28:19 UTC 2023 I: Downloading source for bookworm/xgalaga=2.1.1.0-6 --2023-05-12 05:28:19-- http://cdn-fastly.deb.debian.org/debian/pool/main/x/xgalaga/xgalaga_2.1.1.0-6.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2168 (2.1K) [text/prs.lines.tag] Saving to: ‘xgalaga_2.1.1.0-6.dsc’ 0K .. 100% 117M=0s 2023-05-12 05:28:19 (117 MB/s) - ‘xgalaga_2.1.1.0-6.dsc’ saved [2168/2168] Fri May 12 05:28:19 UTC 2023 I: xgalaga_2.1.1.0-6.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: xgalaga Binary: xgalaga Architecture: any Version: 2.1.1.0-6 Maintainer: Debian Games Team Uploaders: Paul Wise Homepage: http://sourceforge.net/projects/xgalaga/ Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/games-team/xgalaga Vcs-Git: https://salsa.debian.org/games-team/xgalaga.git Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.9.0), libx11-dev, libxmu-dev, libxpm-dev, libxxf86dga-dev, libxxf86vm-dev, x11proto-core-dev Package-List: xgalaga deb games optional arch=any Checksums-Sha1: ef40ad833d2434b0643d4c00202bd75ec14b94ac 331621 xgalaga_2.1.1.0.orig.tar.gz fc7335fdfa2a3c50d57bbcc1217b16fba75b0153 10244 xgalaga_2.1.1.0-6.debian.tar.xz Checksums-Sha256: adcfbfd04876f5197c60b37af0ad89a629e553d6e09314a4b3b5c70f6c634f9b 331621 xgalaga_2.1.1.0.orig.tar.gz 157c7cc18ab222481ff2c699d9d42809a434fb89b35cbb3402c3cdb5f8d67252 10244 xgalaga_2.1.1.0-6.debian.tar.xz Files: f37c3377b245d2d53b33eb489966bf28 331621 xgalaga_2.1.1.0.orig.tar.gz c8ca0d4a686f04da4aaceaf036a72353 10244 xgalaga_2.1.1.0-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAl7U+NxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp YW4ub3JnAAoJENmtFLlRO1HkohAQAMpoO5Sb324JVrtxrrxryjQM4r4rjFCp2Aog TZOs+DiUsc7lFRC3ZKYotY4QBCMoCJCqqzEnY2B4ZdN7JbgwgsRWGoTCDkGmOIB9 66REpXuY61bHqM4xr3txjUPSHtFFXApy0d48rwE+csBPAFF1iBz3ihNf/zOzZSNa UTLx7KXwQgOFRwZYRUHqfNs8X5uzeYWfyV++Kb0yZsadUuf2Obg7T81pzQx81ZwE shL4SxSTYnMnOtOUn3ege+4ehSaYV0Nigy5/dsXg77NKfZdU9U/s0UTTxTAck+lc oxGSlO5BfqgIcEr3ISCayHbXtijaz6sFljCP+SRCqGdnCfxO3959KHBtRa6IUI8Y 3H3X58vO1p4GTmGCH8H/lXCno+dW2FrLGMAzDKnvpojtau7g2hFykHzvkeXUyVAX U+Tg+q6g1EpgIMfhpBBrznxhZukj2SbJafU9bnSoaClY/QygLvlydpK8iw+jcISk lJdVfF9KUvMoMn4pKlja50Ncj/56PE9z5UbYtbmE8cYYYeHBc4ob1SiV1WcZDkvD NKIjZKY+rTGNj10LzmbcmkZWFNUcGKOqMJXJ8mFivHMdhXWCkMmMxzj9t/Klhy8E +toTP8ilM+kzXNheKNZJMM4acjsrST4pCcPqywJIW6JqbWdQD08hS5AY9ajvGDgh LZtk1Kxs =Dpj9 -----END PGP SIGNATURE----- Fri May 12 05:28:19 UTC 2023 I: Checking whether the package is not for us Fri May 12 05:28:20 UTC 2023 I: Starting 1st build on remote node virt32c-armhf-rb.debian.net. Fri May 12 05:28:20 UTC 2023 I: Preparing to do remote build '1' on virt32c-armhf-rb.debian.net. Fri May 12 05:31:52 UTC 2023 I: Deleting $TMPDIR on virt32c-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu May 11 17:28:26 -12 2023 I: pbuilder-time-stamp: 1683869306 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [xgalaga_2.1.1.0-6.dsc] I: copying [./xgalaga_2.1.1.0.orig.tar.gz] I: copying [./xgalaga_2.1.1.0-6.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Jun 1 00:47:24 2020 -12 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./xgalaga_2.1.1.0-6.dsc: no acceptable signature found dpkg-source: info: extracting xgalaga in xgalaga-2.1.1.0 dpkg-source: info: unpacking xgalaga_2.1.1.0.orig.tar.gz dpkg-source: info: unpacking xgalaga_2.1.1.0-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-manpages-install.patch dpkg-source: info: applying 0002-implicit-declarations.patch dpkg-source: info: applying 0003-obsolete-xf86dga.patch dpkg-source: info: applying 0004-clang-ftbfs.patch dpkg-source: info: applying 0005-reproducible-build.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/15381/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='1a4e29525f2449c09cf6eb3928afd745' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='15381' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rNzJvx7A/pbuilderrc_EiGb --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rNzJvx7A/b1 --logfile b1/build.log xgalaga_2.1.1.0-6.dsc' SUDO_GID='113' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux virt32c 5.10.0-22-armmp-lpae #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash -rwxr-xr-x 1 root root 133220 Sep 20 2022 date -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd -rwxr-xr-x 1 root root 68104 Sep 20 2022 df -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep -rwxr-xr-x 1 root root 67548 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch -rwxr-xr-x 1 root root 67548 Sep 20 2022 true -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/15381/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dpkg-dev (>= 1.9.0), libx11-dev, libxmu-dev, libxpm-dev, libxxf86dga-dev, libxxf86vm-dev, x11proto-core-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19329 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libx11-dev; however: Package libx11-dev is not installed. pbuilder-satisfydepends-dummy depends on libxmu-dev; however: Package libxmu-dev is not installed. pbuilder-satisfydepends-dummy depends on libxpm-dev; however: Package libxpm-dev is not installed. pbuilder-satisfydepends-dummy depends on libxxf86dga-dev; however: Package libxxf86dga-dev is not installed. pbuilder-satisfydepends-dummy depends on libxxf86vm-dev; however: Package libxxf86vm-dev is not installed. pbuilder-satisfydepends-dummy depends on x11proto-core-dev; however: Package x11proto-core-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libice-dev{a} libice6{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libpthread-stubs0-dev{a} libsm-dev{a} libsm6{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxml2{a} libxmu-dev{a} libxmu-headers{a} libxmu6{a} libxpm-dev{a} libxpm4{a} libxt-dev{a} libxt6{a} libxxf86dga-dev{a} libxxf86dga1{a} libxxf86vm-dev{a} libxxf86vm1{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} x11-common{a} x11proto-dev{a} xorg-sgml-doctools{a} xtrans-dev{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 62 newly installed, 0 to remove and 0 not upgraded. Need to get 22.6 MB of archives. After unpacking 79.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main armhf sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main armhf libmagic-mgc armhf 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main armhf libmagic1 armhf 1:5.44-3 [96.5 kB] Get: 4 http://deb.debian.org/debian bookworm/main armhf file armhf 1:5.44-3 [41.6 kB] Get: 5 http://deb.debian.org/debian bookworm/main armhf gettext-base armhf 0.21-12 [157 kB] Get: 6 http://deb.debian.org/debian bookworm/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main armhf groff-base armhf 1.22.4-10 [825 kB] Get: 8 http://deb.debian.org/debian bookworm/main armhf bsdextrautils armhf 2.38.1-5+b1 [78.6 kB] Get: 9 http://deb.debian.org/debian bookworm/main armhf libpipeline1 armhf 1.5.7-1 [33.6 kB] Get: 10 http://deb.debian.org/debian bookworm/main armhf man-db armhf 2.11.2-2 [1351 kB] Get: 11 http://deb.debian.org/debian bookworm/main armhf m4 armhf 1.4.19-3 [265 kB] Get: 12 http://deb.debian.org/debian bookworm/main armhf autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main armhf autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main armhf libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main armhf libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main armhf dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main armhf libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main armhf libelf1 armhf 0.188-2.1 [170 kB] Get: 24 http://deb.debian.org/debian bookworm/main armhf dwz armhf 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian bookworm/main armhf libicu72 armhf 72.1-3 [9048 kB] Get: 26 http://deb.debian.org/debian bookworm/main armhf libxml2 armhf 2.9.14+dfsg-1.2 [591 kB] Get: 27 http://deb.debian.org/debian bookworm/main armhf gettext armhf 0.21-12 [1229 kB] Get: 28 http://deb.debian.org/debian bookworm/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main armhf libbsd0 armhf 0.11.7-2 [113 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf x11-common all 1:7.7+23 [252 kB] Get: 33 http://deb.debian.org/debian bookworm/main armhf libice6 armhf 2:1.0.10-1 [51.9 kB] Get: 34 http://deb.debian.org/debian bookworm/main armhf xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB] Get: 35 http://deb.debian.org/debian bookworm/main armhf x11proto-dev all 2022.1-1 [599 kB] Get: 36 http://deb.debian.org/debian bookworm/main armhf libice-dev armhf 2:1.0.10-1 [61.9 kB] Get: 37 http://deb.debian.org/debian bookworm/main armhf libpthread-stubs0-dev armhf 0.4-1 [5344 B] Get: 38 http://deb.debian.org/debian bookworm/main armhf libsm6 armhf 2:1.2.3-1 [33.0 kB] Get: 39 http://deb.debian.org/debian bookworm/main armhf libsm-dev armhf 2:1.2.3-1 [36.1 kB] Get: 40 http://deb.debian.org/debian bookworm/main armhf libxau6 armhf 1:1.0.9-1 [19.0 kB] Get: 41 http://deb.debian.org/debian bookworm/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB] Get: 42 http://deb.debian.org/debian bookworm/main armhf libxcb1 armhf 1.15-1 [140 kB] Get: 43 http://deb.debian.org/debian bookworm/main armhf libx11-data all 2:1.8.4-2 [292 kB] Get: 44 http://deb.debian.org/debian bookworm/main armhf libx11-6 armhf 2:1.8.4-2 [695 kB] Get: 45 http://deb.debian.org/debian bookworm/main armhf libxau-dev armhf 1:1.0.9-1 [22.4 kB] Get: 46 http://deb.debian.org/debian bookworm/main armhf libxdmcp-dev armhf 1:1.1.2-3 [40.7 kB] Get: 47 http://deb.debian.org/debian bookworm/main armhf xtrans-dev all 1.4.0-1 [98.7 kB] Get: 48 http://deb.debian.org/debian bookworm/main armhf libxcb1-dev armhf 1.15-1 [179 kB] Get: 49 http://deb.debian.org/debian bookworm/main armhf libx11-dev armhf 2:1.8.4-2 [777 kB] Get: 50 http://deb.debian.org/debian bookworm/main armhf libxext6 armhf 2:1.3.4-1+b1 [47.8 kB] Get: 51 http://deb.debian.org/debian bookworm/main armhf libxext-dev armhf 2:1.3.4-1+b1 [103 kB] Get: 52 http://deb.debian.org/debian bookworm/main armhf libxt6 armhf 1:1.2.1-1.1 [157 kB] Get: 53 http://deb.debian.org/debian bookworm/main armhf libxt-dev armhf 1:1.2.1-1.1 [384 kB] Get: 54 http://deb.debian.org/debian bookworm/main armhf libxmu6 armhf 2:1.1.3-3 [52.6 kB] Get: 55 http://deb.debian.org/debian bookworm/main armhf libxmu-headers all 2:1.1.3-3 [68.5 kB] Get: 56 http://deb.debian.org/debian bookworm/main armhf libxmu-dev armhf 2:1.1.3-3 [59.1 kB] Get: 57 http://deb.debian.org/debian bookworm/main armhf libxpm4 armhf 1:3.5.12-1.1 [42.3 kB] Get: 58 http://deb.debian.org/debian bookworm/main armhf libxpm-dev armhf 1:3.5.12-1.1 [97.9 kB] Get: 59 http://deb.debian.org/debian bookworm/main armhf libxxf86dga1 armhf 2:1.1.5-1 [20.8 kB] Get: 60 http://deb.debian.org/debian bookworm/main armhf libxxf86dga-dev armhf 2:1.1.5-1 [26.2 kB] Get: 61 http://deb.debian.org/debian bookworm/main armhf libxxf86vm1 armhf 1:1.1.4-1+b2 [20.2 kB] Get: 62 http://deb.debian.org/debian bookworm/main armhf libxxf86vm-dev armhf 1:1.1.4-1+b2 [25.1 kB] Fetched 22.6 MB in 2s (11.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19329 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_armhf.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../02-libmagic1_1%3a5.44-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_armhf.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_armhf.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.7-1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_armhf.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_armhf.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.7-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_armhf.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_armhf.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../22-libelf1_0.188-2.1_armhf.deb ... Unpacking libelf1:armhf (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../24-libicu72_72.1-3_armhf.deb ... Unpacking libicu72:armhf (72.1-3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_armhf.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-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 .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libbsd0:armhf. Preparing to unpack .../30-libbsd0_0.11.7-2_armhf.deb ... Unpacking libbsd0:armhf (0.11.7-2) ... Selecting previously unselected package x11-common. Preparing to unpack .../31-x11-common_1%3a7.7+23_all.deb ... Unpacking x11-common (1:7.7+23) ... Selecting previously unselected package libice6:armhf. Preparing to unpack .../32-libice6_2%3a1.0.10-1_armhf.deb ... Unpacking libice6:armhf (2:1.0.10-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../33-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../34-x11proto-dev_2022.1-1_all.deb ... Unpacking x11proto-dev (2022.1-1) ... Selecting previously unselected package libice-dev:armhf. Preparing to unpack .../35-libice-dev_2%3a1.0.10-1_armhf.deb ... Unpacking libice-dev:armhf (2:1.0.10-1) ... Selecting previously unselected package libpthread-stubs0-dev:armhf. Preparing to unpack .../36-libpthread-stubs0-dev_0.4-1_armhf.deb ... Unpacking libpthread-stubs0-dev:armhf (0.4-1) ... Selecting previously unselected package libsm6:armhf. Preparing to unpack .../37-libsm6_2%3a1.2.3-1_armhf.deb ... Unpacking libsm6:armhf (2:1.2.3-1) ... Selecting previously unselected package libsm-dev:armhf. Preparing to unpack .../38-libsm-dev_2%3a1.2.3-1_armhf.deb ... Unpacking libsm-dev:armhf (2:1.2.3-1) ... Selecting previously unselected package libxau6:armhf. Preparing to unpack .../39-libxau6_1%3a1.0.9-1_armhf.deb ... Unpacking libxau6:armhf (1:1.0.9-1) ... Selecting previously unselected package libxdmcp6:armhf. Preparing to unpack .../40-libxdmcp6_1%3a1.1.2-3_armhf.deb ... Unpacking libxdmcp6:armhf (1:1.1.2-3) ... Selecting previously unselected package libxcb1:armhf. Preparing to unpack .../41-libxcb1_1.15-1_armhf.deb ... Unpacking libxcb1:armhf (1.15-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../42-libx11-data_2%3a1.8.4-2_all.deb ... Unpacking libx11-data (2:1.8.4-2) ... Selecting previously unselected package libx11-6:armhf. Preparing to unpack .../43-libx11-6_2%3a1.8.4-2_armhf.deb ... Unpacking libx11-6:armhf (2:1.8.4-2) ... Selecting previously unselected package libxau-dev:armhf. Preparing to unpack .../44-libxau-dev_1%3a1.0.9-1_armhf.deb ... Unpacking libxau-dev:armhf (1:1.0.9-1) ... Selecting previously unselected package libxdmcp-dev:armhf. Preparing to unpack .../45-libxdmcp-dev_1%3a1.1.2-3_armhf.deb ... Unpacking libxdmcp-dev:armhf (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../46-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libxcb1-dev:armhf. Preparing to unpack .../47-libxcb1-dev_1.15-1_armhf.deb ... Unpacking libxcb1-dev:armhf (1.15-1) ... Selecting previously unselected package libx11-dev:armhf. Preparing to unpack .../48-libx11-dev_2%3a1.8.4-2_armhf.deb ... Unpacking libx11-dev:armhf (2:1.8.4-2) ... Selecting previously unselected package libxext6:armhf. Preparing to unpack .../49-libxext6_2%3a1.3.4-1+b1_armhf.deb ... Unpacking libxext6:armhf (2:1.3.4-1+b1) ... Selecting previously unselected package libxext-dev:armhf. Preparing to unpack .../50-libxext-dev_2%3a1.3.4-1+b1_armhf.deb ... Unpacking libxext-dev:armhf (2:1.3.4-1+b1) ... Selecting previously unselected package libxt6:armhf. Preparing to unpack .../51-libxt6_1%3a1.2.1-1.1_armhf.deb ... Unpacking libxt6:armhf (1:1.2.1-1.1) ... Selecting previously unselected package libxt-dev:armhf. Preparing to unpack .../52-libxt-dev_1%3a1.2.1-1.1_armhf.deb ... Unpacking libxt-dev:armhf (1:1.2.1-1.1) ... Selecting previously unselected package libxmu6:armhf. Preparing to unpack .../53-libxmu6_2%3a1.1.3-3_armhf.deb ... Unpacking libxmu6:armhf (2:1.1.3-3) ... Selecting previously unselected package libxmu-headers. Preparing to unpack .../54-libxmu-headers_2%3a1.1.3-3_all.deb ... Unpacking libxmu-headers (2:1.1.3-3) ... Selecting previously unselected package libxmu-dev:armhf. Preparing to unpack .../55-libxmu-dev_2%3a1.1.3-3_armhf.deb ... Unpacking libxmu-dev:armhf (2:1.1.3-3) ... Selecting previously unselected package libxpm4:armhf. Preparing to unpack .../56-libxpm4_1%3a3.5.12-1.1_armhf.deb ... Unpacking libxpm4:armhf (1:3.5.12-1.1) ... Selecting previously unselected package libxpm-dev:armhf. Preparing to unpack .../57-libxpm-dev_1%3a3.5.12-1.1_armhf.deb ... Unpacking libxpm-dev:armhf (1:3.5.12-1.1) ... Selecting previously unselected package libxxf86dga1:armhf. Preparing to unpack .../58-libxxf86dga1_2%3a1.1.5-1_armhf.deb ... Unpacking libxxf86dga1:armhf (2:1.1.5-1) ... Selecting previously unselected package libxxf86dga-dev:armhf. Preparing to unpack .../59-libxxf86dga-dev_2%3a1.1.5-1_armhf.deb ... Unpacking libxxf86dga-dev:armhf (2:1.1.5-1) ... Selecting previously unselected package libxxf86vm1:armhf. Preparing to unpack .../60-libxxf86vm1_1%3a1.1.4-1+b2_armhf.deb ... Unpacking libxxf86vm1:armhf (1:1.1.4-1+b2) ... Selecting previously unselected package libxxf86vm-dev:armhf. Preparing to unpack .../61-libxxf86vm-dev_1%3a1.1.4-1+b2_armhf.deb ... Unpacking libxxf86vm-dev:armhf (1:1.1.4-1+b2) ... Setting up libpipeline1:armhf (1.5.7-1) ... Setting up libxau6:armhf (1:1.0.9-1) ... Setting up libicu72:armhf (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up x11-common (1:7.7+23) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libmagic1:armhf (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libpthread-stubs0-dev:armhf (0.4-1) ... Setting up xtrans-dev (1.4.0-1) ... Setting up autotools-dev (20220109.1) ... Setting up libx11-data (2:1.8.4-2) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:armhf (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libbsd0:armhf (0.11.7-2) ... Setting up libelf1:armhf (0.188-2.1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up x11proto-dev (2022.1-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libice6:armhf (2:1.0.10-1) ... Setting up libxdmcp6:armhf (1:1.1.2-3) ... Setting up libxcb1:armhf (1.15-1) ... Setting up gettext (0.21-12) ... Setting up libxau-dev:armhf (1:1.0.9-1) ... Setting up libice-dev:armhf (2:1.0.10-1) ... Setting up libtool (2.4.7-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libxdmcp-dev:armhf (1:1.1.2-3) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up libx11-6:armhf (2:1.8.4-2) ... Setting up libsm6:armhf (2:1.2.3-1) ... Setting up libxcb1-dev:armhf (1.15-1) ... Setting up libxpm4:armhf (1:3.5.12-1.1) ... Setting up libsm-dev:armhf (2:1.2.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libx11-dev:armhf (2:1.8.4-2) ... Setting up libxext6:armhf (2:1.3.4-1+b1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libxxf86vm1:armhf (1:1.1.4-1+b2) ... Setting up libxpm-dev:armhf (1:3.5.12-1.1) ... Setting up libxt6:armhf (1:1.2.1-1.1) ... Setting up libxext-dev:armhf (2:1.3.4-1+b1) ... Setting up libxmu-headers (2:1.1.3-3) ... Setting up libxmu6:armhf (2:1.1.3-3) ... Setting up libxxf86vm-dev:armhf (1:1.1.4-1+b2) ... Setting up libxxf86dga1:armhf (2:1.1.5-1) ... Setting up debhelper (13.11.4) ... Setting up libxt-dev:armhf (1:1.2.1-1.1) ... Setting up libxxf86dga-dev:armhf (2:1.1.5-1) ... Setting up libxmu-dev:armhf (2:1.1.3-3) ... Processing triggers for libc-bin (2.36-9) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/xgalaga-2.1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../xgalaga_2.1.1.0-6_source.changes dpkg-buildpackage: info: source package xgalaga dpkg-buildpackage: info: source version 2.1.1.0-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Markus Koschany dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp if [ -e Makefile ]; then /usr/bin/make -i distclean; fi dh_clean xgal.sndsrv.oss xgal.sndsrv.freebsd xgal.sndsrv.linux config.k.bak config.sub config.guess debian/rules build dh_testdir ln -sf /usr/share/misc/config.sub ln -sf /usr/share/misc/config.guess LIBS=-lXxf86vm ./configure \ --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf \ --prefix=/usr/share/games/xgalaga \ --exec-prefix=/usr/games CFLAGS="-Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2" LDFLAGS="-Wl,-z,relro" checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gnueabihf-gcc accepts -g... yes checking for arm-linux-gnueabihf-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: host os is detected as linux-gnueabihf configure: sound type choosen as native checking for main in -lX11... yes checking for main in -lXmu... yes checking for main in -lXt... yes checking for main in -lXext... yes checking for main in -lXExExt... no checking for main in -lXpm... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether arm-linux-gnueabihf-gcc needs -traditional... no checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for random... yes checking for lrand48... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating libsprite/Makefile config.status: creating config.h # hack SOUNDDEFS so we don't need symlinks /usr/bin/make SOUNDDEFS=-DSOUNDSERVER=\\\"/usr/lib/games/xgalaga/$\(SOUNDSRV\)\\\" make[1]: Entering directory '/build/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c main.c -o main.o make[2]: Entering directory '/build/xgalaga-2.1.1.0/libsprite' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o border.o border.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c images.c -o images.o main.c: In function 'do_player': main.c:1162:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1162 | if(numtorps < maxtorps) | ^~ main.c:1164:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1164 | torpok = TORPDELAY; | ^~~~~~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o cursor.o cursor.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c data.c -o data.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o init.o init.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c paths.c -o paths.o paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } init.c: In function 'GetAltMask': init.c:347:13: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 347 | k = XKeycodeToKeysym(W_Display, | ^ In file included from defs.h:30, from allincludes.h:4, from init.c:1: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c pathfile.c -o pathfile.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o misc.o misc.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o sector.o sector.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o buffer.o buffer.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c title.c -o title.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o data.o data.c title.c: In function 'undo_credits': title.c:178:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] 178 | int i,j,lines; | ^ title.c: In function 'read_credits': title.c:154:21: warning: array subscript 71 is above array bounds of 'char[]' [-Warray-bounds] 154 | chLBuf[j] = 0x00; | ~~~~~~^~~ title.c:116:19: note: while referencing 'chLBuf.150' 116 | char *chFBuf, chLBuf[LINESIZE+1]; | ^~~~~~ title.c:138:13: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 138 | strncpy (gchLBuf+(lines*(LINESIZE+1)), chLBuf, LINESIZE); | ^ title.c:156:15: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 156 | strncpy (gchLBuf+(lines*(LINESIZE+1)), chLBuf, LINESIZE); | ^ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o line.o line.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c explosions.c -o explosions.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o mouse.o mouse.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c score.c -o score.o arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c highscore.c -o highscore.o score.c: In function 'draw_score': score.c:92:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 92 | sprintf(shipstr, "%d", ships); | ^~ score.c:92:26: note: directive argument in the range [7, 2147483647] 92 | sprintf(shipstr, "%d", ships); | ^~~~ In file included from /usr/include/stdio.h:906, from score.c:6: In function 'sprintf', inlined from 'draw_score' at score.c:92:2: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o text.o text.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c prize.c -o prize.o highscore.c: In function 'show_scores': highscore.c:385:30: warning: '%-20s' directive writing between 20 and 279 bytes into a region of size 54 [-Wformat-overflow=] 385 | sprintf(buf, " %2d. %-20s %7ld %5ld", i+1, | ^~~~~ In file included from /usr/include/stdio.h:906, from highscore.c:7: In function 'sprintf', inlined from 'show_scores' at highscore.c:385:2: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 45 and 314 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 ()); | ~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o circle.o circle.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c sound.c -o sound.o arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c nas_sound.c -o nas_sound.o arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c frate.c -o frate.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o event.o event.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c linux-joystick.c -o linux-joystick.o arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c main.c -o main.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c images.c -o images.o.hyper main.c: In function 'do_player': main.c:1162:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1162 | if(numtorps < maxtorps) | ^~ main.c:1164:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1164 | torpok = TORPDELAY; | ^~~~~~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o makewindow.o makewindow.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c data.c -o data.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c paths.c -o paths.o.hyper paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o point.o point.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c pathfile.c -o pathfile.o.hyper arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o tile.o tile.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o cleararea.o cleararea.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c title.c -o title.o.hyper arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o fill.o fill.c title.c: In function 'undo_credits': title.c:178:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] 178 | int i,j,lines; | ^ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o mapwindow.o mapwindow.c title.c: In function 'read_credits': title.c:154:21: warning: array subscript 71 is above array bounds of 'char[]' [-Warray-bounds] 154 | chLBuf[j] = 0x00; | ~~~~~~^~~ title.c:116:19: note: while referencing 'chLBuf.153' 116 | char *chFBuf, chLBuf[LINESIZE+1]; | ^~~~~~ title.c:138:13: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 138 | strncpy (gchLBuf+(lines*(LINESIZE+1)), chLBuf, LINESIZE); | ^ title.c:156:15: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 156 | strncpy (gchLBuf+(lines*(LINESIZE+1)), chLBuf, LINESIZE); | ^ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c explosions.c -o explosions.o.hyper arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o scale.o scale.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o triangle.o triangle.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c score.c -o score.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c highscore.c -o highscore.o.hyper score.c: In function 'draw_score': score.c:92:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 92 | sprintf(shipstr, "%d", ships); | ^~ score.c:92:26: note: directive argument in the range [7, 2147483647] 92 | sprintf(shipstr, "%d", ships); | ^~~~ In file included from /usr/include/stdio.h:906, from score.c:6: In function 'sprintf', inlined from 'draw_score' at score.c:92:2: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o color.o color.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c prize.c -o prize.o.hyper prize.c: In function 'do_prizes': prize.c:191:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 191 | else | ^~~~ prize.c:193:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 193 | if (shieldsleft + plshield > MAXSHIELDS) | ^~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o image.o image.c highscore.c: In function 'show_scores': highscore.c:385:30: warning: '%-20s' directive writing between 20 and 279 bytes into a region of size 54 [-Wformat-overflow=] 385 | sprintf(buf, " %2d. %-20s %7ld %5ld", i+1, | ^~~~~ In file included from /usr/include/stdio.h:906, from highscore.c:7: In function 'sprintf', inlined from 'show_scores' at highscore.c:385:2: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 45 and 314 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 ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from allincludes.h:1, from image.c:1: In function 'sprintf', inlined from 'check_loaded.part.0.isra' at image.c:59:6: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'imagedir' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from allincludes.h:7: data.h: In function 'check_loaded.part.0.isra': data.h:87:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 87 | extern char *imagedir; | ^~~~~~~~ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c sound.c -o sound.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c nas_sound.c -o nas_sound.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c frate.c -o frate.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c linux-joystick.c -o linux-joystick.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c xgal.sndsrv.linux.c -o xgal.sndsrv.linux.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o menu.o menu.c gzip -9 -c -n xgalaga.6x > xgalaga.6x.gz arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -ffile-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o scroll.o scroll.c arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgal.sndsrv.oss xgal.sndsrv.linux.o rm -f libsprite.a ar rc libsprite.a border.o cursor.o init.o misc.o sector.o buffer.o data.o line.o mouse.o text.o circle.o event.o makewindow.o point.o tile.o cleararea.o fill.o mapwindow.o scale.o triangle.o color.o image.o menu.o scroll.o arm-linux-gnueabihf-ranlib libsprite.a make[2]: Leaving directory '/build/xgalaga-2.1.1.0/libsprite' rm -f xgalaga arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga main.o images.o data.o paths.o pathfile.o title.o explosions.o score.o highscore.o prize.o sound.o nas_sound.o frate.o linux-joystick.o libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm rm -f xgalaga-hyperspace arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga-hyperspace main.o.hyper images.o.hyper data.o.hyper paths.o.hyper pathfile.o.hyper title.o.hyper explosions.o.hyper score.o.hyper highscore.o.hyper prize.o.hyper sound.o.hyper nas_sound.o.hyper frate.o.hyper linux-joystick.o.hyper libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm make[1]: Leaving directory '/build/xgalaga-2.1.1.0' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_prep dh_installdirs usr/lib/games/xgalaga usr/games usr/share/man/man6 /usr/bin/make DESTDIR=`pwd`/debian/xgalaga install make[1]: Entering directory '/build/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done make[2]: Entering directory '/build/xgalaga-2.1.1.0/libsprite' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/xgalaga-2.1.1.0/libsprite' rm -f xgalaga rm -f xgalaga-hyperspace arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga main.o images.o data.o paths.o pathfile.o title.o explosions.o score.o highscore.o prize.o sound.o nas_sound.o frate.o linux-joystick.o libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga-hyperspace main.o.hyper images.o.hyper data.o.hyper paths.o.hyper pathfile.o.hyper title.o.hyper explosions.o.hyper score.o.hyper highscore.o.hyper prize.o.hyper sound.o.hyper nas_sound.o.hyper frate.o.hyper linux-joystick.o.hyper libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga /usr/bin/install -c xgalaga /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games/xgalaga /usr/bin/install -c xgalaga-hyperspace /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games/xgalaga-hyperspace if test ! "xgal.sndsrv.oss" = ""; then \ /usr/bin/install -c xgal.sndsrv.oss /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.oss; \ fi ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels for i in levels/*.xgl; do /usr/bin/install -c $i /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/$i ; done for i in sounds/*.raw; do /usr/bin/install -c $i /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/$i ; done /usr/bin/install -c CREDITS /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/CREDITS /usr/bin/install -c xgalaga.6x.gz /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/man/man6/xgalaga.6x.gz make[1]: Leaving directory '/build/xgalaga-2.1.1.0' dh_link usr/share/games/xgalaga/CREDITS usr/share/doc/xgalaga/CREDITS # move the sound-server binary out of usr/share mv debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.* \ debian/xgalaga/usr/lib/games/xgalaga find debian/xgalaga/usr/share/games/xgalaga -type f | xargs chmod 644 dh_install debian/xgalaga-icon.xpm usr/share/pixmaps dh_install debian/xgalaga.desktop usr/share/applications dh_install debian/xgalaga-hyperspace.desktop usr/share/applications dh_link usr/share/man/man6/xgalaga.6x usr/share/man/man6/xgalaga-hyperspace.6x dh_installdocs README* libsprite/README.libsprite dh_installexamples dh_installmenu dh_installchangelogs CHANGES dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'xgalaga-dbgsym' in '../xgalaga-dbgsym_2.1.1.0-6_armhf.deb'. dpkg-deb: building package 'xgalaga' in '../xgalaga_2.1.1.0-6_armhf.deb'. dpkg-genbuildinfo --build=binary -O../xgalaga_2.1.1.0-6_armhf.buildinfo dpkg-genchanges --build=binary -O../xgalaga_2.1.1.0-6_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/15381 and its subdirectories I: Current time: Thu May 11 17:31:47 -12 2023 I: pbuilder-time-stamp: 1683869507 Fri May 12 05:31:54 UTC 2023 I: 1st build successful. Starting 2nd build on remote node virt64a-armhf-rb.debian.net. Fri May 12 05:31:54 UTC 2023 I: Preparing to do remote build '2' on virt64a-armhf-rb.debian.net. Fri May 12 05:35:06 UTC 2023 I: Deleting $TMPDIR on virt64a-armhf-rb.debian.net. Fri May 12 05:35:08 UTC 2023 I: xgalaga_2.1.1.0-6_armhf.changes: Format: 1.8 Date: Mon, 01 Jun 2020 14:38:08 +0200 Source: xgalaga Binary: xgalaga xgalaga-dbgsym Architecture: armhf Version: 2.1.1.0-6 Distribution: unstable Urgency: medium Maintainer: Debian Games Team Changed-By: Markus Koschany Description: xgalaga - X version of the famous Galaga game Closes: 945871 Changes: xgalaga (2.1.1.0-6) unstable; urgency=medium . * Team upload. * Remove obsolete menu file. * Switch to debhelper-compat = 13. * Declare compliance with Debian Policy 4.5.0. * Use canonical VCS URI. * Fix FTCBFS: Pass --host to ./configure. Thanks to Helmut Grohne for the patch. (Closes: #945871) Checksums-Sha1: 8d2c643e97c0ddbe57d1074be628a5cdbd2af95b 236144 xgalaga-dbgsym_2.1.1.0-6_armhf.deb 2d698ac549ab36684c780292390a5d79ff29fd90 5864 xgalaga_2.1.1.0-6_armhf.buildinfo 80a0bfa44b77ff4065737eb6640edb00cfd88a43 188944 xgalaga_2.1.1.0-6_armhf.deb Checksums-Sha256: f85dfb00d1733af5866769ca3dd1a861a5c263bfcc7f98c086dba38df15da89d 236144 xgalaga-dbgsym_2.1.1.0-6_armhf.deb 64bde16735a762326a4f066a2bb7ee4674e8ae8f776f9ab03c1dd4e84e43f425 5864 xgalaga_2.1.1.0-6_armhf.buildinfo a2f2e5f755755fffae841fdf97d206414fc71bbbf0afe42365e705704b519664 188944 xgalaga_2.1.1.0-6_armhf.deb Files: c38c509eb94d7c088bc3aabac89d85a0 236144 debug optional xgalaga-dbgsym_2.1.1.0-6_armhf.deb 8ec55f4e46291235ddf89388d5842c24 5864 games optional xgalaga_2.1.1.0-6_armhf.buildinfo c2bc7487222c2d8ede28627c3422402e 188944 games optional xgalaga_2.1.1.0-6_armhf.deb Fri May 12 05:35:09 UTC 2023 I: diffoscope 242 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.rNzJvx7A/xgalaga_2.1.1.0-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.rNzJvx7A/xgalaga_2.1.1.0-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.rNzJvx7A/xgalaga_2.1.1.0-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.rNzJvx7A/b1/xgalaga_2.1.1.0-6_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.rNzJvx7A/b2/xgalaga_2.1.1.0-6_armhf.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.349s) 0.349s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.020s) 0.019s 12 calls diffoscope.comparators.binary.FilesystemFile 0.000s 10 calls abc.DotChangesFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Fri May 12 05:35:11 UTC 2023 I: diffoscope 242 found no differences in the changes files, and a .buildinfo file also exists. Fri May 12 05:35:11 UTC 2023 I: xgalaga from bookworm built successfully and reproducibly on armhf. Fri May 12 05:35:12 UTC 2023 I: Submitting .buildinfo files to external archives: Fri May 12 05:35:12 UTC 2023 I: Submitting 8.0K b1/xgalaga_2.1.1.0-6_armhf.buildinfo.asc Fri May 12 05:35:14 UTC 2023 I: Submitting 8.0K b2/xgalaga_2.1.1.0-6_armhf.buildinfo.asc Fri May 12 05:35:15 UTC 2023 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Fri May 12 05:35:15 UTC 2023 I: Done submitting .buildinfo files. Fri May 12 05:35:15 UTC 2023 I: Removing signed xgalaga_2.1.1.0-6_armhf.buildinfo.asc files: removed './b1/xgalaga_2.1.1.0-6_armhf.buildinfo.asc' removed './b2/xgalaga_2.1.1.0-6_armhf.buildinfo.asc'