Sun May 12 02:32:38 UTC 2024 I: starting to build xgalaga/trixie/armhf on jenkins on '2024-05-12 02:32' Sun May 12 02:32:38 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_4/5231/console.log Sun May 12 02:32:38 UTC 2024 I: Downloading source for trixie/xgalaga=2.1.1.0-6 --2024-05-12 02:32:39-- http://deb.debian.org/debian/pool/main/x/xgalaga/xgalaga_2.1.1.0-6.dsc Connecting to 46.16.76.132: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% 277M=0s 2024-05-12 02:32:39 (277 MB/s) - ‘xgalaga_2.1.1.0-6.dsc’ saved [2168/2168] Sun May 12 02:32:39 UTC 2024 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----- Sun May 12 02:32:39 UTC 2024 I: Checking whether the package is not for us Sun May 12 02:32:39 UTC 2024 I: Starting 1st build on remote node virt64z-armhf-rb.debian.net. Sun May 12 02:32:39 UTC 2024 I: Preparing to do remote build '1' on virt64z-armhf-rb.debian.net. Sun May 12 02:34:11 UTC 2024 I: Deleting $TMPDIR on virt64z-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sat May 11 14:32:46 -12 2024 I: pbuilder-time-stamp: 1715481166 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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 12:47:24 2020 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/7935/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='ce4f713e3ed3417f94cbe3c5c1526e34' 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='7935' 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.1AC6lGrQ/pbuilderrc_HiMR --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1AC6lGrQ/b1 --logfile b1/build.log xgalaga_2.1.1.0-6.dsc' SUDO_GID='110' SUDO_UID='103' 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 virt64z 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 11 11:24 /bin -> usr/bin I: user script /srv/workspace/pbuilder/7935/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 ... 19446 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} libelf1t64{a} libfile-stripnondeterminism-perl{a} libice-dev{a} libice6{a} libicu72{a} libmagic-mgc{a} libmagic1t64{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} libxt6t64{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 23.1 MB of archives. After unpacking 81.0 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 2 http://deb.debian.org/debian trixie/main armhf libmagic-mgc armhf 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main armhf libmagic1t64 armhf 1:5.45-3 [98.1 kB] Get: 4 http://deb.debian.org/debian trixie/main armhf file armhf 1:5.45-3 [42.0 kB] Get: 5 http://deb.debian.org/debian trixie/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 6 http://deb.debian.org/debian trixie/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 7 http://deb.debian.org/debian trixie/main armhf groff-base armhf 1.23.0-4 [1090 kB] Get: 8 http://deb.debian.org/debian trixie/main armhf bsdextrautils armhf 2.40-8 [85.6 kB] Get: 9 http://deb.debian.org/debian trixie/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 10 http://deb.debian.org/debian trixie/main armhf man-db armhf 2.12.1-1 [1375 kB] Get: 11 http://deb.debian.org/debian trixie/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 12 http://deb.debian.org/debian trixie/main armhf autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian trixie/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main armhf autopoint all 0.21-14 [496 kB] Get: 16 http://deb.debian.org/debian trixie/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 17 http://deb.debian.org/debian trixie/main armhf libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main armhf dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 21 http://deb.debian.org/debian trixie/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian trixie/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian trixie/main armhf libelf1t64 armhf 0.191-1+b1 [183 kB] Get: 24 http://deb.debian.org/debian trixie/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 25 http://deb.debian.org/debian trixie/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 26 http://deb.debian.org/debian trixie/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b3 [598 kB] Get: 27 http://deb.debian.org/debian trixie/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 28 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf libbsd0 armhf 0.12.2-1 [127 kB] Get: 32 http://deb.debian.org/debian trixie/main armhf x11-common all 1:7.7+23 [252 kB] Get: 33 http://deb.debian.org/debian trixie/main armhf libice6 armhf 2:1.0.10-1+b1 [50.1 kB] Get: 34 http://deb.debian.org/debian trixie/main armhf xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB] Get: 35 http://deb.debian.org/debian trixie/main armhf x11proto-dev all 2024.1-1 [603 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf libice-dev armhf 2:1.0.10-1+b1 [60.1 kB] Get: 37 http://deb.debian.org/debian trixie/main armhf libpthread-stubs0-dev armhf 0.4-1+b1 [5340 B] Get: 38 http://deb.debian.org/debian trixie/main armhf libsm6 armhf 2:1.2.3-1+b1 [31.7 kB] Get: 39 http://deb.debian.org/debian trixie/main armhf libsm-dev armhf 2:1.2.3-1+b1 [34.9 kB] Get: 40 http://deb.debian.org/debian trixie/main armhf libxau6 armhf 1:1.0.9-1+b1 [17.4 kB] Get: 41 http://deb.debian.org/debian trixie/main armhf libxdmcp6 armhf 1:1.1.2-3+b1 [23.0 kB] Get: 42 http://deb.debian.org/debian trixie/main armhf libxcb1 armhf 1.15-1 [140 kB] Get: 43 http://deb.debian.org/debian trixie/main armhf libx11-data all 2:1.8.7-1 [328 kB] Get: 44 http://deb.debian.org/debian trixie/main armhf libx11-6 armhf 2:1.8.7-1+b1 [739 kB] Get: 45 http://deb.debian.org/debian trixie/main armhf libxau-dev armhf 1:1.0.9-1+b1 [20.8 kB] Get: 46 http://deb.debian.org/debian trixie/main armhf libxdmcp-dev armhf 1:1.1.2-3+b1 [39.3 kB] Get: 47 http://deb.debian.org/debian trixie/main armhf xtrans-dev all 1.4.0-1 [98.7 kB] Get: 48 http://deb.debian.org/debian trixie/main armhf libxcb1-dev armhf 1.15-1 [179 kB] Get: 49 http://deb.debian.org/debian trixie/main armhf libx11-dev armhf 2:1.8.7-1+b1 [818 kB] Get: 50 http://deb.debian.org/debian trixie/main armhf libxext6 armhf 2:1.3.4-1+b1 [47.8 kB] Get: 51 http://deb.debian.org/debian trixie/main armhf libxext-dev armhf 2:1.3.4-1+b1 [103 kB] Get: 52 http://deb.debian.org/debian trixie/main armhf libxt6t64 armhf 1:1.2.1-1.2 [159 kB] Get: 53 http://deb.debian.org/debian trixie/main armhf libxt-dev armhf 1:1.2.1-1.2 [385 kB] Get: 54 http://deb.debian.org/debian trixie/main armhf libxmu6 armhf 2:1.1.3-3+b2 [50.9 kB] Get: 55 http://deb.debian.org/debian trixie/main armhf libxmu-headers all 2:1.1.3-3 [68.5 kB] Get: 56 http://deb.debian.org/debian trixie/main armhf libxmu-dev armhf 2:1.1.3-3+b2 [57.6 kB] Get: 57 http://deb.debian.org/debian trixie/main armhf libxpm4 armhf 1:3.5.17-1+b1 [50.0 kB] Get: 58 http://deb.debian.org/debian trixie/main armhf libxpm-dev armhf 1:3.5.17-1+b1 [124 kB] Get: 59 http://deb.debian.org/debian trixie/main armhf libxxf86dga1 armhf 2:1.1.5-1+b1 [19.4 kB] Get: 60 http://deb.debian.org/debian trixie/main armhf libxxf86dga-dev armhf 2:1.1.5-1+b1 [24.9 kB] Get: 61 http://deb.debian.org/debian trixie/main armhf libxxf86vm1 armhf 1:1.1.4-1+b2 [20.2 kB] Get: 62 http://deb.debian.org/debian trixie/main armhf libxxf86vm-dev armhf 1:1.1.4-1+b2 [25.1 kB] Fetched 23.1 MB in 7s (3329 kB/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 ... 19446 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_armhf.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-4_armhf.deb ... Unpacking groff-base (1.23.0-4) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40-8_armhf.deb ... Unpacking bsdextrautils (2.40-8) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.12.1-1_armhf.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... 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-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... 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.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... 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 libelf1t64:armhf. Preparing to unpack .../22-libelf1t64_0.191-1+b1_armhf.deb ... Unpacking libelf1t64:armhf (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../24-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.3+b3_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... 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.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package libbsd0:armhf. Preparing to unpack .../30-libbsd0_0.12.2-1_armhf.deb ... Unpacking libbsd0:armhf (0.12.2-1) ... 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+b1_armhf.deb ... Unpacking libice6:armhf (2:1.0.10-1+b1) ... 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_2024.1-1_all.deb ... Unpacking x11proto-dev (2024.1-1) ... Selecting previously unselected package libice-dev:armhf. Preparing to unpack .../35-libice-dev_2%3a1.0.10-1+b1_armhf.deb ... Unpacking libice-dev:armhf (2:1.0.10-1+b1) ... Selecting previously unselected package libpthread-stubs0-dev:armhf. Preparing to unpack .../36-libpthread-stubs0-dev_0.4-1+b1_armhf.deb ... Unpacking libpthread-stubs0-dev:armhf (0.4-1+b1) ... Selecting previously unselected package libsm6:armhf. Preparing to unpack .../37-libsm6_2%3a1.2.3-1+b1_armhf.deb ... Unpacking libsm6:armhf (2:1.2.3-1+b1) ... Selecting previously unselected package libsm-dev:armhf. Preparing to unpack .../38-libsm-dev_2%3a1.2.3-1+b1_armhf.deb ... Unpacking libsm-dev:armhf (2:1.2.3-1+b1) ... Selecting previously unselected package libxau6:armhf. Preparing to unpack .../39-libxau6_1%3a1.0.9-1+b1_armhf.deb ... Unpacking libxau6:armhf (1:1.0.9-1+b1) ... Selecting previously unselected package libxdmcp6:armhf. Preparing to unpack .../40-libxdmcp6_1%3a1.1.2-3+b1_armhf.deb ... Unpacking libxdmcp6:armhf (1:1.1.2-3+b1) ... 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.7-1_all.deb ... Unpacking libx11-data (2:1.8.7-1) ... Selecting previously unselected package libx11-6:armhf. Preparing to unpack .../43-libx11-6_2%3a1.8.7-1+b1_armhf.deb ... Unpacking libx11-6:armhf (2:1.8.7-1+b1) ... Selecting previously unselected package libxau-dev:armhf. Preparing to unpack .../44-libxau-dev_1%3a1.0.9-1+b1_armhf.deb ... Unpacking libxau-dev:armhf (1:1.0.9-1+b1) ... Selecting previously unselected package libxdmcp-dev:armhf. Preparing to unpack .../45-libxdmcp-dev_1%3a1.1.2-3+b1_armhf.deb ... Unpacking libxdmcp-dev:armhf (1:1.1.2-3+b1) ... 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.7-1+b1_armhf.deb ... Unpacking libx11-dev:armhf (2:1.8.7-1+b1) ... 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 libxt6t64:armhf. Preparing to unpack .../51-libxt6t64_1%3a1.2.1-1.2_armhf.deb ... Unpacking libxt6t64:armhf (1:1.2.1-1.2) ... Selecting previously unselected package libxt-dev:armhf. Preparing to unpack .../52-libxt-dev_1%3a1.2.1-1.2_armhf.deb ... Unpacking libxt-dev:armhf (1:1.2.1-1.2) ... Selecting previously unselected package libxmu6:armhf. Preparing to unpack .../53-libxmu6_2%3a1.1.3-3+b2_armhf.deb ... Unpacking libxmu6:armhf (2:1.1.3-3+b2) ... 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+b2_armhf.deb ... Unpacking libxmu-dev:armhf (2:1.1.3-3+b2) ... Selecting previously unselected package libxpm4:armhf. Preparing to unpack .../56-libxpm4_1%3a3.5.17-1+b1_armhf.deb ... Unpacking libxpm4:armhf (1:3.5.17-1+b1) ... Selecting previously unselected package libxpm-dev:armhf. Preparing to unpack .../57-libxpm-dev_1%3a3.5.17-1+b1_armhf.deb ... Unpacking libxpm-dev:armhf (1:3.5.17-1+b1) ... Selecting previously unselected package libxxf86dga1:armhf. Preparing to unpack .../58-libxxf86dga1_2%3a1.1.5-1+b1_armhf.deb ... Unpacking libxxf86dga1:armhf (2:1.1.5-1+b1) ... Selecting previously unselected package libxxf86dga-dev:armhf. Preparing to unpack .../59-libxxf86dga-dev_2%3a1.1.5-1+b1_armhf.deb ... Unpacking libxxf86dga-dev:armhf (2:1.1.5-1+b1) ... 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-2) ... Setting up libxau6:armhf (1:1.0.9-1+b1) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.40-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1t64:armhf (1:5.45-3) ... 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 gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libpthread-stubs0-dev:armhf (0.4-1+b1) ... Setting up libelf1t64:armhf (0.191-1+b1) ... Setting up xtrans-dev (1.4.0-1) ... Setting up autotools-dev (20220109.1) ... Setting up libx11-data (2:1.8.7-1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libbsd0:armhf (0.12.2-1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b3) ... 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 (2024.1-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libice6:armhf (2:1.0.10-1+b1) ... Setting up libxdmcp6:armhf (1:1.1.2-3+b1) ... Setting up libxcb1:armhf (1.15-1) ... Setting up gettext (0.21-14+b1) ... Setting up libxau-dev:armhf (1:1.0.9-1+b1) ... Setting up libice-dev:armhf (2:1.0.10-1+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libxdmcp-dev:armhf (1:1.1.2-3+b1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-4) ... Setting up libx11-6:armhf (2:1.8.7-1+b1) ... Setting up libsm6:armhf (2:1.2.3-1+b1) ... Setting up libxcb1-dev:armhf (1.15-1) ... Setting up libxpm4:armhf (1:3.5.17-1+b1) ... Setting up libsm-dev:armhf (2:1.2.3-1+b1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libx11-dev:armhf (2:1.8.7-1+b1) ... Setting up libxext6:armhf (2:1.3.4-1+b1) ... Setting up man-db (2.12.1-1) ... 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.17-1+b1) ... Setting up libxt6t64:armhf (1:1.2.1-1.2) ... 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+b2) ... Setting up libxxf86vm-dev:armhf (1:1.1.4-1+b2) ... Setting up libxxf86dga1:armhf (2:1.1.5-1+b1) ... Setting up debhelper (13.15.3) ... Setting up libxt-dev:armhf (1:1.2.1-1.2) ... Setting up libxxf86dga-dev:armhf (2:1.1.5-1+b1) ... Setting up libxmu-dev:armhf (2:1.1.3-3+b2) ... Processing triggers for libc-bin (2.38-10) ... 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.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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/reproducible-path/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/reproducible-path/xgalaga-2.1.1.0/libsprite' arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o border.o border.c 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o init.o init.c 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 }, | { } { } { } { } 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}, | { } { } { } { } { } { } 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 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:964, 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. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o text.o text.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:964, 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o makewindow.o makewindow.c 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. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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}, | { } { } arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o point.o point.c 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o tile.o tile.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o cleararea.o cleararea.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o fill.o fill.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o mapwindow.o mapwindow.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o scale.o scale.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. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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:964, 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o image.o image.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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) | ^~ In file included from /usr/include/stdio.h:964, 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; | ^~~~~~~~ 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:964, 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. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o menu.o menu.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 gzip -9 -c -n xgalaga.6x > xgalaga.6x.gz arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xgalaga-2.1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/reproducible-path/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 make[1]: Leaving directory '/build/reproducible-path/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/reproducible-path/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done make[2]: Entering directory '/build/reproducible-path/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/reproducible-path/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/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/games ./mkinstalldirs /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga mkdir /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games mkdir /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga /usr/bin/install -c xgalaga /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/games/xgalaga /usr/bin/install -c xgalaga-hyperspace /build/reproducible-path/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/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.oss; \ fi ./mkinstalldirs /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds mkdir /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds ./mkinstalldirs /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels mkdir /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels for i in levels/*.xgl; do /usr/bin/install -c $i /build/reproducible-path/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/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/$i ; done /usr/bin/install -c CREDITS /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/CREDITS /usr/bin/install -c xgalaga.6x.gz /build/reproducible-path/xgalaga-2.1.1.0/debian/xgalaga/usr/share/man/man6/xgalaga.6x.gz make[1]: Leaving directory '/build/reproducible-path/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' in '../xgalaga_2.1.1.0-6_armhf.deb'. dpkg-deb: building package 'xgalaga-dbgsym' in '../xgalaga-dbgsym_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/7935 and its subdirectories I: Current time: Sat May 11 14:34:05 -12 2024 I: pbuilder-time-stamp: 1715481245 Sun May 12 02:34:13 UTC 2024 I: 1st build successful. Starting 2nd build on remote node ff4a-armhf-rb.debian.net. Sun May 12 02:34:13 UTC 2024 I: Preparing to do remote build '2' on ff4a-armhf-rb.debian.net. Sun May 12 02:36:37 UTC 2024 I: Deleting $TMPDIR on ff4a-armhf-rb.debian.net. Sun May 12 02:36:39 UTC 2024 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: 41fa37dbae671e37f61678ed47ee2bcc3de94eb9 237156 xgalaga-dbgsym_2.1.1.0-6_armhf.deb c38997f0428e0675b9b4389fb6900df9cb9aa461 5900 xgalaga_2.1.1.0-6_armhf.buildinfo 6619cc638dbd3398c0562440cd1a97f2c5bd901c 189036 xgalaga_2.1.1.0-6_armhf.deb Checksums-Sha256: eaba9284ad036e8f2c71af69f95a10c418c28652a09b183208901272c764ae86 237156 xgalaga-dbgsym_2.1.1.0-6_armhf.deb a09dff44b7059b9fd7a7cf78070433456afe5ada477647898d7e813afccc1dfa 5900 xgalaga_2.1.1.0-6_armhf.buildinfo 60dea7a319e6507adad6b51a6473bf98df2d7b2793a4449b85bb3f821eda0516 189036 xgalaga_2.1.1.0-6_armhf.deb Files: 3aece25e5f0dc3cc9014a0f1b42a716e 237156 debug optional xgalaga-dbgsym_2.1.1.0-6_armhf.deb acaaf61477d40654f62b831438faa51d 5900 games optional xgalaga_2.1.1.0-6_armhf.buildinfo afadd972f3ab624a910a36d956b4c54a 189036 games optional xgalaga_2.1.1.0-6_armhf.deb Sun May 12 02:36:40 UTC 2024 I: diffoscope 266 will be used to compare the two builds: Running as unit: rb-diffoscope-armhf_4-5231.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.1AC6lGrQ/xgalaga_2.1.1.0-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.1AC6lGrQ/xgalaga_2.1.1.0-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.1AC6lGrQ/xgalaga_2.1.1.0-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.1AC6lGrQ/b1/xgalaga_2.1.1.0-6_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.1AC6lGrQ/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.354s) 0.354s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.019s) 0.019s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 692ms CPU time consumed: 689ms Sun May 12 02:51:00 UTC 2024 I: diffoscope 266 found no differences in the changes files, and a .buildinfo file also exists. Sun May 12 02:51:00 UTC 2024 I: xgalaga from trixie built successfully and reproducibly on armhf. Sun May 12 02:51:05 UTC 2024 I: Submitting .buildinfo files to external archives: Sun May 12 02:51:05 UTC 2024 I: Submitting 8.0K b1/xgalaga_2.1.1.0-6_armhf.buildinfo.asc Sun May 12 02:51:12 UTC 2024 I: Submitting 8.0K b2/xgalaga_2.1.1.0-6_armhf.buildinfo.asc Sun May 12 02:51:34 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sun May 12 02:51:34 UTC 2024 I: Done submitting .buildinfo files. Sun May 12 02:51:34 UTC 2024 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'