DC-Build-Header: gngb 20060309-3 / 2013-07-17 13:05:37 +0000 DC-Task: source:gngb version:20060309-3 architecture:any chroot:unstable esttime:62 logfile:/tmp/gngb_20060309-3_unstable_clang.log modes:binary-only:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang --append-to-version "clang1" --maintainer "Lucas Nussbaum " --uploader "Lucas Nussbaum " gngb_20060309-3' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-10-235-5-15.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ gngb 20060309-3clang1 (amd64) 17 Jul 2013 13:05 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: gngb Version: 20060309-3clang1 Source Version: 20060309-3 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/gngb-Q5rHly/gngb-20060309' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/gngb-Q5rHly' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-ee887424-c9c4-4282-8ba8-b4c76c41b03a' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [204 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:6 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:7 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:8 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:9 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:10 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:11 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:12 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:13 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:14 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:15 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:16 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:17 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:18 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:19 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:20 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:21 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:22 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:23 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:24 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:25 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:26 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:27 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:28 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:29 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:30 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:31 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:32 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:33 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:34 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:35 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:36 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:37 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:38 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:39 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:40 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:41 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:42 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:43 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:44 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:45 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:46 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [5326 B] Get:47 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:48 http://localhost:9999 unstable/main amd64 2013-07-15-1432.36.pdiff [9809 B] Get:49 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [5326 B] Get:50 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [322 B] Get:51 http://localhost:9999 unstable/main amd64 2013-07-15-1432.36.pdiff [9809 B] Get:52 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [12.2 kB] Get:53 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [322 B] Get:54 http://localhost:9999 unstable/main amd64 2013-07-15-2031.50.pdiff [24.4 kB] Get:55 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [12.2 kB] Get:56 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [537 B] Get:57 http://localhost:9999 unstable/main amd64 2013-07-15-2031.50.pdiff [24.4 kB] Get:58 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [14.8 kB] Get:59 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [537 B] Get:60 http://localhost:9999 unstable/main amd64 2013-07-16-0233.12.pdiff [49.5 kB] Get:61 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [14.8 kB] Get:62 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [3247 B] Get:63 http://localhost:9999 unstable/main amd64 2013-07-16-0233.12.pdiff [49.5 kB] Get:64 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [7447 B] Get:65 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [3247 B] Get:66 http://localhost:9999 unstable/main amd64 2013-07-16-0834.41.pdiff [4493 B] Get:67 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [7447 B] Get:68 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [5852 B] Get:69 http://localhost:9999 unstable/main amd64 2013-07-16-0834.41.pdiff [4493 B] Get:70 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [21.2 kB] Get:71 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [5852 B] Get:72 http://localhost:9999 unstable/main amd64 2013-07-16-1433.54.pdiff [19.3 kB] Get:73 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [21.2 kB] Get:74 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [1941 B] Get:75 http://localhost:9999 unstable/main amd64 2013-07-16-1433.54.pdiff [19.3 kB] Get:76 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [19.4 kB] Get:77 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [1941 B] Get:78 http://localhost:9999 unstable/main amd64 2013-07-16-2046.09.pdiff [18.4 kB] Get:79 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [19.4 kB] Get:80 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [465 B] Get:81 http://localhost:9999 unstable/main amd64 2013-07-16-2046.09.pdiff [18.4 kB] Get:82 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [6503 B] Get:83 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [465 B] Get:84 http://localhost:9999 unstable/main amd64 2013-07-17-0233.52.pdiff [10.9 kB] Get:85 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [6503 B] Get:86 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [2433 B] Get:87 http://localhost:9999 unstable/main amd64 2013-07-17-0233.52.pdiff [10.9 kB] Get:88 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [6945 B] Get:89 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [2433 B] Get:90 http://localhost:9999 unstable/main amd64 2013-07-17-0833.19.pdiff [7401 B] Get:91 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [6945 B] Get:92 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [1349 B] Get:93 http://localhost:9999 unstable/main amd64 2013-07-17-0833.19.pdiff [7401 B] Get:94 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [1349 B] Fetched 635 kB in 55s (11.4 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: cpp-4.7 gcc-4.7 gcc-4.7-base initscripts libgcc-4.7-dev linux-libc-dev sysv-rc sysvinit sysvinit-utils 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 15.1 MB of archives. After this operation, 43.0 kB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main sysvinit amd64 2.88dsf-43 [134 kB] Get:2 http://localhost:9999/debian/ unstable/main sysv-rc all 2.88dsf-43 [80.5 kB] Get:3 http://localhost:9999/debian/ unstable/main sysvinit-utils amd64 2.88dsf-43 [103 kB] Get:4 http://localhost:9999/debian/ unstable/main initscripts amd64 2.88dsf-43 [87.2 kB] Get:5 http://localhost:9999/debian/ unstable/main gcc-4.7 amd64 4.7.3-6 [5819 kB] Get:6 http://localhost:9999/debian/ unstable/main cpp-4.7 amd64 4.7.3-6 [5385 kB] Get:7 http://localhost:9999/debian/ unstable/main libgcc-4.7-dev amd64 4.7.3-6 [2465 kB] Get:8 http://localhost:9999/debian/ unstable/main gcc-4.7-base amd64 4.7.3-6 [149 kB] Get:9 http://localhost:9999/debian/ unstable/main linux-libc-dev amd64 3.10.1-1 [869 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 15.1 MB in 0s (24.0 MB/s) (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysvinit 2.88dsf-41 (using .../sysvinit_2.88dsf-43_amd64.deb) ... Unpacking replacement sysvinit ... Setting up sysvinit (2.88dsf-43) ... Not restarting sysvinit (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysv-rc 2.88dsf-41 (using .../sysv-rc_2.88dsf-43_all.deb) ... Unpacking replacement sysv-rc ... Preparing to replace sysvinit-utils 2.88dsf-41 (using .../sysvinit-utils_2.88dsf-43_amd64.deb) ... Unpacking replacement sysvinit-utils ... Setting up sysvinit-utils (2.88dsf-43) ... Setting up sysv-rc (2.88dsf-43) ... (Reading database ... 13844 files and directories currently installed.) Preparing to replace initscripts 2.88dsf-41 (using .../initscripts_2.88dsf-43_amd64.deb) ... Removing unmodified and obsolete conffile /etc/init.d/mtab.sh ... Unpacking replacement initscripts ... Setting up initscripts (2.88dsf-43) ... Installing new version of config file /etc/init.d/bootmisc.sh ... Installing new version of config file /etc/init.d/checkfs.sh ... Installing new version of config file /etc/init.d/checkroot.sh ... Installing new version of config file /etc/init.d/checkroot-bootclean.sh ... Installing new version of config file /etc/init.d/mountdevsubfs.sh ... Installing new version of config file /etc/init.d/mountkernfs.sh ... Installing new version of config file /etc/init.d/rmnologin ... Installing new version of config file /etc/network/if-up.d/mountnfs ... (Reading database ... 13843 files and directories currently installed.) Preparing to replace gcc-4.7 4.7.3-5 (using .../gcc-4.7_4.7.3-6_amd64.deb) ... Unpacking replacement gcc-4.7 ... Preparing to replace cpp-4.7 4.7.3-5 (using .../cpp-4.7_4.7.3-6_amd64.deb) ... Unpacking replacement cpp-4.7 ... Preparing to replace libgcc-4.7-dev:amd64 4.7.3-5 (using .../libgcc-4.7-dev_4.7.3-6_amd64.deb) ... Unpacking replacement libgcc-4.7-dev:amd64 ... Preparing to replace gcc-4.7-base:amd64 4.7.3-5 (using .../gcc-4.7-base_4.7.3-6_amd64.deb) ... Unpacking replacement gcc-4.7-base:amd64 ... Preparing to replace linux-libc-dev:amd64 3.9.8-1 (using .../linux-libc-dev_3.10.1-1_amd64.deb) ... Unpacking replacement linux-libc-dev:amd64 ... Setting up gcc-4.7-base:amd64 (4.7.3-6) ... Setting up cpp-4.7 (4.7.3-6) ... Setting up libgcc-4.7-dev:amd64 (4.7.3-6) ... Setting up gcc-4.7 (4.7.3-6) ... Setting up linux-libc-dev:amd64 (3.10.1-1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 173 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main gngb 20060309-3 (dsc) [1156 B] Get:2 http://localhost:9999/debian/ unstable/main gngb 20060309-3 (tar) [169 kB] Get:3 http://localhost:9999/debian/ unstable/main gngb 20060309-3 (diff) [3145 B] Fetched 173 kB in 0s (661 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + echo 'Install of clang' Install of clang + apt-get update Hit http://localhost:9999 unstable InRelease Hit http://localhost:9999 unstable/main Sources/DiffIndex Hit http://localhost:9999 unstable/main amd64 Packages/DiffIndex Hit http://localhost:9999 unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.3 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev Suggested packages: libstdc++6-4.7-doc Recommended packages: llvm-3.3-dev python The following NEW packages will be installed: clang-3.3 libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 27.2 MB of archives. After this operation, 80.8 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.0.13-4 [21.6 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.3 amd64 1:3.3-3 [8575 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.8.1-6 [160 kB] Get:4 http://localhost:9999/debian/ unstable/main libstdc++6-4.7-dev amd64 4.7.3-6 [1694 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc-4.7-dev amd64 4.7.3-6 [719 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.3-dev amd64 1:3.3-3 [574 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.3 amd64 1:3.3-3 [4579 kB] Get:8 http://localhost:9999/debian/ unstable/main clang-3.3 amd64 1:3.3-3 [10.9 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 27.2 MB in 1s (25.4 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 13846 files and directories currently installed.) Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ... Selecting previously unselected package libllvm3.3:amd64. Unpacking libllvm3.3:amd64 (from .../libllvm3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libobjc4:amd64. Unpacking libobjc4:amd64 (from .../libobjc4_4.8.1-6_amd64.deb) ... Selecting previously unselected package libstdc++6-4.7-dev:amd64. Unpacking libstdc++6-4.7-dev:amd64 (from .../libstdc++6-4.7-dev_4.7.3-6_amd64.deb) ... Selecting previously unselected package libobjc-4.7-dev:amd64. Unpacking libobjc-4.7-dev:amd64 (from .../libobjc-4.7-dev_4.7.3-6_amd64.deb) ... Selecting previously unselected package libclang-common-3.3-dev. Unpacking libclang-common-3.3-dev (from .../libclang-common-3.3-dev_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libclang1-3.3. Unpacking libclang1-3.3 (from .../libclang1-3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package clang-3.3. Unpacking clang-3.3 (from .../clang-3.3_1%3a3.3-3_amd64.deb) ... Setting up libffi6:amd64 (3.0.13-4) ... Setting up libllvm3.3:amd64 (1:3.3-3) ... Setting up libobjc4:amd64 (4.8.1-6) ... Setting up libstdc++6-4.7-dev:amd64 (4.7.3-6) ... Setting up libobjc-4.7-dev:amd64 (4.7.3-6) ... Setting up libclang-common-3.3-dev (1:3.3-3) ... Setting up libclang1-3.3 (1:3.3-3) ... Setting up clang-3.3 (1:3.3-3) ... Processing triggers for libc-bin ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 + ln -s clang++ g++-4.6 + ln -s clang gcc-4.6 + ln -s clang cpp-4.6 + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 + ln -s clang++ g++-4.8 + ln -s clang gcc-4.8 + ln -s clang cpp-4.8 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + echo 'gcc-4.8 hold' + dpkg --set-selections + echo 'cpp-4.8 hold' + dpkg --set-selections + echo 'g++-4.8 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-Aw4Brd/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/710 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14701 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0), libsdl1.2-dev, zlib1g-dev, libglu1-mesa-dev, cdbs, autotools-dev Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5.0.0), libsdl1.2-dev, zlib1g-dev, libglu1-mesa-dev, cdbs, autotools-dev dpkg-deb: building package `sbuild-build-depends-gngb-dummy' in `/«BUILDDIR»/resolver-03RGXa/apt_archive/sbuild-build-depends-gngb-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install gngb build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: autotools-dev bsdmainutils cdbs debhelper file gettext gettext-base groff-base intltool-debian libasound2 libasound2-data libasound2-dev libasprintf0c2 libasyncns0 libavahi-client-dev libavahi-client3 libavahi-common-data libavahi-common-dev libavahi-common3 libcaca-dev libcaca0 libcroco3 libdbus-1-3 libdbus-1-dev libdirectfb-1.2-9 libdirectfb-dev libdirectfb-extra libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libelfg0 libflac8 libfreetype6 libfreetype6-dev libgl1-mesa-dev libgl1-mesa-glx libglapi-mesa libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglu1-mesa libglu1-mesa-dev libice6 libjpeg8 libjpeg8-dev libjson-c2 libkms1 libmagic1 libncursesw5 libogg0 libpciaccess0 libpcre3-dev libpcrecpp0 libpipeline1 libpng12-0 libpng12-dev libpopt0 libpthread-stubs0 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libpulse0 libsdl1.2-dev libsdl1.2debian libslang2-dev libsm6 libsndfile1 libts-0.0-0 libts-dev libunistring0 libvorbis0a libvorbisenc2 libwrap0 libx11-6 libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-glx0 libxcb-glx0-dev libxcb1 libxcb1-dev libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxi6 libxml2 libxtst6 libxxf86vm-dev libxxf86vm1 man-db mesa-common-dev pkg-config po-debconf tsconf x11-common x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev zlib1g-dev Suggested packages: wamerican wordlist whois vacation devscripts dh-make gettext-doc groff libasound2-plugins alsa-utils libasound2-doc libglib2.0-doc pciutils pulseaudio libxcb-doc libxext-doc less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev dbus libgl1-mesa-dri shared-mime-info python tcpd libx11-doc xml-core libmail-sendmail-perl The following NEW packages will be installed: autotools-dev bsdmainutils cdbs debhelper file gettext gettext-base groff-base intltool-debian libasound2 libasound2-data libasound2-dev libasprintf0c2 libasyncns0 libavahi-client-dev libavahi-client3 libavahi-common-data libavahi-common-dev libavahi-common3 libcaca-dev libcaca0 libcroco3 libdbus-1-3 libdbus-1-dev libdirectfb-1.2-9 libdirectfb-dev libdirectfb-extra libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libelfg0 libflac8 libfreetype6 libfreetype6-dev libgl1-mesa-dev libgl1-mesa-glx libglapi-mesa libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglu1-mesa libglu1-mesa-dev libice6 libjpeg8 libjpeg8-dev libjson-c2 libkms1 libmagic1 libncursesw5 libogg0 libpciaccess0 libpcre3-dev libpcrecpp0 libpipeline1 libpng12-0 libpng12-dev libpopt0 libpthread-stubs0 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libpulse0 libsdl1.2-dev libsdl1.2debian libslang2-dev libsm6 libsndfile1 libts-0.0-0 libts-dev libunistring0 libvorbis0a libvorbisenc2 libwrap0 libx11-6 libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-glx0 libxcb-glx0-dev libxcb1 libxcb1-dev libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxi6 libxml2 libxtst6 libxxf86vm-dev libxxf86vm1 man-db mesa-common-dev pkg-config po-debconf sbuild-build-depends-gngb-dummy tsconf x11-common x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 121 newly installed, 0 to remove and 0 not upgraded. Need to get 34.6 MB/34.6 MB of archives. After this operation, 103 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libncursesw5 amd64 5.9+20130608-1 [141 kB] Get:2 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.2.4-1 [41.0 kB] Get:3 http://localhost:9999/debian/ unstable/main libpopt0 amd64 1.16-7 [56.4 kB] Get:4 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-3 [747 kB] Get:5 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:6 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.5-2 [976 kB] Get:7 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.3-1 [29.6 kB] Get:8 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.14-2 [216 kB] Get:9 http://localhost:9999/debian/ unstable/main libwrap0 amd64 7.6.q-24 [62.4 kB] Get:10 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-2 [911 kB] Get:11 http://localhost:9999/debian/ unstable/main libasound2-data all 1.0.27.2-1 [62.6 kB] Get:12 http://localhost:9999/debian/ unstable/main libasound2 amd64 1.0.27.2-1 [458 kB] Get:13 http://localhost:9999/debian/ unstable/main libasyncns0 amd64 0.8-4 [13.6 kB] Get:14 http://localhost:9999/debian/ unstable/main libavahi-common-data amd64 0.6.31-2 [135 kB] Get:15 http://localhost:9999/debian/ unstable/main libavahi-common3 amd64 0.6.31-2 [54.6 kB] Get:16 http://localhost:9999/debian/ unstable/main libdbus-1-3 amd64 1.6.12-1 [172 kB] Get:17 http://localhost:9999/debian/ unstable/main libavahi-client3 amd64 0.6.31-2 [59.5 kB] Get:18 http://localhost:9999/debian/ unstable/main libcaca0 amd64 0.99.beta18-1 [395 kB] Get:19 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.36.3-3 [2048 kB] Get:20 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:21 http://localhost:9999/debian/ unstable/main tsconf all 1.0-11 [13.4 kB] Get:22 http://localhost:9999/debian/ unstable/main libts-0.0-0 amd64 1.0-11 [29.9 kB] Get:23 http://localhost:9999/debian/ unstable/main libdirectfb-1.2-9 amd64 1.2.10.0-5 [1203 kB] Get:24 http://localhost:9999/debian/ unstable/main libfreetype6 amd64 2.4.9-1.1 [451 kB] Get:25 http://localhost:9999/debian/ unstable/main libjpeg8 amd64 8d-1 [134 kB] Get:26 http://localhost:9999/debian/ unstable/main libpng12-0 amd64 1.2.49-4 [190 kB] Get:27 http://localhost:9999/debian/ unstable/main libxau6 amd64 1:1.0.8-1 [20.7 kB] Get:28 http://localhost:9999/debian/ unstable/main libxdmcp6 amd64 1:1.1.1-1 [26.3 kB] Get:29 http://localhost:9999/debian/ unstable/main libxcb1 amd64 1.9.1-3 [50.3 kB] Get:30 http://localhost:9999/debian/ unstable/main libx11-data all 2:1.6.0-1 [191 kB] Get:31 http://localhost:9999/debian/ unstable/main libx11-6 amd64 2:1.6.0-1 [919 kB] Get:32 http://localhost:9999/debian/ unstable/main libxext6 amd64 2:1.3.2-1 [56.5 kB] Get:33 http://localhost:9999/debian/ unstable/main libdirectfb-extra amd64 1.2.10.0-5 [36.9 kB] Get:34 http://localhost:9999/debian/ unstable/main libdrm2 amd64 2.4.45-3 [468 kB] Get:35 http://localhost:9999/debian/ unstable/main libpciaccess0 amd64 0.13.1-2 [46.7 kB] Get:36 http://localhost:9999/debian/ unstable/main libdrm-intel1 amd64 2.4.45-3 [506 kB] Get:37 http://localhost:9999/debian/ unstable/main libdrm-nouveau2 amd64 2.4.45-3 [458 kB] Get:38 http://localhost:9999/debian/ unstable/main libdrm-radeon1 amd64 2.4.45-3 [468 kB] Get:39 http://localhost:9999/debian/ unstable/main libogg0 amd64 1.3.1-1 [20.7 kB] Get:40 http://localhost:9999/debian/ unstable/main libflac8 amd64 1.3.0-1 [102 kB] Get:41 http://localhost:9999/debian/ unstable/main libglapi-mesa amd64 9.1.4-1 [49.2 kB] Get:42 http://localhost:9999/debian/ unstable/main libx11-xcb1 amd64 2:1.6.0-1 [153 kB] Get:43 http://localhost:9999/debian/ unstable/main libxcb-dri2-0 amd64 1.9.1-3 [12.9 kB] Get:44 http://localhost:9999/debian/ unstable/main libxcb-glx0 amd64 1.9.1-3 [32.5 kB] Get:45 http://localhost:9999/debian/ unstable/main libxfixes3 amd64 1:5.0.1-1 [22.5 kB] Get:46 http://localhost:9999/debian/ unstable/main libxdamage1 amd64 1:1.1.4-1 [15.1 kB] Get:47 http://localhost:9999/debian/ unstable/main libxxf86vm1 amd64 1:1.1.2-1+deb7u1 [19.5 kB] Get:48 http://localhost:9999/debian/ unstable/main libgl1-mesa-glx amd64 9.1.4-1 [133 kB] Get:49 http://localhost:9999/debian/ unstable/main libglu1-mesa amd64 9.0.0-1 [224 kB] Get:50 http://localhost:9999/debian/ unstable/main x11-common all 1:7.7+3 [284 kB] Get:51 http://localhost:9999/debian/ unstable/main libice6 amd64 2:1.0.8-2 [63.1 kB] Get:52 http://localhost:9999/debian/ unstable/main libkms1 amd64 2.4.45-3 [451 kB] Get:53 http://localhost:9999/debian/ unstable/main libpcrecpp0 amd64 1:8.31-2 [128 kB] Get:54 http://localhost:9999/debian/ unstable/main libjson-c2 amd64 0.11-2 [23.3 kB] Get:55 http://localhost:9999/debian/ unstable/main libsm6 amd64 2:1.2.1-2 [34.2 kB] Get:56 http://localhost:9999/debian/ unstable/main libvorbis0a amd64 1.3.2-1.3 [109 kB] Get:57 http://localhost:9999/debian/ unstable/main libvorbisenc2 amd64 1.3.2-1.3 [143 kB] Get:58 http://localhost:9999/debian/ unstable/main libsndfile1 amd64 1.0.25-7 [242 kB] Get:59 http://localhost:9999/debian/ unstable/main libxi6 amd64 2:1.7.1.901-1 [80.8 kB] Get:60 http://localhost:9999/debian/ unstable/main libxtst6 amd64 2:1.2.1-1+deb7u1 [26.8 kB] Get:61 http://localhost:9999/debian/ unstable/main libpulse0 amd64 4.0-3 [243 kB] Get:62 http://localhost:9999/debian/ unstable/main libpulse-mainloop-glib0 amd64 4.0-3 [25.6 kB] Get:63 http://localhost:9999/debian/ unstable/main libsdl1.2debian amd64 1.2.15-5 [220 kB] Get:64 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:65 http://localhost:9999/debian/ unstable/main file amd64 1:5.14-2 [54.0 kB] Get:66 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.3-1 [161 kB] Get:67 http://localhost:9999/debian/ unstable/main autotools-dev all 20130515.1 [73.0 kB] Get:68 http://localhost:9999/debian/ unstable/main cdbs all 0.4.122 [81.4 kB] Get:69 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.3-1 [1898 kB] Get:70 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:71 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:72 http://localhost:9999/debian/ unstable/main debhelper all 9.20130630 [710 kB] Get:73 http://localhost:9999/debian/ unstable/main libasound2-dev amd64 1.0.27.2-1 [113 kB] Get:74 http://localhost:9999/debian/ unstable/main libavahi-common-dev amd64 0.6.31-2 [73.1 kB] Get:75 http://localhost:9999/debian/ unstable/main pkg-config amd64 0.26-1 [59.5 kB] Get:76 http://localhost:9999/debian/ unstable/main libdbus-1-dev amd64 1.6.12-1 [247 kB] Get:77 http://localhost:9999/debian/ unstable/main libavahi-client-dev amd64 0.6.31-2 [67.4 kB] Get:78 http://localhost:9999/debian/ unstable/main zlib1g-dev amd64 1:1.2.8.dfsg-1 [217 kB] Get:79 http://localhost:9999/debian/ unstable/main libpng12-dev amd64 1.2.49-4 [267 kB] Get:80 http://localhost:9999/debian/ unstable/main libslang2-dev amd64 2.2.4-15 [595 kB] Get:81 http://localhost:9999/debian/ unstable/main libcaca-dev amd64 0.99.beta18-1 [1005 kB] Get:82 http://localhost:9999/debian/ unstable/main libfreetype6-dev amd64 2.4.9-1.1 [805 kB] Get:83 http://localhost:9999/debian/ unstable/main libjpeg8-dev amd64 8d-1 [242 kB] Get:84 http://localhost:9999/debian/ unstable/main xorg-sgml-doctools all 1:1.10-1 [24.1 kB] Get:85 http://localhost:9999/debian/ unstable/main x11proto-core-dev all 7.0.24-1 [779 kB] Get:86 http://localhost:9999/debian/ unstable/main libxau-dev amd64 1:1.0.8-1 [23.6 kB] Get:87 http://localhost:9999/debian/ unstable/main libxdmcp-dev amd64 1:1.1.1-1 [42.3 kB] Get:88 http://localhost:9999/debian/ unstable/main x11proto-input-dev all 2.3-1 [177 kB] Get:89 http://localhost:9999/debian/ unstable/main x11proto-kb-dev all 1.0.6-2 [269 kB] Get:90 http://localhost:9999/debian/ unstable/main xtrans-dev all 1.2.7-1 [112 kB] Get:91 http://localhost:9999/debian/ unstable/main libpthread-stubs0 amd64 0.3-3 [3228 B] Get:92 http://localhost:9999/debian/ unstable/main libpthread-stubs0-dev amd64 0.3-3 [3998 B] Get:93 http://localhost:9999/debian/ unstable/main libxcb1-dev amd64 1.9.1-3 [103 kB] Get:94 http://localhost:9999/debian/ unstable/main libx11-dev amd64 2:1.6.0-1 [1055 kB] Get:95 http://localhost:9999/debian/ unstable/main x11proto-xext-dev all 7.2.1-1 [273 kB] Get:96 http://localhost:9999/debian/ unstable/main libxext-dev amd64 2:1.3.2-1 [116 kB] Get:97 http://localhost:9999/debian/ unstable/main libdirectfb-dev amd64 1.2.10.0-5 [928 kB] Get:98 http://localhost:9999/debian/ unstable/main libdrm-dev amd64 2.4.45-3 [656 kB] Get:99 http://localhost:9999/debian/ unstable/main libelfg0 amd64 0.8.13-3 [60.2 kB] Get:100 http://localhost:9999/debian/ unstable/main mesa-common-dev amd64 9.1.4-1 [301 kB] Get:101 http://localhost:9999/debian/ unstable/main libx11-xcb-dev amd64 2:1.6.0-1 [155 kB] Get:102 http://localhost:9999/debian/ unstable/main libxcb-dri2-0-dev amd64 1.9.1-3 [15.8 kB] Get:103 http://localhost:9999/debian/ unstable/main libxcb-glx0-dev amd64 1.9.1-3 [49.2 kB] Get:104 http://localhost:9999/debian/ unstable/main x11proto-fixes-dev all 1:5.0-2 [19.2 kB] Get:105 http://localhost:9999/debian/ unstable/main libxfixes-dev amd64 1:5.0.1-1 [24.3 kB] Get:106 http://localhost:9999/debian/ unstable/main x11proto-damage-dev all 1:1.2.1-2 [11.8 kB] Get:107 http://localhost:9999/debian/ unstable/main libxdamage-dev amd64 1:1.1.4-1 [14.8 kB] Get:108 http://localhost:9999/debian/ unstable/main x11proto-xf86vidmode-dev all 2.3.1-2 [6114 B] Get:109 http://localhost:9999/debian/ unstable/main libxxf86vm-dev amd64 1:1.1.2-1+deb7u1 [23.8 kB] Get:110 http://localhost:9999/debian/ unstable/main x11proto-dri2-dev all 2.8-2 [18.2 kB] Get:111 http://localhost:9999/debian/ unstable/main x11proto-gl-dev all 1.4.16-2 [32.1 kB] Get:112 http://localhost:9999/debian/ unstable/main libgl1-mesa-dev amd64 9.1.4-1 [34.5 kB] Get:113 http://localhost:9999/debian/ unstable/main libglib2.0-data all 2.36.3-3 [1847 kB] Get:114 http://localhost:9999/debian/ unstable/main libglib2.0-bin amd64 2.36.3-3 [1057 kB] Get:115 http://localhost:9999/debian/ unstable/main libpcre3-dev amd64 1:8.31-2 [356 kB] Get:116 http://localhost:9999/debian/ unstable/main libglib2.0-dev amd64 2.36.3-3 [2283 kB] Get:117 http://localhost:9999/debian/ unstable/main libglu1-mesa-dev amd64 9.0.0-1 [315 kB] Get:118 http://localhost:9999/debian/ unstable/main libpulse-dev amd64 4.0-3 [81.6 kB] Get:119 http://localhost:9999/debian/ unstable/main libts-dev amd64 1.0-11 [11.7 kB] Get:120 http://localhost:9999/debian/ unstable/main libsdl1.2-dev amd64 1.2.15-5 [905 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 34.6 MB in 2s (16.7 MB/s) Selecting previously unselected package libncursesw5:amd64. (Reading database ... 14701 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9+20130608-1_amd64.deb) ... Selecting previously unselected package libpipeline1:amd64. Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.4-1_amd64.deb) ... Selecting previously unselected package libpopt0:amd64. Unpacking libpopt0:amd64 (from .../libpopt0_1.16-7_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.3-1_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package libwrap0:amd64. Unpacking libwrap0:amd64 (from .../libwrap0_7.6.q-24_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.9.1+dfsg1-2_amd64.deb) ... Selecting previously unselected package libasound2-data. Unpacking libasound2-data (from .../libasound2-data_1.0.27.2-1_all.deb) ... Selecting previously unselected package libasound2:amd64. Unpacking libasound2:amd64 (from .../libasound2_1.0.27.2-1_amd64.deb) ... Selecting previously unselected package libasyncns0:amd64. Unpacking libasyncns0:amd64 (from .../libasyncns0_0.8-4_amd64.deb) ... Selecting previously unselected package libavahi-common-data:amd64. Unpacking libavahi-common-data:amd64 (from .../libavahi-common-data_0.6.31-2_amd64.deb) ... Selecting previously unselected package libavahi-common3:amd64. Unpacking libavahi-common3:amd64 (from .../libavahi-common3_0.6.31-2_amd64.deb) ... Selecting previously unselected package libdbus-1-3:amd64. Unpacking libdbus-1-3:amd64 (from .../libdbus-1-3_1.6.12-1_amd64.deb) ... Selecting previously unselected package libavahi-client3:amd64. Unpacking libavahi-client3:amd64 (from .../libavahi-client3_0.6.31-2_amd64.deb) ... Selecting previously unselected package libcaca0:amd64. Unpacking libcaca0:amd64 (from .../libcaca0_0.99.beta18-1_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.36.3-3_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.8-2_amd64.deb) ... Selecting previously unselected package tsconf. Unpacking tsconf (from .../archives/tsconf_1.0-11_all.deb) ... Selecting previously unselected package libts-0.0-0:amd64. Unpacking libts-0.0-0:amd64 (from .../libts-0.0-0_1.0-11_amd64.deb) ... Selecting previously unselected package libdirectfb-1.2-9:amd64. Unpacking libdirectfb-1.2-9:amd64 (from .../libdirectfb-1.2-9_1.2.10.0-5_amd64.deb) ... Selecting previously unselected package libfreetype6:amd64. Unpacking libfreetype6:amd64 (from .../libfreetype6_2.4.9-1.1_amd64.deb) ... Selecting previously unselected package libjpeg8:amd64. Unpacking libjpeg8:amd64 (from .../libjpeg8_8d-1_amd64.deb) ... Selecting previously unselected package libpng12-0:amd64. Unpacking libpng12-0:amd64 (from .../libpng12-0_1.2.49-4_amd64.deb) ... Selecting previously unselected package libxau6:amd64. Unpacking libxau6:amd64 (from .../libxau6_1%3a1.0.8-1_amd64.deb) ... Selecting previously unselected package libxdmcp6:amd64. Unpacking libxdmcp6:amd64 (from .../libxdmcp6_1%3a1.1.1-1_amd64.deb) ... Selecting previously unselected package libxcb1:amd64. Unpacking libxcb1:amd64 (from .../libxcb1_1.9.1-3_amd64.deb) ... Selecting previously unselected package libx11-data. Unpacking libx11-data (from .../libx11-data_2%3a1.6.0-1_all.deb) ... Selecting previously unselected package libx11-6:amd64. Unpacking libx11-6:amd64 (from .../libx11-6_2%3a1.6.0-1_amd64.deb) ... Selecting previously unselected package libxext6:amd64. Unpacking libxext6:amd64 (from .../libxext6_2%3a1.3.2-1_amd64.deb) ... Selecting previously unselected package libdirectfb-extra:amd64. Unpacking libdirectfb-extra:amd64 (from .../libdirectfb-extra_1.2.10.0-5_amd64.deb) ... Selecting previously unselected package libdrm2:amd64. Unpacking libdrm2:amd64 (from .../libdrm2_2.4.45-3_amd64.deb) ... Selecting previously unselected package libpciaccess0:amd64. Unpacking libpciaccess0:amd64 (from .../libpciaccess0_0.13.1-2_amd64.deb) ... Selecting previously unselected package libdrm-intel1:amd64. Unpacking libdrm-intel1:amd64 (from .../libdrm-intel1_2.4.45-3_amd64.deb) ... Selecting previously unselected package libdrm-nouveau2:amd64. Unpacking libdrm-nouveau2:amd64 (from .../libdrm-nouveau2_2.4.45-3_amd64.deb) ... Selecting previously unselected package libdrm-radeon1:amd64. Unpacking libdrm-radeon1:amd64 (from .../libdrm-radeon1_2.4.45-3_amd64.deb) ... Selecting previously unselected package libogg0:amd64. Unpacking libogg0:amd64 (from .../libogg0_1.3.1-1_amd64.deb) ... Selecting previously unselected package libflac8:amd64. Unpacking libflac8:amd64 (from .../libflac8_1.3.0-1_amd64.deb) ... Selecting previously unselected package libglapi-mesa:amd64. Unpacking libglapi-mesa:amd64 (from .../libglapi-mesa_9.1.4-1_amd64.deb) ... Selecting previously unselected package libx11-xcb1:amd64. Unpacking libx11-xcb1:amd64 (from .../libx11-xcb1_2%3a1.6.0-1_amd64.deb) ... Selecting previously unselected package libxcb-dri2-0:amd64. Unpacking libxcb-dri2-0:amd64 (from .../libxcb-dri2-0_1.9.1-3_amd64.deb) ... Selecting previously unselected package libxcb-glx0:amd64. Unpacking libxcb-glx0:amd64 (from .../libxcb-glx0_1.9.1-3_amd64.deb) ... Selecting previously unselected package libxfixes3:amd64. Unpacking libxfixes3:amd64 (from .../libxfixes3_1%3a5.0.1-1_amd64.deb) ... Selecting previously unselected package libxdamage1:amd64. Unpacking libxdamage1:amd64 (from .../libxdamage1_1%3a1.1.4-1_amd64.deb) ... Selecting previously unselected package libxxf86vm1:amd64. Unpacking libxxf86vm1:amd64 (from .../libxxf86vm1_1%3a1.1.2-1+deb7u1_amd64.deb) ... Selecting previously unselected package libgl1-mesa-glx:amd64. Unpacking libgl1-mesa-glx:amd64 (from .../libgl1-mesa-glx_9.1.4-1_amd64.deb) ... Selecting previously unselected package libglu1-mesa:amd64. Unpacking libglu1-mesa:amd64 (from .../libglu1-mesa_9.0.0-1_amd64.deb) ... Selecting previously unselected package x11-common. Unpacking x11-common (from .../x11-common_1%3a7.7+3_all.deb) ... Selecting previously unselected package libice6:amd64. Unpacking libice6:amd64 (from .../libice6_2%3a1.0.8-2_amd64.deb) ... Selecting previously unselected package libkms1:amd64. Unpacking libkms1:amd64 (from .../libkms1_2.4.45-3_amd64.deb) ... Selecting previously unselected package libpcrecpp0:amd64. Unpacking libpcrecpp0:amd64 (from .../libpcrecpp0_1%3a8.31-2_amd64.deb) ... Selecting previously unselected package libjson-c2:amd64. Unpacking libjson-c2:amd64 (from .../libjson-c2_0.11-2_amd64.deb) ... Selecting previously unselected package libsm6:amd64. Unpacking libsm6:amd64 (from .../libsm6_2%3a1.2.1-2_amd64.deb) ... Selecting previously unselected package libvorbis0a:amd64. Unpacking libvorbis0a:amd64 (from .../libvorbis0a_1.3.2-1.3_amd64.deb) ... Selecting previously unselected package libvorbisenc2:amd64. Unpacking libvorbisenc2:amd64 (from .../libvorbisenc2_1.3.2-1.3_amd64.deb) ... Selecting previously unselected package libsndfile1:amd64. Unpacking libsndfile1:amd64 (from .../libsndfile1_1.0.25-7_amd64.deb) ... Selecting previously unselected package libxi6:amd64. Unpacking libxi6:amd64 (from .../libxi6_2%3a1.7.1.901-1_amd64.deb) ... Selecting previously unselected package libxtst6:amd64. Unpacking libxtst6:amd64 (from .../libxtst6_2%3a1.2.1-1+deb7u1_amd64.deb) ... Selecting previously unselected package libpulse0:amd64. Unpacking libpulse0:amd64 (from .../libpulse0_4.0-3_amd64.deb) ... Selecting previously unselected package libpulse-mainloop-glib0:amd64. Unpacking libpulse-mainloop-glib0:amd64 (from .../libpulse-mainloop-glib0_4.0-3_amd64.deb) ... Selecting previously unselected package libsdl1.2debian:amd64. Unpacking libsdl1.2debian:amd64 (from .../libsdl1.2debian_1.2.15-5_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.3-1_amd64.deb) ... Selecting previously unselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20130515.1_all.deb) ... Selecting previously unselected package cdbs. Unpacking cdbs (from .../archives/cdbs_0.4.122_all.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.3-1_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130630_all.deb) ... Selecting previously unselected package libasound2-dev:amd64. Unpacking libasound2-dev:amd64 (from .../libasound2-dev_1.0.27.2-1_amd64.deb) ... Selecting previously unselected package libavahi-common-dev. Unpacking libavahi-common-dev (from .../libavahi-common-dev_0.6.31-2_amd64.deb) ... Selecting previously unselected package pkg-config. Unpacking pkg-config (from .../pkg-config_0.26-1_amd64.deb) ... Selecting previously unselected package libdbus-1-dev:amd64. Unpacking libdbus-1-dev:amd64 (from .../libdbus-1-dev_1.6.12-1_amd64.deb) ... Selecting previously unselected package libavahi-client-dev. Unpacking libavahi-client-dev (from .../libavahi-client-dev_0.6.31-2_amd64.deb) ... Selecting previously unselected package zlib1g-dev:amd64. Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.8.dfsg-1_amd64.deb) ... Selecting previously unselected package libpng12-dev. Unpacking libpng12-dev (from .../libpng12-dev_1.2.49-4_amd64.deb) ... Selecting previously unselected package libslang2-dev:amd64. Unpacking libslang2-dev:amd64 (from .../libslang2-dev_2.2.4-15_amd64.deb) ... Selecting previously unselected package libcaca-dev. Unpacking libcaca-dev (from .../libcaca-dev_0.99.beta18-1_amd64.deb) ... Selecting previously unselected package libfreetype6-dev. Unpacking libfreetype6-dev (from .../libfreetype6-dev_2.4.9-1.1_amd64.deb) ... Selecting previously unselected package libjpeg8-dev:amd64. Unpacking libjpeg8-dev:amd64 (from .../libjpeg8-dev_8d-1_amd64.deb) ... Selecting previously unselected package xorg-sgml-doctools. Unpacking xorg-sgml-doctools (from .../xorg-sgml-doctools_1%3a1.10-1_all.deb) ... Selecting previously unselected package x11proto-core-dev. Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.24-1_all.deb) ... Selecting previously unselected package libxau-dev:amd64. Unpacking libxau-dev:amd64 (from .../libxau-dev_1%3a1.0.8-1_amd64.deb) ... Selecting previously unselected package libxdmcp-dev:amd64. Unpacking libxdmcp-dev:amd64 (from .../libxdmcp-dev_1%3a1.1.1-1_amd64.deb) ... Selecting previously unselected package x11proto-input-dev. Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.3-1_all.deb) ... Selecting previously unselected package x11proto-kb-dev. Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.6-2_all.deb) ... Selecting previously unselected package xtrans-dev. Unpacking xtrans-dev (from .../xtrans-dev_1.2.7-1_all.deb) ... Selecting previously unselected package libpthread-stubs0:amd64. Unpacking libpthread-stubs0:amd64 (from .../libpthread-stubs0_0.3-3_amd64.deb) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Unpacking libpthread-stubs0-dev:amd64 (from .../libpthread-stubs0-dev_0.3-3_amd64.deb) ... Selecting previously unselected package libxcb1-dev:amd64. Unpacking libxcb1-dev:amd64 (from .../libxcb1-dev_1.9.1-3_amd64.deb) ... Selecting previously unselected package libx11-dev:amd64. Unpacking libx11-dev:amd64 (from .../libx11-dev_2%3a1.6.0-1_amd64.deb) ... Selecting previously unselected package x11proto-xext-dev. Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.2.1-1_all.deb) ... Selecting previously unselected package libxext-dev:amd64. Unpacking libxext-dev:amd64 (from .../libxext-dev_2%3a1.3.2-1_amd64.deb) ... Selecting previously unselected package libdirectfb-dev. Unpacking libdirectfb-dev (from .../libdirectfb-dev_1.2.10.0-5_amd64.deb) ... Selecting previously unselected package libdrm-dev. Unpacking libdrm-dev (from .../libdrm-dev_2.4.45-3_amd64.deb) ... Selecting previously unselected package libelfg0. Unpacking libelfg0 (from .../libelfg0_0.8.13-3_amd64.deb) ... Selecting previously unselected package mesa-common-dev. Unpacking mesa-common-dev (from .../mesa-common-dev_9.1.4-1_amd64.deb) ... Selecting previously unselected package libx11-xcb-dev. Unpacking libx11-xcb-dev (from .../libx11-xcb-dev_2%3a1.6.0-1_amd64.deb) ... Selecting previously unselected package libxcb-dri2-0-dev:amd64. Unpacking libxcb-dri2-0-dev:amd64 (from .../libxcb-dri2-0-dev_1.9.1-3_amd64.deb) ... Selecting previously unselected package libxcb-glx0-dev:amd64. Unpacking libxcb-glx0-dev:amd64 (from .../libxcb-glx0-dev_1.9.1-3_amd64.deb) ... Selecting previously unselected package x11proto-fixes-dev. Unpacking x11proto-fixes-dev (from .../x11proto-fixes-dev_1%3a5.0-2_all.deb) ... Selecting previously unselected package libxfixes-dev. Unpacking libxfixes-dev (from .../libxfixes-dev_1%3a5.0.1-1_amd64.deb) ... Selecting previously unselected package x11proto-damage-dev. Unpacking x11proto-damage-dev (from .../x11proto-damage-dev_1%3a1.2.1-2_all.deb) ... Selecting previously unselected package libxdamage-dev. Unpacking libxdamage-dev (from .../libxdamage-dev_1%3a1.1.4-1_amd64.deb) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Unpacking x11proto-xf86vidmode-dev (from .../x11proto-xf86vidmode-dev_2.3.1-2_all.deb) ... Selecting previously unselected package libxxf86vm-dev. Unpacking libxxf86vm-dev (from .../libxxf86vm-dev_1%3a1.1.2-1+deb7u1_amd64.deb) ... Selecting previously unselected package x11proto-dri2-dev. Unpacking x11proto-dri2-dev (from .../x11proto-dri2-dev_2.8-2_all.deb) ... Selecting previously unselected package x11proto-gl-dev. Unpacking x11proto-gl-dev (from .../x11proto-gl-dev_1.4.16-2_all.deb) ... Selecting previously unselected package libgl1-mesa-dev. Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_9.1.4-1_amd64.deb) ... Selecting previously unselected package libglib2.0-data. Unpacking libglib2.0-data (from .../libglib2.0-data_2.36.3-3_all.deb) ... Selecting previously unselected package libglib2.0-bin. Unpacking libglib2.0-bin (from .../libglib2.0-bin_2.36.3-3_amd64.deb) ... Selecting previously unselected package libpcre3-dev:amd64. Unpacking libpcre3-dev:amd64 (from .../libpcre3-dev_1%3a8.31-2_amd64.deb) ... Selecting previously unselected package libglib2.0-dev. Unpacking libglib2.0-dev (from .../libglib2.0-dev_2.36.3-3_amd64.deb) ... Selecting previously unselected package libglu1-mesa-dev. Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_9.0.0-1_amd64.deb) ... Selecting previously unselected package libpulse-dev:amd64. Unpacking libpulse-dev:amd64 (from .../libpulse-dev_4.0-3_amd64.deb) ... Selecting previously unselected package libts-dev:amd64. Unpacking libts-dev:amd64 (from .../libts-dev_1.0-11_amd64.deb) ... Selecting previously unselected package libsdl1.2-dev. Unpacking libsdl1.2-dev (from .../libsdl1.2-dev_1.2.15-5_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-gngb-dummy. Unpacking sbuild-build-depends-gngb-dummy (from .../sbuild-build-depends-gngb-dummy.deb) ... Setting up libncursesw5:amd64 (5.9+20130608-1) ... Setting up libpipeline1:amd64 (1.2.4-1) ... Setting up libpopt0:amd64 (1.16-7) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.3-1) ... Setting up libmagic1:amd64 (1:5.14-2) ... Setting up libwrap0:amd64 (7.6.q-24) ... Setting up libxml2:amd64 (2.9.1+dfsg1-2) ... Setting up libasound2-data (1.0.27.2-1) ... Setting up libasound2:amd64 (1.0.27.2-1) ... Setting up libasyncns0:amd64 (0.8-4) ... Setting up libavahi-common-data:amd64 (0.6.31-2) ... Setting up libavahi-common3:amd64 (0.6.31-2) ... Setting up libdbus-1-3:amd64 (1.6.12-1) ... Setting up libavahi-client3:amd64 (0.6.31-2) ... Setting up libcaca0:amd64 (0.99.beta18-1) ... Setting up libglib2.0-0:amd64 (2.36.3-3) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up tsconf (1.0-11) ... Setting up libts-0.0-0:amd64 (1.0-11) ... Setting up libdirectfb-1.2-9:amd64 (1.2.10.0-5) ... Setting up libfreetype6:amd64 (2.4.9-1.1) ... Setting up libjpeg8:amd64 (8d-1) ... Setting up libpng12-0:amd64 (1.2.49-4) ... Setting up libxau6:amd64 (1:1.0.8-1) ... Setting up libxdmcp6:amd64 (1:1.1.1-1) ... Setting up libxcb1:amd64 (1.9.1-3) ... Setting up libx11-data (2:1.6.0-1) ... Setting up libx11-6:amd64 (2:1.6.0-1) ... Setting up libxext6:amd64 (2:1.3.2-1) ... Setting up libdirectfb-extra:amd64 (1.2.10.0-5) ... Setting up libdrm2:amd64 (2.4.45-3) ... Setting up libpciaccess0:amd64 (0.13.1-2) ... Setting up libdrm-intel1:amd64 (2.4.45-3) ... Setting up libdrm-nouveau2:amd64 (2.4.45-3) ... Setting up libdrm-radeon1:amd64 (2.4.45-3) ... Setting up libogg0:amd64 (1.3.1-1) ... Setting up libflac8:amd64 (1.3.0-1) ... Setting up libglapi-mesa:amd64 (9.1.4-1) ... Setting up libx11-xcb1:amd64 (2:1.6.0-1) ... Setting up libxcb-dri2-0:amd64 (1.9.1-3) ... Setting up libxcb-glx0:amd64 (1.9.1-3) ... Setting up libxfixes3:amd64 (1:5.0.1-1) ... Setting up libxdamage1:amd64 (1:1.1.4-1) ... Setting up libxxf86vm1:amd64 (1:1.1.2-1+deb7u1) ... Setting up libgl1-mesa-glx:amd64 (9.1.4-1) ... Setting up libglu1-mesa:amd64 (9.0.0-1) ... Setting up x11-common (1:7.7+3) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults All runlevel operations denied by policy invoke-rc.d: policy-rc.d denied execution of start. Setting up libice6:amd64 (2:1.0.8-2) ... Setting up libkms1:amd64 (2.4.45-3) ... Setting up libpcrecpp0:amd64 (1:8.31-2) ... Setting up libjson-c2:amd64 (0.11-2) ... Setting up libsm6:amd64 (2:1.2.1-2) ... Setting up libvorbis0a:amd64 (1.3.2-1.3) ... Setting up libvorbisenc2:amd64 (1.3.2-1.3) ... Setting up libsndfile1:amd64 (1.0.25-7) ... Setting up libxi6:amd64 (2:1.7.1.901-1) ... Setting up libxtst6:amd64 (2:1.2.1-1+deb7u1) ... Setting up libpulse0:amd64 (4.0-3) ... Setting up libpulse-mainloop-glib0:amd64 (4.0-3) ... Setting up libsdl1.2debian:amd64 (1.2.15-5) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up file (1:5.14-2) ... Setting up gettext-base (0.18.3-1) ... Setting up autotools-dev (20130515.1) ... Setting up cdbs (0.4.122) ... Setting up gettext (0.18.3-1) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20130630) ... Setting up libasound2-dev:amd64 (1.0.27.2-1) ... Setting up libavahi-common-dev (0.6.31-2) ... Setting up pkg-config (0.26-1) ... Setting up libdbus-1-dev:amd64 (1.6.12-1) ... Setting up libavahi-client-dev (0.6.31-2) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1) ... Setting up libpng12-dev (1.2.49-4) ... Setting up libslang2-dev:amd64 (2.2.4-15) ... Setting up libcaca-dev (0.99.beta18-1) ... Setting up libfreetype6-dev (2.4.9-1.1) ... Setting up libjpeg8-dev:amd64 (8d-1) ... Setting up xorg-sgml-doctools (1:1.10-1) ... Setting up x11proto-core-dev (7.0.24-1) ... Setting up libxau-dev:amd64 (1:1.0.8-1) ... Setting up libxdmcp-dev:amd64 (1:1.1.1-1) ... Setting up x11proto-input-dev (2.3-1) ... Setting up x11proto-kb-dev (1.0.6-2) ... Setting up xtrans-dev (1.2.7-1) ... Setting up libpthread-stubs0:amd64 (0.3-3) ... Setting up libpthread-stubs0-dev:amd64 (0.3-3) ... Setting up libxcb1-dev:amd64 (1.9.1-3) ... Setting up libx11-dev:amd64 (2:1.6.0-1) ... Setting up x11proto-xext-dev (7.2.1-1) ... Setting up libxext-dev:amd64 (2:1.3.2-1) ... Setting up libdirectfb-dev (1.2.10.0-5) ... Setting up libdrm-dev (2.4.45-3) ... Setting up libelfg0 (0.8.13-3) ... Setting up mesa-common-dev (9.1.4-1) ... Setting up libx11-xcb-dev (2:1.6.0-1) ... Setting up libxcb-dri2-0-dev:amd64 (1.9.1-3) ... Setting up libxcb-glx0-dev:amd64 (1.9.1-3) ... Setting up x11proto-fixes-dev (1:5.0-2) ... Setting up libxfixes-dev (1:5.0.1-1) ... Setting up x11proto-damage-dev (1:1.2.1-2) ... Setting up libxdamage-dev (1:1.1.4-1) ... Setting up x11proto-xf86vidmode-dev (2.3.1-2) ... Setting up libxxf86vm-dev (1:1.1.2-1+deb7u1) ... Setting up x11proto-dri2-dev (2.8-2) ... Setting up x11proto-gl-dev (1.4.16-2) ... Setting up libgl1-mesa-dev (9.1.4-1) ... Setting up libglib2.0-data (2.36.3-3) ... Setting up libglib2.0-bin (2.36.3-3) ... Setting up libpcre3-dev:amd64 (1:8.31-2) ... Setting up libglib2.0-dev (2.36.3-3) ... Setting up libglu1-mesa-dev (9.0.0-1) ... Setting up libpulse-dev:amd64 (4.0-3) ... Setting up libts-dev:amd64 (1.0-11) ... Setting up libsdl1.2-dev (1.2.15-5) ... Setting up sbuild-build-depends-gngb-dummy (0.invalid.0) ... Processing triggers for libc-bin ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.23.52.20130620-1 dpkg-dev_1.16.10 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc-4.6_4.6.4-4 gcc-4.7_4.7.3-6 gcc-4.8_4.8.1-6 libc6-dev_2.17-7 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-6 linux-libc-dev_3.10.1-1 Package versions: apt_0.9.9.1 autotools-dev_20130515.1 base-files_7.2 base-passwd_3.5.26 bash_4.2+dfsg-1 binutils_2.23.52.20130620-1 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 bzip2_1.0.6-4 cdbs_0.4.122 clang-3.3_1:3.3-3 coreutils_8.20-3 cpp_4:4.8.1-2 cpp-4.6_4.6.4-4 cpp-4.7_4.7.3-6 cpp-4.8_4.8.1-6 dash_0.5.7-3 debconf_1.5.50 debconf-i18n_1.5.50 debfoster_2.7-1.2 debhelper_9.20130630 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-8 dpkg_1.16.10 dpkg-dev_1.16.10 e2fslibs_1.42.8-1 e2fsprogs_1.42.8-1 fakeroot_1.19-2 file_1:5.14-2 findutils_4.4.2-6 g++_4:4.8.1-2 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc_4:4.8.1-2 gcc-4.4-base_4.4.7-4 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-4 gcc-4.6-base_4.6.4-4 gcc-4.7_4.7.3-6 gcc-4.7-base_4.7.3-6 gcc-4.8_4.8.1-6 gcc-4.8-base_4.8.1-6 gettext_0.18.3-1 gettext-base_0.18.3-1 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-2 groff-base_1.22.2-3 gzip_1.6-1 hostname_3.13 initscripts_2.88dsf-43 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.9.1 libasan0_4.8.1-6 libasound2_1.0.27.2-1 libasound2-data_1.0.27.2-1 libasound2-dev_1.0.27.2-1 libasprintf0c2_0.18.3-1 libasyncns0_0.8-4 libatomic1_4.8.1-6 libattr1_1:2.4.47-1 libavahi-client-dev_0.6.31-2 libavahi-client3_0.6.31-2 libavahi-common-data_0.6.31-2 libavahi-common-dev_0.6.31-2 libavahi-common3_0.6.31-2 libblkid1_2.20.1-5.5 libbz2-1.0_1.0.6-4 libc-bin_2.17-7 libc-dev-bin_2.17-7 libc6_2.17-7 libc6-dev_2.17-7 libcaca-dev_0.99.beta18-1 libcaca0_0.99.beta18-1 libcap2_1:2.22-1.2 libclang-common-3.3-dev_1:3.3-3 libclang1-3.3_1:3.3-3 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.0-2 libcloog-ppl1_0.16.1-3 libcomerr2_1.42.8-1 libcroco3_0.6.8-2 libdb5.1_5.1.29-6 libdbus-1-3_1.6.12-1 libdbus-1-dev_1.6.12-1 libdirectfb-1.2-9_1.2.10.0-5 libdirectfb-dev_1.2.10.0-5 libdirectfb-extra_1.2.10.0-5 libdpkg-perl_1.16.10 libdrm-dev_2.4.45-3 libdrm-intel1_2.4.45-3 libdrm-nouveau2_2.4.45-3 libdrm-radeon1_2.4.45-3 libdrm2_2.4.45-3 libelfg0_0.8.13-3 libffi6_3.0.13-4 libfile-fcntllock-perl_0.14-2 libflac8_1.3.0-1 libfreetype6_2.4.9-1.1 libfreetype6-dev_2.4.9-1.1 libgc1c2_1:7.2d-5 libgcc-4.7-dev_4.7.3-6 libgcc-4.8-dev_4.8.1-6 libgcc1_1:4.8.1-6 libgdbm3_1.8.3-12 libgl1-mesa-dev_9.1.4-1 libgl1-mesa-glx_9.1.4-1 libglapi-mesa_9.1.4-1 libglib2.0-0_2.36.3-3 libglib2.0-bin_2.36.3-3 libglib2.0-data_2.36.3-3 libglib2.0-dev_2.36.3-3 libglu1-mesa_9.0.0-1 libglu1-mesa-dev_9.0.0-1 libgmp10_2:5.1.2+dfsg-2 libgmpxx4ldbl_2:5.1.2+dfsg-2 libgomp1_4.8.1-6 libgpm2_1.20.4-6.1 libice6_2:1.0.8-2 libisl10_0.11.2-1 libitm1_4.8.1-6 libjpeg8_8d-1 libjpeg8-dev_8d-1 libjson-c2_0.11-2 libkms1_2.4.45-3 libllvm3.3_1:3.3-3 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-2 libmount1_2.20.1-5.5 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.1-1 libncurses5_5.9+20130608-1 libncursesw5_5.9+20130608-1 libobjc-4.7-dev_4.7.3-6 libobjc4_4.8.1-6 libogg0_1.3.1-1 libpam-modules_1.1.3-9 libpam-modules-bin_1.1.3-9 libpam-runtime_1.1.3-9 libpam0g_1.1.3-9 libpciaccess0_0.13.1-2 libpcre3_1:8.31-2 libpcre3-dev_1:8.31-2 libpcrecpp0_1:8.31-2 libpipeline1_1.2.4-1 libpng12-0_1.2.49-4 libpng12-dev_1.2.49-4 libpopt0_1.16-7 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libpthread-stubs0_0.3-3 libpthread-stubs0-dev_0.3-3 libpulse-dev_4.0-3 libpulse-mainloop-glib0_4.0-3 libpulse0_4.0-3 libquadmath0_4.8.1-6 libreadline6_6.2+dfsg-0.1 libsdl1.2-dev_1.2.15-5 libsdl1.2debian_1.2.15-5 libselinux1_2.1.13-2 libsemanage-common_2.1.10-2 libsemanage1_2.1.10-2 libsepol1_2.1.9-2 libslang2_2.2.4-15 libslang2-dev_2.2.4-15 libsm6_2:1.2.1-2 libsndfile1_1.0.25-7 libss2_1.42.8-1 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-6 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9+20130608-1 libts-0.0-0_1.0-11 libts-dev_1.0-11 libtsan0_4.8.1-6 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.2 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libvorbis0a_1.3.2-1.3 libvorbisenc2_1.3.2-1.3 libwrap0_7.6.q-24 libx11-6_2:1.6.0-1 libx11-data_2:1.6.0-1 libx11-dev_2:1.6.0-1 libx11-xcb-dev_2:1.6.0-1 libx11-xcb1_2:1.6.0-1 libxau-dev_1:1.0.8-1 libxau6_1:1.0.8-1 libxcb-dri2-0_1.9.1-3 libxcb-dri2-0-dev_1.9.1-3 libxcb-glx0_1.9.1-3 libxcb-glx0-dev_1.9.1-3 libxcb1_1.9.1-3 libxcb1-dev_1.9.1-3 libxdamage-dev_1:1.1.4-1 libxdamage1_1:1.1.4-1 libxdmcp-dev_1:1.1.1-1 libxdmcp6_1:1.1.1-1 libxext-dev_2:1.3.2-1 libxext6_2:1.3.2-1 libxfixes-dev_1:5.0.1-1 libxfixes3_1:5.0.1-1 libxi6_2:1.7.1.901-1 libxml2_2.9.1+dfsg1-2 libxtst6_2:1.2.1-1+deb7u1 libxxf86vm-dev_1:1.1.2-1+deb7u1 libxxf86vm1_1:1.1.2-1+deb7u1 linux-libc-dev_3.10.1-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 make_3.81-8.2 man-db_2.6.5-2 mawk_1.3.3-17 mesa-common-dev_9.1.4-1 mount_2.20.1-5.5 multiarch-support_2.17-7 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 passwd_1:4.1.5.1-1 patch_2.7.1-3 perl_5.14.2-21 perl-base_5.14.2-21 perl-modules_5.14.2-21 pkg-config_0.26-1 po-debconf_1.0.16+nmu2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-gngb-dummy_0.invalid.0 sed_4.2.2-1 sensible-utils_0.0.9 sudo_1.8.5p2-1+nmu1 sysv-rc_2.88dsf-43 sysvinit_2.88dsf-43 sysvinit-utils_2.88dsf-43 tar_1.26+dfsg-6 tsconf_1.0-11 tzdata_2013c-2 ucf_3.0027+nmu1 util-linux_2.20.1-5.5 vim_2:7.3.923-3 vim-common_2:7.3.923-3 vim-runtime_2:7.3.923-3 x11-common_1:7.7+3 x11proto-core-dev_7.0.24-1 x11proto-damage-dev_1:1.2.1-2 x11proto-dri2-dev_2.8-2 x11proto-fixes-dev_1:5.0-2 x11proto-gl-dev_1.4.16-2 x11proto-input-dev_2.3-1 x11proto-kb-dev_1.0.6-2 x11proto-xext-dev_7.2.1-1 x11proto-xf86vidmode-dev_2.3.1-2 xorg-sgml-doctools_1:1.10-1 xtrans-dev_1.2.7-1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 zlib1g-dev_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sat Jul 25 15:22:55 2009 UTC using DSA key ID 37D9412C gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./gngb_20060309-3.dsc dpkg-source: info: extracting gngb in gngb-20060309 dpkg-source: info: unpacking gngb_20060309.orig.tar.gz dpkg-source: info: applying gngb_20060309-3.diff.gz dpkg-source: info: upstream files that have been modified: gngb-20060309/.pc/.version Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 20060309-3clang1 User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-ee887424-c9c4-4282-8ba8-b4c76c41b03a SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package gngb dpkg-buildpackage: source version 20060309-3clang1 dpkg-source --before-build gngb-20060309 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead test -x debian/rules rm -f debian/stamp-makefile-build debian/stamp-makefile-install /usr/bin/make -C . -k distclean make[1]: Entering directory `/«PKGBUILDDIR»' make[1]: *** No rule to make target `distclean'. make[1]: Leaving directory `/«PKGBUILDDIR»' make: [makefile-clean] Error 2 (ignored) rm -f debian/stamp-autotools rmdir --ignore-fail-on-non-empty . rmdir: failed to remove '.': Invalid argument make: [makefile-clean] Error 1 (ignored) /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/«PKGBUILDDIR»' /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead for i in ./config.guess ./config.sub ; do \ if test -e $i.cdbs-orig ; then \ mv $i.cdbs-orig $i ; \ fi ; \ done make[1]: Leaving directory `/«PKGBUILDDIR»' if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi patches: debian/patches/FTBFS_with_gcc-3.4_conflicting_types.patch debian/patches/fix_gngb.1_manpage.patch Patch debian/patches/fix_gngb.1_manpage.patch is not applied. Patch debian/patches/FTBFS_with_gcc-3.4_conflicting_types.patch is not applied. if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; fi if [ "reverse-patches" != "reverse-patches" ] ; then \ /usr/bin/make -f debian/rules update-config ; \ fi for dir in debian/patches ; do \ rm -f $dir/*.log ; \ done for i in ./config.guess ./config.sub ; do \ if test -e $i.cdbs-orig ; then \ mv $i.cdbs-orig $i ; \ fi ; \ done dh_clean rm -f debian/stamp-autotools-files debian/rules build-arch /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead test -x debian/rules mkdir -p "." /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/«PKGBUILDDIR»' /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead for i in ./config.guess ./config.sub ; do \ if test -e $i.cdbs-orig ; then \ mv $i.cdbs-orig $i ; \ fi ; \ done make[1]: Leaving directory `/«PKGBUILDDIR»' if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi patches: debian/patches/FTBFS_with_gcc-3.4_conflicting_types.patch debian/patches/fix_gngb.1_manpage.patch Trying patch debian/patches/FTBFS_with_gcc-3.4_conflicting_types.patch at level 1 ... success. Trying patch debian/patches/fix_gngb.1_manpage.patch at level 1 ... success. if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi if [ "debian/stamp-patched" != "reverse-patches" ] ; then \ /usr/bin/make -f debian/rules update-config ; \ fi make[1]: Entering directory `/«PKGBUILDDIR»' /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead if test -e /usr/share/misc/config.guess ; then \ for i in ./config.guess ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.guess $i ; \ fi ; \ done ; \ fi if test -e /usr/share/misc/config.sub ; then \ for i in ./config.sub ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.sub $i ; \ fi ; \ done ; \ fi make[1]: Leaving directory `/«PKGBUILDDIR»' if test -e /usr/share/misc/config.guess ; then \ for i in ./config.guess ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.guess $i ; \ fi ; \ done ; \ fi if test -e /usr/share/misc/config.sub ; then \ for i in ./config.sub ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.sub $i ; \ fi ; \ done ; \ fi touch debian/stamp-autotools-files chmod a+x /«PKGBUILDDIR»/./configure mkdir -p . cd . && CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" /«PKGBUILDDIR»/./configure --build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/gngb" --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether byte ordering is bigendian... no checking for pthread_create in -lpthread... yes checking for sdl-config... yes checking for SDL_Init in -lSDL... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for egrep... 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 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 for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for sleep... yes checking for mkdir... yes checking for socket... yes checking for strtol... yes checking for getopt_long... yes checking bzlib.h usability... no checking bzlib.h presence... no checking for bzlib.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for glBegin in -lGL... yes Architeture: no System: Linux configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands touch debian/stamp-autotools /usr/bin/make -C . make[1]: Entering directory `/«PKGBUILDDIR»' /usr/bin/make all-recursive make[2]: Entering directory `/«PKGBUILDDIR»' Making all in src make[3]: Entering directory `/«PKGBUILDDIR»/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c cpu.c cpu.c:181:2: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint8 opcode; ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:223:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,REG_SP.b.l); ^ ./memory.h:167:25: note: expanded from macro 'mem_write_fast' if (mem_write_tab[((a)>>12)&0xff].type!=MEM_DIRECT_ACCESS) {\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:223:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,REG_SP.b.l); ^ ./memory.h:168:24: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:223:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,REG_SP.b.l); ^ ./memory.h:168:41: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:223:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,REG_SP.b.l); ^ ./memory.h:170:24: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:223:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,REG_SP.b.l); ^ ./memory.h:170:41: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:224:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16+1,REG_SP.b.h); ^ ./memory.h:167:25: note: expanded from macro 'mem_write_fast' if (mem_write_tab[((a)>>12)&0xff].type!=MEM_DIRECT_ACCESS) {\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:224:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16+1,REG_SP.b.h); ^ ./memory.h:168:24: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:224:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16+1,REG_SP.b.h); ^ ./memory.h:168:41: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:224:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16+1,REG_SP.b.h); ^ ./memory.h:170:24: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:224:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16+1,REG_SP.b.h); ^ ./memory.h:170:41: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:438:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:438:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:443:22: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,t8); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:443:22: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,t8); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:446:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:446:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:451:22: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,t8); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:451:22: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,t8); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:455:22: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,t8); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:455:22: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,t8); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:741:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:741:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:812:21: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t16); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:812:21: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t16); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:873:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:873:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:936:21: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t16); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:936:21: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t16); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1013:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1013:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1070:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1070:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1119:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1119:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1136:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(B); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1136:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(B); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1136:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(B); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1139:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(C); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1139:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(C); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1139:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(C); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1142:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(D); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1142:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(D); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1142:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(D); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1146:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(E); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1146:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(E); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1146:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(E); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1149:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(H); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1149:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(H); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1149:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(H); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1152:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(L); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1152:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(L); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1152:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(L); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1155:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1155:21: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,t8); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1156:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1156:11: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:27: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1156:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1156:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1156:11: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:139: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1159:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(A); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1159:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(A); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1159:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(A); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:1231:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(B); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1231:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(B); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1231:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(B); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1236:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(C); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1236:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(C); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1236:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(C); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1241:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(D); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1241:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(D); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1241:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(D); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1246:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(E); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1246:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(E); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1246:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(E); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1251:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(H); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1251:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(H); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1251:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(H); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1256:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(L); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1256:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(L); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1256:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(L); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1261:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1261:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1262:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(a); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1262:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(a); ^ cpu.c:1227:24: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1262:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(a); ^ cpu.c:1227:38: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1262:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(a); ^ cpu.c:1227:43: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1262:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(a); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1262:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(a); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1262:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(a); ^ cpu.c:1227:101: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1263:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1263:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1268:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(A); ^ cpu.c:1227:19: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1268:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(A); ^ cpu.c:1227:50: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1268:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RLC_R(A); ^ cpu.c:1227:56: note: expanded from macro 'RLC_R' #define RLC_R(r) {t8=((r)&0x80)>>7; (r)=((r)<<1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1276:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(B); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1276:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(B); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1276:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(B); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1281:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(C); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1281:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(C); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1281:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(C); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1286:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(D); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1286:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(D); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1286:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(D); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1291:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(E); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1291:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(E); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1291:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(E); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1296:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(H); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1296:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(H); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1296:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(H); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1301:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(L); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1301:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(L); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1301:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(L); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1306:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1306:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1307:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(a); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1307:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(a); ^ cpu.c:1272:24: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1307:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(a); ^ cpu.c:1272:38: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1307:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(a); ^ cpu.c:1272:43: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1307:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(a); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1307:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(a); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1307:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(a); ^ cpu.c:1272:101: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1308:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1308:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1313:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(A); ^ cpu.c:1272:19: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1313:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(A); ^ cpu.c:1272:50: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1313:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RRC_R(A); ^ cpu.c:1272:56: note: expanded from macro 'RRC_R' #define RRC_R(r) {t8=((r)&0x01)<<7; (r)=((r)>>1)|t8; ((t8)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1320:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(B); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1320:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(B); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1325:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(C); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1325:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(C); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1330:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(D); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1330:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(D); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1335:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(E); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1335:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(E); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1340:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(H); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1340:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(H); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1345:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(L); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1345:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(L); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1350:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1350:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1351:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(a); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1351:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(a); ^ cpu.c:1317:50: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1351:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(a); ^ cpu.c:1317:99: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1351:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(a); ^ cpu.c:1317:104: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1351:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(a); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1351:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(a); ^ cpu.c:1317:117: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1352:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1352:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1357:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(A); ^ cpu.c:1317:18: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1357:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RL_R(A); ^ cpu.c:1317:111: note: expanded from macro 'RL_R' #define RL_R(r) {t8=(IS_SET(FLAG_C)?(1):(0)); (((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)<<1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1364:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(B); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1364:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(B); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1369:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(C); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1369:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(C); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1374:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(D); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1374:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(D); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1379:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(E); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1379:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(E); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1384:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(H); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1384:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(H); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1389:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(L); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1389:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(L); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1394:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1394:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1395:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(a); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1395:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(a); ^ cpu.c:1361:56: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1395:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(a); ^ cpu.c:1361:105: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1395:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(a); ^ cpu.c:1361:110: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1395:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(a); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1395:6: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(a); ^ cpu.c:1361:123: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1396:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1396:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1401:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(A); ^ cpu.c:1361:18: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1401:1: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] RR_R(A); ^ cpu.c:1361:117: note: expanded from macro 'RR_R' #define RR_R(r) {t8=(IS_SET(FLAG_C)?(0x80):(0x00)); (((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)>>1)|t8; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:1438:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1438:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1439:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SLA_R(a); ^ cpu.c:1405:22: note: expanded from macro 'SLA_R' #define SLA_R(r) {(((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)<<=1; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1439:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SLA_R(a); ^ cpu.c:1405:71: note: expanded from macro 'SLA_R' #define SLA_R(r) {(((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)<<=1; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1439:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SLA_R(a); ^ cpu.c:1405:81: note: expanded from macro 'SLA_R' #define SLA_R(r) {(((r)&0x80)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)<<=1; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1440:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1440:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1482:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1482:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1483:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRA_R(a); ^ cpu.c:1449:22: note: expanded from macro 'SRA_R' #define SRA_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)&0x80)|((r)>>1); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1483:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRA_R(a); ^ cpu.c:1449:71: note: expanded from macro 'SRA_R' #define SRA_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)&0x80)|((r)>>1); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1483:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRA_R(a); ^ cpu.c:1449:76: note: expanded from macro 'SRA_R' #define SRA_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)&0x80)|((r)>>1); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1483:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRA_R(a); ^ cpu.c:1449:87: note: expanded from macro 'SRA_R' #define SRA_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)&0x80)|((r)>>1); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1483:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRA_R(a); ^ cpu.c:1449:97: note: expanded from macro 'SRA_R' #define SRA_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)=((r)&0x80)|((r)>>1); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1484:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1484:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1526:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1526:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1527:8: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SWAP_R(a); ^ cpu.c:1493:21: note: expanded from macro 'SWAP_R' #define SWAP_R(r) {(r)=(((r)&0xf0)>>4)|(((r)&0x0f)<<4); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH&FLAG_NC);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1527:8: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SWAP_R(a); ^ cpu.c:1493:27: note: expanded from macro 'SWAP_R' #define SWAP_R(r) {(r)=(((r)&0xf0)>>4)|(((r)&0x0f)<<4); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH&FLAG_NC);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1527:8: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SWAP_R(a); ^ cpu.c:1493:43: note: expanded from macro 'SWAP_R' #define SWAP_R(r) {(r)=(((r)&0xf0)>>4)|(((r)&0x0f)<<4); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH&FLAG_NC);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1527:8: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SWAP_R(a); ^ cpu.c:1493:59: note: expanded from macro 'SWAP_R' #define SWAP_R(r) {(r)=(((r)&0xf0)>>4)|(((r)&0x0f)<<4); ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH&FLAG_NC);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1528:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1528:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1570:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1570:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1571:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRL_R(a); ^ cpu.c:1537:22: note: expanded from macro 'SRL_R' #define SRL_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)>>=1; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1571:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRL_R(a); ^ cpu.c:1537:71: note: expanded from macro 'SRL_R' #define SRL_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)>>=1; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1571:7: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] SRL_R(a); ^ cpu.c:1537:81: note: expanded from macro 'SRL_R' #define SRL_R(r) {(((r)&0x01)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); (r)>>=1; ((r)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); UNSET_FLAG(FLAG_NN&FLAG_NH);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1572:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1572:19: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,a); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1615:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1615:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1616:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x01,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1656:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1656:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1657:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x02,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1697:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1697:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1698:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x04,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1738:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1738:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1739:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x08,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1779:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1779:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1780:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x10,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1820:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1820:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1821:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x20,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1861:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1861:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1862:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x40,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1902:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1902:18: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,a); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1903:14: warning: static variable 'a' is used in an inline function with external linkage [-Wstatic-in-inline] BIT_N_R(0x80,a); ^ cpu.c:1581:26: note: expanded from macro 'BIT_N_R' #define BIT_N_R(n,r) {(((r)&(n))?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); SET_FLAG(FLAG_H); UNSET_FLAG(FLAG_NN);} ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:39:14: note: 'a' declared here static Uint8 a; ^ cpu.c:1943:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:1943:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:1945:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:1945:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:1985:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:1985:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:1987:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:1987:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2027:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2027:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2029:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2029:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2069:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2069:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2071:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2071:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2111:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2111:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2113:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2113:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2153:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2153:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2155:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2155:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2195:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2195:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2197:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2197:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2237:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2237:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2239:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2239:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2279:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2279:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2281:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2281:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2321:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2321:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2323:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2323:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2363:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2363:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2365:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2365:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2405:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2405:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2407:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2407:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2447:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2447:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2449:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2449:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2489:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2489:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2491:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2491:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2531:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2531:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2533:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2533:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2573:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:160:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2573:18: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(HL,v); ^ ./memory.h:162:9: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2575:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:168:45: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2575:19: warning: static variable 'v' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(HL,v); ^ ./memory.h:170:52: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:38:14: note: 'v' declared here static Uint8 v; ^ cpu.c:2738:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,A); ^ ./memory.h:167:25: note: expanded from macro 'mem_write_fast' if (mem_write_tab[((a)>>12)&0xff].type!=MEM_DIRECT_ACCESS) {\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2738:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,A); ^ ./memory.h:168:24: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2738:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,A); ^ ./memory.h:168:41: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].f((a),(v));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2738:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,A); ^ ./memory.h:170:24: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2738:19: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_write_fast(t16,A); ^ ./memory.h:170:41: note: expanded from macro 'mem_write_fast' mem_write_tab[((a)>>12)&0xff].b[(a)&0xfff]=(v);\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2792:18: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(t16,A); ^ ./memory.h:159:24: note: expanded from macro 'mem_read_fast' if (mem_read_tab[((a)>>12)&0xff].type!=MEM_DIRECT_ACCESS) {\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2792:18: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(t16,A); ^ ./memory.h:160:27: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2792:18: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(t16,A); ^ ./memory.h:160:44: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].f((a));\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2792:18: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(t16,A); ^ ./memory.h:162:27: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2792:18: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] mem_read_fast(t16,A); ^ ./memory.h:162:44: note: expanded from macro 'mem_read_fast' (v)=mem_read_tab[((a)>>12)&0xff].b[(a)&0xfff];\ ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2801:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:20: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2801:11: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:27: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:2801:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:33: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2801:4: warning: static variable 't16' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:86: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:35:15: note: 't16' declared here static Uint16 t16; ^ cpu.c:2801:11: warning: static variable 't8' is used in an inline function with external linkage [-Wstatic-in-inline] CP_A_R(t8); ^ cpu.c:1133:139: note: expanded from macro 'CP_A_R' #define CP_A_R(v) {t16=A-(v); ((t16&0x0100)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); ((t16&0xff)?UNSET_FLAG(FLAG_NZ):SET_FLAG(FLAG_Z)); ((((v&0x0f)>((A)&0x0f)))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); SET_FLAG(FLAG_N); } ^ ./cpu.h:82:1: note: use 'static' to give inline function 'gbcpu_exec_one' internal linkage __inline__ Uint8 gbcpu_exec_one(void); ^ static cpu.c:33:14: note: 't8' declared here static Uint8 t8; ^ cpu.c:2830:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint32 divid_cycle; ^ ./cpu.h:83:1: note: use 'static' to give inline function 'cpu_run' internal linkage __inline__ void cpu_run(void); ^ static cpu.c:2913:10: warning: implicit declaration of function 'gbserial_read' is invalid in C99 [-Wimplicit-function-declaration] SB=gbserial_read(); ^ cpu.c:2920:7: warning: implicit declaration of function 'gbserial_write' is invalid in C99 [-Wimplicit-function-declaration] gbserial_write(SB); ^ 312 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c emu.c emu.c:278:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] fgets(buf,510,f); ^~~~~ ~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c frame_skip.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c interrupt.c interrupt.c:507:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ In file included from interrupt.c:24: ./vram.h:108:18: warning: inline function 'get_nb_spr' is not defined [-Wundefined-inline] __inline__ Uint8 get_nb_spr(void); ^ interrupt.c:237:20: note: used here gblcdc->nb_spr=get_nb_spr(); ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c main.c In file included from main.c:35: ./cpu.h:83:17: warning: inline function 'cpu_run' is not defined [-Wundefined-inline] __inline__ void cpu_run(void); ^ main.c:75:3: note: used here cpu_run(); ^ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c memory.c memory.c:70:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Sint16 joy_x_min=0;joy_x_max=0;joy_y_min=0;joy_y_max=0; ^~~~~~~~~ memory.c:70:32: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Sint16 joy_x_min=0;joy_x_max=0;joy_y_min=0;joy_y_max=0; ^~~~~~~~~ memory.c:70:44: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Sint16 joy_x_min=0;joy_x_max=0;joy_y_min=0;joy_y_max=0; ^~~~~~~~~ memory.c:180:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ memory.c:494:9: warning: unused variable 'bk' [-Wunused-variable] Uint8 bk; ^ memory.c:495:10: warning: unused variable 'd' [-Wunused-variable] Uint8 *d=&vram_page[active_vram_page][dma_info.dest&0x1fff]; ^ memory.c:800:26: warning: implicit declaration of function 'movie_add_pad' is invalid in C99 [-Wimplicit-function-declaration] if (conf.save_movie) movie_add_pad(gb_pad); ^ memory.c:802:12: warning: implicit declaration of function 'movie_get_next_pad' is invalid in C99 [-Wimplicit-function-declaration] gb_pad=movie_get_next_pad(); ^ memory.c:967:4: warning: implicit declaration of function 'gbserial_write' is invalid in C99 [-Wimplicit-function-declaration] gbserial_write(SB); ^ 9 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c message.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c rom.c rom.c:121:11: warning: implicit declaration of function 'zip_file_open_next_rom' is invalid in C99 [-Wimplicit-function-declaration] if (zip_file_open_next_rom(stream->stream)<0) return -1; ^ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c serial.c serial.c:144:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((n=accept(s,(struct sockaddr *)&saddr,&len))<0) { ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:245:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ serial.c:202:3: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] write(dest_socket,&b,sizeof(Uint8)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial.c:199:10: warning: unused variable 'd' [-Wunused-variable] Uint16 d; ^ serial.c:200:9: warning: unused variable 'n' [-Wunused-variable] Uint8 n; ^ serial.c:222:10: warning: incompatible pointer to integer conversion assigning to 'Uint8' (aka 'unsigned char') from 'Uint8 [1000]' [-Wint-conversion] else SB=c; ^~ serial.c:262:21: warning: incompatible integer to pointer conversion passing 'Uint8' (aka 'unsigned char') to parameter of type 'const void *' [-Wint-conversion] write(dest_socket,SB,1); ^~ ./memory.h:59:12: note: expanded from macro 'SB' #define SB (himem[0x61]) ^~~~~~~~~~~~~ /usr/include/unistd.h:366:45: note: passing argument to parameter '__buf' here extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur; ^ serial.c:262:3: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] write(dest_socket,SB,1); ^~~~~ ~~~~~~~~~~~~~~~~ serial.c:317:3: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] write(dest_socket,&b,1); ^~~~~ ~~~~~~~~~~~~~~~~ 8 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c sgb.c sgb.c:251:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Sint8 nb_dataset; ^ sgb.c:250:1: note: use 'static' to give inline function 'sgb_block_mode' internal linkage __inline__ void sgb_block_mode(void) { ^ static sgb.c:252:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint8 dataset[6]; ^ sgb.c:250:1: note: use 'static' to give inline function 'sgb_block_mode' internal linkage __inline__ void sgb_block_mode(void) { ^ static sgb.c:253:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint8 ds_i; // dataset indice ^ sgb.c:250:1: note: use 'static' to give inline function 'sgb_block_mode' internal linkage __inline__ void sgb_block_mode(void) { ^ static sgb.c:320:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Sint16 nb_dataset; ^ sgb.c:318:1: note: use 'static' to give inline function 'sgb_line_mode' internal linkage __inline__ void sgb_line_mode(void) { ^ static sgb.c:371:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint8 mode; ^ sgb.c:370:1: note: use 'static' to give inline function 'sgb_1chr_mode' internal linkage __inline__ void sgb_1chr_mode(void) { ^ static sgb.c:372:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint16 nb_dataset; ^ sgb.c:370:1: note: use 'static' to give inline function 'sgb_1chr_mode' internal linkage __inline__ void sgb_1chr_mode(void) { ^ static sgb.c:373:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint8 I,J; ^ sgb.c:370:1: note: use 'static' to give inline function 'sgb_1chr_mode' internal linkage __inline__ void sgb_1chr_mode(void) { ^ static sgb.c:373:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint8 I,J; ^ sgb.c:370:1: note: use 'static' to give inline function 'sgb_1chr_mode' internal linkage __inline__ void sgb_1chr_mode(void) { ^ static sgb.c:374:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int i; ^ sgb.c:370:1: note: use 'static' to give inline function 'sgb_1chr_mode' internal linkage __inline__ void sgb_1chr_mode(void) { ^ static sgb.c:537:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ 10 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c sound.c sound.c:357:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int env=0; ^ sound.c:355:1: note: use 'static' to give inline function 'update_snd_m1' internal linkage __inline__ Sint8 update_snd_m1(void) ^ static sound.c:358:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static char sp=0; ^ sound.c:355:1: note: use 'static' to give inline function 'update_snd_m1' internal linkage __inline__ Sint8 update_snd_m1(void) ^ static sound.c:359:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int lp=0; ^ sound.c:355:1: note: use 'static' to give inline function 'update_snd_m1' internal linkage __inline__ Sint8 update_snd_m1(void) ^ static sound.c:360:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int ep=0; ^ sound.c:355:1: note: use 'static' to give inline function 'update_snd_m1' internal linkage __inline__ Sint8 update_snd_m1(void) ^ static sound.c:361:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int fp=0; ^ sound.c:355:1: note: use 'static' to give inline function 'update_snd_m1' internal linkage __inline__ Sint8 update_snd_m1(void) ^ static sound.c:362:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int cur_swp_shift; ^ sound.c:355:1: note: use 'static' to give inline function 'update_snd_m1' internal linkage __inline__ Sint8 update_snd_m1(void) ^ static sound.c:363:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int cur_env_step; ^ sound.c:355:1: note: use 'static' to give inline function 'update_snd_m1' internal linkage __inline__ Sint8 update_snd_m1(void) ^ static sound.c:477:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int env=0; ^ sound.c:474:1: note: use 'static' to give inline function 'update_snd_m2' internal linkage __inline__ Sint8 update_snd_m2(void) ^ static sound.c:478:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int sp=0; ^ sound.c:474:1: note: use 'static' to give inline function 'update_snd_m2' internal linkage __inline__ Sint8 update_snd_m2(void) ^ static sound.c:479:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int lp=0; ^ sound.c:474:1: note: use 'static' to give inline function 'update_snd_m2' internal linkage __inline__ Sint8 update_snd_m2(void) ^ static sound.c:480:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int ep=0; ^ sound.c:474:1: note: use 'static' to give inline function 'update_snd_m2' internal linkage __inline__ Sint8 update_snd_m2(void) ^ static sound.c:481:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int cur_env_step; ^ sound.c:474:1: note: use 'static' to give inline function 'update_snd_m2' internal linkage __inline__ Sint8 update_snd_m2(void) ^ static sound.c:564:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int lp=0; ^ sound.c:562:1: note: use 'static' to give inline function 'update_snd_m3' internal linkage __inline__ Sint8 update_snd_m3(void) ^ static sound.c:565:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int sp=0; ^ sound.c:562:1: note: use 'static' to give inline function 'update_snd_m3' internal linkage __inline__ Sint8 update_snd_m3(void) ^ static sound.c:566:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int val=0; ^ sound.c:562:1: note: use 'static' to give inline function 'update_snd_m3' internal linkage __inline__ Sint8 update_snd_m3(void) ^ static sound.c:655:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static float cp=0; ^ sound.c:653:1: note: use 'static' to give inline function 'update_snd_m4' internal linkage __inline__ Sint8 update_snd_m4(void) ^ static sound.c:656:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int env=0; ^ sound.c:653:1: note: use 'static' to give inline function 'update_snd_m4' internal linkage __inline__ Sint8 update_snd_m4(void) ^ static sound.c:657:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int sp=0; ^ sound.c:653:1: note: use 'static' to give inline function 'update_snd_m4' internal linkage __inline__ Sint8 update_snd_m4(void) ^ static sound.c:658:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int lp=0; ^ sound.c:653:1: note: use 'static' to give inline function 'update_snd_m4' internal linkage __inline__ Sint8 update_snd_m4(void) ^ static sound.c:659:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int ep=0; ^ sound.c:653:1: note: use 'static' to give inline function 'update_snd_m4' internal linkage __inline__ Sint8 update_snd_m4(void) ^ static sound.c:660:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int cur_env_step; ^ sound.c:653:1: note: use 'static' to give inline function 'update_snd_m4' internal linkage __inline__ Sint8 update_snd_m4(void) ^ static sound.c:661:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static Uint32 poly_counter; ^ sound.c:653:1: note: use 'static' to give inline function 'update_snd_m4' internal linkage __inline__ Sint8 update_snd_m4(void) ^ static sound.c:942:7: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] realloc((void*)playbuf,desired.size+1); ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c vram.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c video_yuy2.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c video_yuv.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c video_yv12.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c video_std.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c video_gl.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c menu.c menu.c:446:21: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] item->user_data=(void*)i; ^ menu.c:457:21: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] item->user_data=(void*)i; ^ menu.c:474:21: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] item->user_data=(void*)i; ^ menu.c:497:23: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-pointer-cast] item->user_data=(void*)i; ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c fileio.c fileio.c:63:3: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] fread(str,1,10,file_tmp); ^~~~~ ~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c save.c save.c:25:3: warning: implicit declaration of function 'check_dir' is invalid in C99 [-Wimplicit-function-declaration] check_dir(f); ^ save.c:112:30: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stream,"%ld",(long)time(NULL)); ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:110:51: note: expanded from macro 'fprintf' __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^ save.c:134:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] fscanf(stream,"%02x",&t); ^~~~~~ ~~~~~~~~~~~~~~~~ save.c:137:3: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] fscanf(stream,"%ld",&dt); ^~~~~~ ~~~~~~~~~~~~~~~~ save.c:174:10: warning: array index 5 is past the end of the array (which contains 5 elements) [-Warray-bounds] dd=((rom_timer->reg[5]&0x01)<<9)|rom_timer->reg[4]; ^ ~ ./rom.h:51:3: note: array 'reg' declared here Uint8 reg[5]; ^ save.c:179:7: warning: array index 5 is past the end of the array (which contains 5 elements) [-Warray-bounds] rom_timer->reg[5]|=0x80; // set carry ^ ~ ./rom.h:51:3: note: array 'reg' declared here Uint8 reg[5]; ^ save.c:183:24: warning: array index 5 is past the end of the array (which contains 5 elements) [-Warray-bounds] rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); ^ ~ ./rom.h:51:3: note: array 'reg' declared here Uint8 reg[5]; ^ save.c:183:5: warning: array index 5 is past the end of the array (which contains 5 elements) [-Warray-bounds] rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); ^ ~ ./rom.h:51:3: note: array 'reg' declared here Uint8 reg[5]; ^ save.c:485:3: warning: implicit declaration of function 'get_bmp_ext_nb' is invalid in C99 [-Wimplicit-function-declaration] get_bmp_ext_nb(t,n); ^ save.c:530:5: warning: implicit declaration of function 'get_ext_nb' is invalid in C99 [-Wimplicit-function-declaration] get_ext_nb(t,n); ^ save.c:524:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ save.c:558:8: warning: unused variable 'end' [-Wunused-variable] long end,last,begin; ^ save.c:558:12: warning: unused variable 'last' [-Wunused-variable] long end,last,begin; ^ save.c:558:17: warning: unused variable 'begin' [-Wunused-variable] long end,last,begin; ^ save.c:639:5: warning: implicit declaration of function 'update_sound_reg' is invalid in C99 [-Wimplicit-function-declaration] update_sound_reg(); ^ save.c:609:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ save.c:612:9: warning: unused variable 'section_id' [-Wunused-variable] Uint8 section_id; ^ save.c:613:10: warning: unused variable 'size' [-Wunused-variable] Uint16 size; ^ save.c:614:8: warning: unused variable 'end' [-Wunused-variable] long end,last,begin; ^ save.c:614:12: warning: unused variable 'last' [-Wunused-variable] long end,last,begin; ^ save.c:614:17: warning: unused variable 'begin' [-Wunused-variable] long end,last,begin; ^ save.c:648:24: warning: incompatible pointer to integer conversion initializing 'char' with an expression of type 'void *' [-Wint-conversion] GNGB_MOVIE gngb_movie={NULL,0,NULL}; ^~~~ /usr/include/clang/3.3/include/stddef.h:77:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ save.c:648:31: warning: incompatible pointer to integer conversion initializing 'char' with an expression of type 'void *' [-Wint-conversion] GNGB_MOVIE gngb_movie={NULL,0,NULL}; ^~~~ /usr/include/clang/3.3/include/stddef.h:77:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ save.c:648:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] GNGB_MOVIE gngb_movie={NULL,0,NULL}; ^~~~~~~~~~~ { } /usr/include/clang/3.3/include/stddef.h:77:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^ save.c:660:13: warning: unused variable 'p' [-Wunused-variable] PAD_SAVE *p=gngb_movie.first_pad; ^ save.c:668:7: warning: unused variable 'i' [-Wunused-variable] int i,len; ^ save.c:668:9: warning: unused variable 'len' [-Wunused-variable] int i,len; ^ save.c:669:9: warning: unused variable 'pad' [-Wunused-variable] Uint8 pad; ^ save.c:706:14: warning: unused function 'read_int8' [-Wunused-function] static Uint8 read_int8(void *data); ^ save.c:707:14: warning: unused function 'write_int8' [-Wunused-function] static Uint8 write_int8(void *date); ^ save.c:708:14: warning: unused function 'read_int16' [-Wunused-function] static Uint8 read_int16(void *data); ^ save.c:709:14: warning: unused function 'write_int16' [-Wunused-function] static Uint8 write_int16(void *data); ^ save.c:710:14: warning: unused function 'read_int32' [-Wunused-function] static Uint8 read_int32(void *data); ^ save.c:711:14: warning: unused function 'write_int32' [-Wunused-function] static Uint8 write_int32(void *data); ^ 34 warnings generated. gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c unzip.c unzip.c:1016:43: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((pfile_in_zip_read_info->read_buffer == NULL)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ unzip.c:1016:43: note: remove extraneous parentheses around the comparison to silence this warning if ((pfile_in_zip_read_info->read_buffer == NULL)) ~ ^ ~ unzip.c:1016:43: note: use '=' to turn this equality comparison into an assignment if ((pfile_in_zip_read_info->read_buffer == NULL)) ^~ = unzip.c:1272:6: warning: unused variable 'err' [-Wunused-variable] int err=UNZ_OK; ^ 2 warnings generated. gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -Wl,-z,relro -o gngb cpu.o emu.o frame_skip.o interrupt.o main.o memory.o message.o rom.o serial.o sgb.o sound.o vram.o video_yuy2.o video_yuv.o video_yv12.o video_std.o video_gl.o menu.o fileio.o save.o unzip.o -lz -lSDL -lpthread -L/usr/lib/x86_64-linux-gnu -lSDL -lGL interrupt.o: In function `gblcdc_update': /«PKGBUILDDIR»/src/interrupt.c:237: undefined reference to `get_nb_spr' interrupt.o: In function `gblcdc_update2': /«PKGBUILDDIR»/src/interrupt.c:368: undefined reference to `get_nb_spr' interrupt.o: In function `gblcdc_set_on3': /«PKGBUILDDIR»/src/interrupt.c:404: undefined reference to `get_nb_spr' interrupt.o: In function `gblcdc_update3': /«PKGBUILDDIR»/src/interrupt.c:433: undefined reference to `get_nb_spr' /«PKGBUILDDIR»/src/interrupt.c:452: undefined reference to `get_nb_spr' main.o: In function `main': /«PKGBUILDDIR»/src/main.c:75: undefined reference to `cpu_run' memory.o: In function `mem_write_ff': /«PKGBUILDDIR»/src/memory.c:850: undefined reference to `hdma_request' /«PKGBUILDDIR»/src/memory.c:1072: undefined reference to `do_dma' /«PKGBUILDDIR»/src/memory.c:943: undefined reference to `update_gb_pad' sgb.o: In function `sgb_exec_cmd': /«PKGBUILDDIR»/src/sgb.c:576: undefined reference to `sgb_block_mode' /«PKGBUILDDIR»/src/sgb.c:577: undefined reference to `sgb_line_mode' /«PKGBUILDDIR»/src/sgb.c:578: undefined reference to `sgb_divide_mode' /«PKGBUILDDIR»/src/sgb.c:579: undefined reference to `sgb_1chr_mode' /«PKGBUILDDIR»/src/sgb.c:596: undefined reference to `sgb_set_scpal_data' sgb.o: In function `sgb_draw_tiles': /«PKGBUILDDIR»/src/sgb.c:174: undefined reference to `sgb_draw_one_tile' sound.o: In function `update_gb_sound': /«PKGBUILDDIR»/src/sound.c:824: undefined reference to `update_snd_m1' /«PKGBUILDDIR»/src/sound.c:829: undefined reference to `update_snd_m2' /«PKGBUILDDIR»/src/sound.c:834: undefined reference to `update_snd_m3' /«PKGBUILDDIR»/src/sound.c:840: undefined reference to `update_snd_m4' video_std.o: In function `draw_screen_wb_std': /«PKGBUILDDIR»/src/video_std.c:947: undefined reference to `draw_back_std' /«PKGBUILDDIR»/src/video_std.c:948: undefined reference to `draw_win_std' video_std.o: In function `draw_obj_std': /«PKGBUILDDIR»/src/video_std.c:563: undefined reference to `draw_spr_std' video_std.o: In function `draw_screen_col_std': /«PKGBUILDDIR»/src/video_std.c:958: undefined reference to `draw_back_col_std' /«PKGBUILDDIR»/src/video_std.c:959: undefined reference to `draw_win_col_std' video_std.o: In function `draw_obj_col_std': /«PKGBUILDDIR»/src/video_std.c:694: undefined reference to `draw_spr_col_std' video_std.o: In function `draw_screen_sgb_std': /«PKGBUILDDIR»/src/video_std.c:970: undefined reference to `draw_back_sgb_std' /«PKGBUILDDIR»/src/video_std.c:971: undefined reference to `draw_win_sgb_std' video_std.o: In function `draw_obj_sgb_std': /«PKGBUILDDIR»/src/video_std.c:939: undefined reference to `draw_spr_sgb_std' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [gngb] Error 1 make[3]: Leaving directory `/«PKGBUILDDIR»/src' make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive-am] Error 2 make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 make[2]: Leaving directory `/«PKGBUILDDIR»' make[1]: Leaving directory `/«PKGBUILDDIR»' ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130717-1307 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 2028 Build-Time: 20 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 16 Job: gngb_20060309-3 Machine Architecture: amd64 Package: gngb Package-Time: 115 Source-Version: 20060309-3 Space: 2028 Status: attempted Version: 20060309-3clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130717-1307 Build needed 00:01:55, 2028k disc space DC-Status: Failed 115.723718623s DC-Time-Estimation: 115.723718623 versus expected 62 (r/m: 0.8665115906935483 ; m: 62.0)