Mon May 24 21:09:24 UTC 2021 I: starting to build xgalaga/bullseye/i386 on jenkins on '2021-05-24 21:09' Mon May 24 21:09:24 UTC 2021 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_14/13299/console.log Mon May 24 21:09:24 UTC 2021 I: Downloading source for bullseye/xgalaga=2.1.1.0-6 --2021-05-24 21:09:24-- http://cdn-fastly.deb.debian.org/debian/pool/main/x/xgalaga/xgalaga_2.1.1.0-6.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2168 (2.1K) Saving to: ‘xgalaga_2.1.1.0-6.dsc’ 0K .. 100% 136M=0s 2021-05-24 21:09:24 (136 MB/s) - ‘xgalaga_2.1.1.0-6.dsc’ saved [2168/2168] Mon May 24 21:09:24 UTC 2021 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----- Mon May 24 21:09:24 UTC 2021 I: Checking whether the package is not for us Mon May 24 21:09:24 UTC 2021 I: Starting 1st build on remote node ionos6-i386.debian.net. Mon May 24 21:09:24 UTC 2021 I: Preparing to do remote build '1' on ionos6-i386.debian.net. Mon May 24 21:09:50 UTC 2021 I: Deleting $TMPDIR on ionos6-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Jun 26 15:32:24 -12 2022 I: pbuilder-time-stamp: 1656300744 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration 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: using eatmydata during job 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: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig._oJNf6RQ/trustedkeys.kbx': General error gpgv: Signature made Mon Jun 1 00:47:24 2020 -12 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xgalaga_2.1.1.0-6.dsc 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/37548/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' DISTRIBUTION='' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='f6f3abb482ed48bb9b70e085457d91ef' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' 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='37548' 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/tmp.UZUzMgenc1/pbuilderrc_2tut --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.UZUzMgenc1/b1 --logfile b1/build.log xgalaga_2.1.1.0-6.dsc' SUDO_GID='112' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://85.184.249.68:3128' I: uname -a Linux ionos6-i386 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin total 5776 -rwxr-xr-x 1 root root 1367848 Feb 24 2021 bash -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash -rwxr-xr-x 1 root root 124904 Sep 22 2020 date -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd -rwxr-xr-x 1 root root 100752 Sep 22 2020 df -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep -rwxr-xr-x 1 root root 34664 Sep 22 2020 false -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln -rwxr-xr-x 1 root root 55572 Feb 7 2020 login -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp -rwxr-xr-x 1 root root 58920 Feb 7 2021 more -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd lrwxrwxrwx 1 root root 4 Feb 24 2021 rbash -> bash -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Jun 25 03:47 sh -> dash -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty -rwsr-xr-x 1 root root 79396 Feb 7 2021 su -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch -rwxr-xr-x 1 root root 34664 Sep 22 2020 true -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew I: user script /srv/workspace/pbuilder/37548/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: i386 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 ... 19674 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libx11-dev; however: Package libx11-dev is not installed. pbuilder-satisfydepends-dummy depends on libxmu-dev; however: Package libxmu-dev is not installed. pbuilder-satisfydepends-dummy depends on libxpm-dev; however: Package libxpm-dev is not installed. pbuilder-satisfydepends-dummy depends on libxxf86dga-dev; however: Package libxxf86dga-dev is not installed. pbuilder-satisfydepends-dummy depends on libxxf86vm-dev; however: Package libxxf86vm-dev is not installed. pbuilder-satisfydepends-dummy depends on x11proto-core-dev; however: Package x11proto-core-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libice-dev{a} libice6{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libmd0{a} libpipeline1{a} libpthread-stubs0-dev{a} libsigsegv2{a} libsm-dev{a} libsm6{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxml2{a} libxmu-dev{a} libxmu-headers{a} libxmu6{a} libxpm-dev{a} libxpm4{a} libxt-dev{a} libxt6{a} libxxf86dga-dev{a} libxxf86dga1{a} libxxf86vm-dev{a} libxxf86vm1{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} x11-common{a} x11proto-dev{a} x11proto-xext-dev{a} x11proto-xf86dga-dev{a} x11proto-xf86vidmode-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, 67 newly installed, 0 to remove and 0 not upgraded. Need to get 23.5 MB of archives. After unpacking 82.0 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main i386 bsdextrautils i386 2.36.1-7 [148 kB] Get: 2 http://deb.debian.org/debian bullseye/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 3 http://deb.debian.org/debian bullseye/main i386 groff-base i386 1.22.4-6 [952 kB] Get: 4 http://deb.debian.org/debian bullseye/main i386 libpipeline1 i386 1.5.3-1 [36.8 kB] Get: 5 http://deb.debian.org/debian bullseye/main i386 man-db i386 2.9.4-2 [1367 kB] Get: 6 http://deb.debian.org/debian bullseye/main i386 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main i386 libmagic-mgc i386 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main i386 libmagic1 i386 1:5.39-3 [133 kB] Get: 9 http://deb.debian.org/debian bullseye/main i386 file i386 1:5.39-3 [69.0 kB] Get: 10 http://deb.debian.org/debian bullseye/main i386 gettext-base i386 0.21-4 [176 kB] Get: 11 http://deb.debian.org/debian bullseye/main i386 libsigsegv2 i386 2.13-1 [35.1 kB] Get: 12 http://deb.debian.org/debian bullseye/main i386 m4 i386 1.4.18-5 [206 kB] Get: 13 http://deb.debian.org/debian bullseye/main i386 autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main i386 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main i386 automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main i386 autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main i386 libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main i386 libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main i386 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main i386 libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main i386 libfile-stripnondeterminism-perl all 1.11.0-1 [25.6 kB] Get: 23 http://deb.debian.org/debian bullseye/main i386 dh-strip-nondeterminism all 1.11.0-1 [15.3 kB] Get: 24 http://deb.debian.org/debian bullseye/main i386 libelf1 i386 0.183-1 [171 kB] Get: 25 http://deb.debian.org/debian bullseye/main i386 dwz i386 0.13+20210201-1 [179 kB] Get: 26 http://deb.debian.org/debian bullseye/main i386 libicu67 i386 67.1-6 [8776 kB] Get: 27 http://deb.debian.org/debian bullseye/main i386 libxml2 i386 2.9.10+dfsg-6.6 [727 kB] Get: 28 http://deb.debian.org/debian bullseye/main i386 gettext i386 0.21-4 [1322 kB] Get: 29 http://deb.debian.org/debian bullseye/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main i386 libmd0 i386 1.0.3-3 [28.9 kB] Get: 33 http://deb.debian.org/debian bullseye/main i386 libbsd0 i386 0.11.3-1 [111 kB] Get: 34 http://deb.debian.org/debian bullseye/main i386 x11-common all 1:7.7+22 [252 kB] Get: 35 http://deb.debian.org/debian bullseye/main i386 libice6 i386 2:1.0.10-1 [60.8 kB] Get: 36 http://deb.debian.org/debian bullseye/main i386 xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB] Get: 37 http://deb.debian.org/debian bullseye/main i386 x11proto-dev all 2020.1-1 [594 kB] Get: 38 http://deb.debian.org/debian bullseye/main i386 libice-dev i386 2:1.0.10-1 [70.5 kB] Get: 39 http://deb.debian.org/debian bullseye/main i386 libpthread-stubs0-dev i386 0.4-1 [5340 B] Get: 40 http://deb.debian.org/debian bullseye/main i386 libsm6 i386 2:1.2.3-1 [35.7 kB] Get: 41 http://deb.debian.org/debian bullseye/main i386 libsm-dev i386 2:1.2.3-1 [38.8 kB] Get: 42 http://deb.debian.org/debian bullseye/main i386 libxau6 i386 1:1.0.9-1 [20.0 kB] Get: 43 http://deb.debian.org/debian bullseye/main i386 libxdmcp6 i386 1:1.1.2-3 [26.7 kB] Get: 44 http://deb.debian.org/debian bullseye/main i386 libxcb1 i386 1.14-3 [144 kB] Get: 45 http://deb.debian.org/debian bullseye/main i386 libx11-data all 2:1.7.0-2 [310 kB] Get: 46 http://deb.debian.org/debian bullseye/main i386 libx11-6 i386 2:1.7.0-2 [796 kB] Get: 47 http://deb.debian.org/debian bullseye/main i386 libxau-dev i386 1:1.0.9-1 [23.3 kB] Get: 48 http://deb.debian.org/debian bullseye/main i386 libxdmcp-dev i386 1:1.1.2-3 [42.7 kB] Get: 49 http://deb.debian.org/debian bullseye/main i386 xtrans-dev all 1.4.0-1 [98.7 kB] Get: 50 http://deb.debian.org/debian bullseye/main i386 libxcb1-dev i386 1.14-3 [181 kB] Get: 51 http://deb.debian.org/debian bullseye/main i386 libx11-dev i386 2:1.7.0-2 [875 kB] Get: 52 http://deb.debian.org/debian bullseye/main i386 libxext6 i386 2:1.3.3-1.1 [55.2 kB] Get: 53 http://deb.debian.org/debian bullseye/main i386 x11proto-xext-dev all 2020.1-1 [3404 B] Get: 54 http://deb.debian.org/debian bullseye/main i386 libxext-dev i386 2:1.3.3-1.1 [111 kB] Get: 55 http://deb.debian.org/debian bullseye/main i386 libxt6 i386 1:1.2.0-1 [195 kB] Get: 56 http://deb.debian.org/debian bullseye/main i386 libxt-dev i386 1:1.2.0-1 [421 kB] Get: 57 http://deb.debian.org/debian bullseye/main i386 libxmu6 i386 2:1.1.2-2+b3 [62.8 kB] Get: 58 http://deb.debian.org/debian bullseye/main i386 libxmu-headers all 2:1.1.2-2 [51.9 kB] Get: 59 http://deb.debian.org/debian bullseye/main i386 libxmu-dev i386 2:1.1.2-2+b3 [70.3 kB] Get: 60 http://deb.debian.org/debian bullseye/main i386 libxpm4 i386 1:3.5.12-1 [50.9 kB] Get: 61 http://deb.debian.org/debian bullseye/main i386 libxpm-dev i386 1:3.5.12-1 [107 kB] Get: 62 http://deb.debian.org/debian bullseye/main i386 libxxf86dga1 i386 2:1.1.4-1+b3 [22.9 kB] Get: 63 http://deb.debian.org/debian bullseye/main i386 x11proto-xf86dga-dev all 2020.1-1 [3416 B] Get: 64 http://deb.debian.org/debian bullseye/main i386 libxxf86dga-dev i386 2:1.1.4-1+b3 [28.7 kB] Get: 65 http://deb.debian.org/debian bullseye/main i386 libxxf86vm1 i386 1:1.1.4-1+b2 [21.7 kB] Get: 66 http://deb.debian.org/debian bullseye/main i386 x11proto-xf86vidmode-dev all 2020.1-1 [3416 B] Get: 67 http://deb.debian.org/debian bullseye/main i386 libxxf86vm-dev i386 1:1.1.4-1+b2 [26.3 kB] Fetched 23.5 MB in 0s (84.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19674 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-7_i386.deb ... Unpacking bsdextrautils (2.36.1-7) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../01-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_i386.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../03-libpipeline1_1.5.3-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_i386.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_i386.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../07-libmagic1_1%3a5.39-3_i386.deb ... Unpacking libmagic1:i386 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_i386.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_i386.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../10-libsigsegv2_2.13-1_i386.deb ... Unpacking libsigsegv2:i386 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_i386.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-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 .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.11.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.11.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.11.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.11.0-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../23-libelf1_0.183-1_i386.deb ... Unpacking libelf1:i386 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_i386.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:i386. Preparing to unpack .../25-libicu67_67.1-6_i386.deb ... Unpacking libicu67:i386 (67.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.6_i386.deb ... Unpacking libxml2:i386 (2.9.10+dfsg-6.6) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_i386.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package libmd0:i386. Preparing to unpack .../31-libmd0_1.0.3-3_i386.deb ... Unpacking libmd0:i386 (1.0.3-3) ... Selecting previously unselected package libbsd0:i386. Preparing to unpack .../32-libbsd0_0.11.3-1_i386.deb ... Unpacking libbsd0:i386 (0.11.3-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../33-x11-common_1%3a7.7+22_all.deb ... Unpacking x11-common (1:7.7+22) ... Selecting previously unselected package libice6:i386. Preparing to unpack .../34-libice6_2%3a1.0.10-1_i386.deb ... Unpacking libice6:i386 (2:1.0.10-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../35-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 .../36-x11proto-dev_2020.1-1_all.deb ... Unpacking x11proto-dev (2020.1-1) ... Selecting previously unselected package libice-dev:i386. Preparing to unpack .../37-libice-dev_2%3a1.0.10-1_i386.deb ... Unpacking libice-dev:i386 (2:1.0.10-1) ... Selecting previously unselected package libpthread-stubs0-dev:i386. Preparing to unpack .../38-libpthread-stubs0-dev_0.4-1_i386.deb ... Unpacking libpthread-stubs0-dev:i386 (0.4-1) ... Selecting previously unselected package libsm6:i386. Preparing to unpack .../39-libsm6_2%3a1.2.3-1_i386.deb ... Unpacking libsm6:i386 (2:1.2.3-1) ... Selecting previously unselected package libsm-dev:i386. Preparing to unpack .../40-libsm-dev_2%3a1.2.3-1_i386.deb ... Unpacking libsm-dev:i386 (2:1.2.3-1) ... Selecting previously unselected package libxau6:i386. Preparing to unpack .../41-libxau6_1%3a1.0.9-1_i386.deb ... Unpacking libxau6:i386 (1:1.0.9-1) ... Selecting previously unselected package libxdmcp6:i386. Preparing to unpack .../42-libxdmcp6_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp6:i386 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:i386. Preparing to unpack .../43-libxcb1_1.14-3_i386.deb ... Unpacking libxcb1:i386 (1.14-3) ... Selecting previously unselected package libx11-data. Preparing to unpack .../44-libx11-data_2%3a1.7.0-2_all.deb ... Unpacking libx11-data (2:1.7.0-2) ... Selecting previously unselected package libx11-6:i386. Preparing to unpack .../45-libx11-6_2%3a1.7.0-2_i386.deb ... Unpacking libx11-6:i386 (2:1.7.0-2) ... Selecting previously unselected package libxau-dev:i386. Preparing to unpack .../46-libxau-dev_1%3a1.0.9-1_i386.deb ... Unpacking libxau-dev:i386 (1:1.0.9-1) ... Selecting previously unselected package libxdmcp-dev:i386. Preparing to unpack .../47-libxdmcp-dev_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp-dev:i386 (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../48-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libxcb1-dev:i386. Preparing to unpack .../49-libxcb1-dev_1.14-3_i386.deb ... Unpacking libxcb1-dev:i386 (1.14-3) ... Selecting previously unselected package libx11-dev:i386. Preparing to unpack .../50-libx11-dev_2%3a1.7.0-2_i386.deb ... Unpacking libx11-dev:i386 (2:1.7.0-2) ... Selecting previously unselected package libxext6:i386. Preparing to unpack .../51-libxext6_2%3a1.3.3-1.1_i386.deb ... Unpacking libxext6:i386 (2:1.3.3-1.1) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../52-x11proto-xext-dev_2020.1-1_all.deb ... Unpacking x11proto-xext-dev (2020.1-1) ... Selecting previously unselected package libxext-dev:i386. Preparing to unpack .../53-libxext-dev_2%3a1.3.3-1.1_i386.deb ... Unpacking libxext-dev:i386 (2:1.3.3-1.1) ... Selecting previously unselected package libxt6:i386. Preparing to unpack .../54-libxt6_1%3a1.2.0-1_i386.deb ... Unpacking libxt6:i386 (1:1.2.0-1) ... Selecting previously unselected package libxt-dev:i386. Preparing to unpack .../55-libxt-dev_1%3a1.2.0-1_i386.deb ... Unpacking libxt-dev:i386 (1:1.2.0-1) ... Selecting previously unselected package libxmu6:i386. Preparing to unpack .../56-libxmu6_2%3a1.1.2-2+b3_i386.deb ... Unpacking libxmu6:i386 (2:1.1.2-2+b3) ... Selecting previously unselected package libxmu-headers. Preparing to unpack .../57-libxmu-headers_2%3a1.1.2-2_all.deb ... Unpacking libxmu-headers (2:1.1.2-2) ... Selecting previously unselected package libxmu-dev:i386. Preparing to unpack .../58-libxmu-dev_2%3a1.1.2-2+b3_i386.deb ... Unpacking libxmu-dev:i386 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm4:i386. Preparing to unpack .../59-libxpm4_1%3a3.5.12-1_i386.deb ... Unpacking libxpm4:i386 (1:3.5.12-1) ... Selecting previously unselected package libxpm-dev:i386. Preparing to unpack .../60-libxpm-dev_1%3a3.5.12-1_i386.deb ... Unpacking libxpm-dev:i386 (1:3.5.12-1) ... Selecting previously unselected package libxxf86dga1:i386. Preparing to unpack .../61-libxxf86dga1_2%3a1.1.4-1+b3_i386.deb ... Unpacking libxxf86dga1:i386 (2:1.1.4-1+b3) ... Selecting previously unselected package x11proto-xf86dga-dev. Preparing to unpack .../62-x11proto-xf86dga-dev_2020.1-1_all.deb ... Unpacking x11proto-xf86dga-dev (2020.1-1) ... Selecting previously unselected package libxxf86dga-dev:i386. Preparing to unpack .../63-libxxf86dga-dev_2%3a1.1.4-1+b3_i386.deb ... Unpacking libxxf86dga-dev:i386 (2:1.1.4-1+b3) ... Selecting previously unselected package libxxf86vm1:i386. Preparing to unpack .../64-libxxf86vm1_1%3a1.1.4-1+b2_i386.deb ... Unpacking libxxf86vm1:i386 (1:1.1.4-1+b2) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Preparing to unpack .../65-x11proto-xf86vidmode-dev_2020.1-1_all.deb ... Unpacking x11proto-xf86vidmode-dev (2020.1-1) ... Selecting previously unselected package libxxf86vm-dev:i386. Preparing to unpack .../66-libxxf86vm-dev_1%3a1.1.4-1+b2_i386.deb ... Unpacking libxxf86vm-dev:i386 (1:1.1.4-1+b2) ... Setting up libpipeline1:i386 (1.5.3-1) ... Setting up libxau6:i386 (1:1.0.9-1) ... Setting up bsdextrautils (2.36.1-7) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:i386 (67.1-6) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up x11-common (1:7.7+22) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libmagic1:i386 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up libpthread-stubs0-dev:i386 (0.4-1) ... Setting up xtrans-dev (1.4.0-1) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libx11-data (2:1.7.0-2) ... Setting up libsigsegv2:i386 (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up libmd0:i386 (1.0.3-3) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:i386 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libbsd0:i386 (0.11.3-1) ... Setting up libelf1:i386 (0.183-1) ... Setting up libxml2:i386 (2.9.10+dfsg-6.6) ... Setting up x11proto-dev (2020.1-1) ... Setting up libfile-stripnondeterminism-perl (1.11.0-1) ... Setting up libice6:i386 (2:1.0.10-1) ... Setting up libxdmcp6:i386 (1:1.1.2-3) ... Setting up libxcb1:i386 (1.14-3) ... Setting up gettext (0.21-4) ... Setting up libxau-dev:i386 (1:1.0.9-1) ... Setting up libice-dev:i386 (2:1.0.10-1) ... Setting up libtool (2.4.6-15) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxdmcp-dev:i386 (1:1.1.2-3) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.11.0-1) ... Setting up x11proto-xf86vidmode-dev (2020.1-1) ... Setting up x11proto-xext-dev (2020.1-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up libx11-6:i386 (2:1.7.0-2) ... Setting up x11proto-xf86dga-dev (2020.1-1) ... Setting up libsm6:i386 (2:1.2.3-1) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libxcb1-dev:i386 (1.14-3) ... Setting up libxpm4:i386 (1:3.5.12-1) ... Setting up libsm-dev:i386 (2:1.2.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libx11-dev:i386 (2:1.7.0-2) ... Setting up libxext6:i386 (2:1.3.3-1.1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libxxf86vm1:i386 (1:1.1.4-1+b2) ... Setting up dh-autoreconf (20) ... Setting up libxpm-dev:i386 (1:3.5.12-1) ... Setting up libxt6:i386 (1:1.2.0-1) ... Setting up libxext-dev:i386 (2:1.3.3-1.1) ... Setting up libxmu-headers (2:1.1.2-2) ... Setting up libxmu6:i386 (2:1.1.2-2+b3) ... Setting up libxxf86vm-dev:i386 (1:1.1.4-1+b2) ... Setting up libxxf86dga1:i386 (2:1.1.4-1+b3) ... Setting up debhelper (13.3.4) ... Setting up libxt-dev:i386 (1:1.2.0-1) ... Setting up libxxf86dga-dev:i386 (2:1.1.4-1+b3) ... Setting up libxmu-dev:i386 (2:1.1.2-2+b3) ... Processing triggers for libc-bin (2.31-12) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/xgalaga-2.1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b 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 i386 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=i686-linux-gnu --host=i686-linux-gnu \ --prefix=/usr/share/games/xgalaga \ --exec-prefix=/usr/games CFLAGS="-Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2" LDFLAGS="-Wl,-z,relro" checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-linux-gnu-gcc... i686-linux-gnu-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 i686-linux-gnu-gcc accepts -g... yes checking for i686-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... i686-linux-gnu-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 i686-linux-gnu-ranlib... i686-linux-gnu-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-gnu configure: sound type choosen as native checking for main in -lX11... yes checking for main in -lXmu... yes checking for main in -lXt... yes checking for main in -lXext... yes checking for main in -lXExExt... no checking for main in -lXpm... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether i686-linux-gnu-gcc needs -traditional... no checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for random... yes checking for lrand48... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating libsprite/Makefile config.status: creating config.h # hack SOUNDDEFS so we don't need symlinks /usr/bin/make SOUNDDEFS=-DSOUNDSERVER=\\\"/usr/lib/games/xgalaga/$\(SOUNDSRV\)\\\" make[1]: Entering directory '/build/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c main.c -o main.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c images.c -o images.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c data.c -o data.o make[2]: Entering directory '/build/xgalaga-2.1.1.0/libsprite' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c paths.c -o paths.o i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o border.o border.c i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c pathfile.c -o pathfile.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c title.c -o title.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c explosions.c -o explosions.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c score.c -o score.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c highscore.c -o highscore.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c prize.c -o prize.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c sound.c -o sound.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c nas_sound.c -o nas_sound.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c frate.c -o frate.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c linux-joystick.c -o linux-joystick.o i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c main.c -o main.o.hyper i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c images.c -o images.o.hyper i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c data.c -o data.o.hyper 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 | }, | } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c paths.c -o paths.o.hyper paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 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 | }, | } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c pathfile.c -o pathfile.o.hyper 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 | }, | } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c title.c -o title.o.hyper 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 | }, | } 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 | }, | } 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:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1164 | torpok = TORPDELAY; | ^~~~~~ 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 | }, | } score.c: In function 'draw_score': score.c:92:20: 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:19: note: directive argument in the range [7, 2147483647] 92 | sprintf(shipstr, "%d", ships); | ^~~~ In file included from /usr/include/stdio.h:867, from score.c:6: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | }, | } 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 | }, | } 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; | ^ 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 | }, | } 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:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1164 | torpok = TORPDELAY; | ^~~~~~ 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 | }, | } 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 | }, | } 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 | }, | } 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 | }, | } 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}, | { } { } { } { } { } { } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c explosions.c -o explosions.o.hyper 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}, | { } 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}, | { } 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}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o cursor.o cursor.c 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, }, | { } { } { } { } { } { } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c score.c -o score.o.hyper 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 }, | { } { } { } { } title.c: In function 'read_credits': title.c:154:21: warning: array subscript 71 is above array bounds of 'char[ + 1]' [-Warray-bounds] 154 | chLBuf[j] = 0x00; | ~~~~~~^~~ title.c:116:19: note: while referencing 'chLBuf.148' 116 | char *chFBuf, chLBuf[LINESIZE+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}, | { } { } { } { } { } { } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c highscore.c -o highscore.o.hyper In file included from /usr/include/string.h:495, from proto.h:1, from title.c:17: In function 'strncpy', inlined from 'read_credits' at title.c:156:15: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_credits' at title.c:138:13: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 }, | { } { } { } { } 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; | ^ 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}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 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}, | { } { } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c prize.c -o prize.o.hyper i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c sound.c -o sound.o.hyper 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 }, | { } { } { } { } 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 }, | { } { } { } { } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c nas_sound.c -o nas_sound.o.hyper 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}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } highscore.c: In function 'show_scores': highscore.c:385:23: 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:867, from highscore.c:7: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 45 and 314 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | { } { } 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}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } title.c: In function 'read_credits': title.c:154:21: warning: array subscript 71 is above array bounds of 'char[ + 1]' [-Warray-bounds] 154 | chLBuf[j] = 0x00; | ~~~~~~^~~ title.c:116:19: note: while referencing 'chLBuf.151' 116 | char *chFBuf, chLBuf[LINESIZE+1]; | ^~~~~~ i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c frate.c -o frate.o.hyper 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}, | { } { } i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c linux-joystick.c -o linux-joystick.o.hyper In file included from /usr/include/string.h:495, from proto.h:1, from title.c:17: In function 'strncpy', inlined from 'read_credits' at title.c:156:15: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_credits' at title.c:138:13: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c xgal.sndsrv.linux.c -o xgal.sndsrv.linux.o 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}, | { } { } score.c: In function 'draw_score': score.c:92:20: 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:19: note: directive argument in the range [7, 2147483647] 92 | sprintf(shipstr, "%d", ships); | ^~~~ In file included from /usr/include/stdio.h:867, from score.c:6: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } prize.c: In function 'do_prizes': prize.c:191:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 191 | else | ^~~~ prize.c:193:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 193 | if (shieldsleft + plshield > MAXSHIELDS) | ^~ 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}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 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}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 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 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } gzip -9 -c -n xgalaga.6x > xgalaga.6x.gz 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 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o init.o init.c 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 }, | { } { } { } { } { } { } { } highscore.c: In function 'show_scores': highscore.c:385:23: 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:867, from highscore.c:7: /usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 45 and 314 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, }, | { } { } 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, }, | { } { } 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}, | { } { } 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, }, | { } { } i686-linux-gnu-gcc -Wl,-z,relro -o xgal.sndsrv.oss xgal.sndsrv.linux.o i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o misc.o misc.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o sector.o sector.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o buffer.o buffer.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o data.o data.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o line.o line.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o mouse.o mouse.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o text.o text.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o circle.o circle.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o event.o event.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o makewindow.o makewindow.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o point.o point.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o tile.o tile.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o cleararea.o cleararea.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o fill.o fill.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o mapwindow.o mapwindow.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o scale.o scale.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o triangle.o triangle.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o color.o color.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o image.o image.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o menu.o menu.c i686-linux-gnu-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o scroll.o scroll.c 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 i686-linux-gnu-ranlib libsprite.a make[2]: Leaving directory '/build/xgalaga-2.1.1.0/libsprite' rm -f xgalaga rm -f xgalaga-hyperspace i686-linux-gnu-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 i686-linux-gnu-gcc -Wl,-z,relro -o xgalaga-hyperspace main.o.hyper images.o.hyper data.o.hyper paths.o.hyper pathfile.o.hyper title.o.hyper explosions.o.hyper score.o.hyper highscore.o.hyper prize.o.hyper sound.o.hyper nas_sound.o.hyper frate.o.hyper linux-joystick.o.hyper libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm make[1]: Leaving directory '/build/xgalaga-2.1.1.0' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_prep dh_installdirs usr/lib/games/xgalaga usr/games usr/share/man/man6 /usr/bin/make DESTDIR=`pwd`/debian/xgalaga install make[1]: Entering directory '/build/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done make[2]: Entering directory '/build/xgalaga-2.1.1.0/libsprite' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/xgalaga-2.1.1.0/libsprite' rm -f xgalaga rm -f xgalaga-hyperspace i686-linux-gnu-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 i686-linux-gnu-gcc -Wl,-z,relro -o xgalaga-hyperspace main.o.hyper images.o.hyper data.o.hyper paths.o.hyper pathfile.o.hyper title.o.hyper explosions.o.hyper score.o.hyper highscore.o.hyper prize.o.hyper sound.o.hyper nas_sound.o.hyper frate.o.hyper linux-joystick.o.hyper libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga /usr/bin/install -c xgalaga /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games/xgalaga /usr/bin/install -c xgalaga-hyperspace /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games/xgalaga-hyperspace if test ! "xgal.sndsrv.oss" = ""; then \ /usr/bin/install -c xgal.sndsrv.oss /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.oss; \ fi ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels for i in levels/*.xgl; do /usr/bin/install -c $i /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/$i ; done for i in sounds/*.raw; do /usr/bin/install -c $i /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/$i ; done /usr/bin/install -c CREDITS /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/CREDITS /usr/bin/install -c xgalaga.6x.gz /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/man/man6/xgalaga.6x.gz make[1]: Leaving directory '/build/xgalaga-2.1.1.0' dh_link usr/share/games/xgalaga/CREDITS usr/share/doc/xgalaga/CREDITS # move the sound-server binary out of usr/share mv debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.* \ debian/xgalaga/usr/lib/games/xgalaga find debian/xgalaga/usr/share/games/xgalaga -type f | xargs chmod 644 dh_install debian/xgalaga-icon.xpm usr/share/pixmaps dh_install debian/xgalaga.desktop usr/share/applications dh_install debian/xgalaga-hyperspace.desktop usr/share/applications dh_link usr/share/man/man6/xgalaga.6x usr/share/man/man6/xgalaga-hyperspace.6x dh_installdocs README* libsprite/README.libsprite dh_installexamples dh_installmenu dh_installchangelogs CHANGES dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'xgalaga' in '../xgalaga_2.1.1.0-6_i386.deb'. dpkg-deb: building package 'xgalaga-dbgsym' in '../xgalaga-dbgsym_2.1.1.0-6_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../xgalaga_2.1.1.0-6_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) 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/37548 and its subdirectories I: Current time: Sun Jun 26 15:32:48 -12 2022 I: pbuilder-time-stamp: 1656300768 Mon May 24 21:09:50 UTC 2021 I: 1st build successful. Starting 2nd build on remote node ionos12-i386.debian.net. Mon May 24 21:09:50 UTC 2021 I: Preparing to do remote build '2' on ionos12-i386.debian.net. Mon May 24 21:13:16 UTC 2021 I: Deleting $TMPDIR on ionos12-i386.debian.net. Mon May 24 21:13:17 UTC 2021 I: xgalaga_2.1.1.0-6_i386.changes: Format: 1.8 Date: Mon, 01 Jun 2020 14:38:08 +0200 Source: xgalaga Binary: xgalaga xgalaga-dbgsym Architecture: i386 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: 5626fda4172be51bde2885f2c257e99a0428eb67 203848 xgalaga-dbgsym_2.1.1.0-6_i386.deb 2501785197f7a2dc77536c80d29a9f21363f4425 5856 xgalaga_2.1.1.0-6_i386.buildinfo e14d9b6e7e71c280e9511f66c0e51e1e1f97a20b 204196 xgalaga_2.1.1.0-6_i386.deb Checksums-Sha256: f72d5717bfc8b8c0eca4946ac3b7398d8d5a5b3178ddaf39dabed69e101ef6f6 203848 xgalaga-dbgsym_2.1.1.0-6_i386.deb c991506743385dd0c848a7e4aae4dbc96341fbd3fce1f228b681f111ac21bad1 5856 xgalaga_2.1.1.0-6_i386.buildinfo a161f9a98b458f9aba8fde1a3c01e2c8da14b09de354bd390b591d580c780153 204196 xgalaga_2.1.1.0-6_i386.deb Files: b0946e09d5a6c6bb4d3b1f359cac1344 203848 debug optional xgalaga-dbgsym_2.1.1.0-6_i386.deb 4b9a049e8924bae7c1baf595cae431c3 5856 games optional xgalaga_2.1.1.0-6_i386.buildinfo 52aa427ab6708966382b72dc0163ae42 204196 games optional xgalaga_2.1.1.0-6_i386.deb Mon May 24 21:13:18 UTC 2021 I: diffoscope 172 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.UZUzMgenc1/xgalaga_2.1.1.0-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.UZUzMgenc1/xgalaga_2.1.1.0-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.UZUzMgenc1/xgalaga_2.1.1.0-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.UZUzMgenc1/b1/xgalaga_2.1.1.0-6_i386.changes /srv/reproducible-results/rbuild-debian/tmp.UZUzMgenc1/b2/xgalaga_2.1.1.0-6_i386.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.282s) 0.282s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.023s) 0.023s 10 calls diffoscope.comparators.binary.FilesystemFile 0.000s 8 calls abc.DotChangesFile Mon May 24 21:13:19 UTC 2021 I: diffoscope 172 found no differences in the changes files, and a .buildinfo file also exists. Mon May 24 21:13:19 UTC 2021 I: xgalaga from bullseye built successfully and reproducibly on i386. Mon May 24 21:13:21 UTC 2021 I: Submitting .buildinfo files to external archives: Mon May 24 21:13:21 UTC 2021 I: Submitting 8.0K b1/xgalaga_2.1.1.0-6_i386.buildinfo.asc Mon May 24 21:13:21 UTC 2021 I: Submitting 8.0K b2/xgalaga_2.1.1.0-6_i386.buildinfo.asc Mon May 24 21:13:22 UTC 2021 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Mon May 24 21:13:22 UTC 2021 I: Done submitting .buildinfo files. Mon May 24 21:13:22 UTC 2021 I: Removing signed xgalaga_2.1.1.0-6_i386.buildinfo.asc files: removed './b1/xgalaga_2.1.1.0-6_i386.buildinfo.asc' removed './b2/xgalaga_2.1.1.0-6_i386.buildinfo.asc'