Warning: Permanently added '172.25.85.47' (ECDSA) to the list of known hosts. Task: {'build_id': 691911, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-ppc64le', 'enable_net': True, 'git_hash': '6ca6c3adc2f6baaf7769a8aed8ca067b093f14cc', 'git_repo': 'scx/swftools/swftools', 'memory_reqs': 2048, 'package_name': 'swftools', 'package_version': '0.9.2-7.el7.centos', 'project_name': 'swftools', 'project_owner': 'scx', 'repos': [{'id': 'copr_base', 'name': 'Copr repository', 'url': 'https://copr-be.cloud.fedoraproject.org/results/scx/swftools/fedora-rawhide-ppc64le/'}], 'source_json': '{"clone_url": "http://copr-dist-git.fedorainfracloud.org/git/scx/swftools/swftools.git", ' '"committish": "6ca6c3adc2f6baaf7769a8aed8ca067b093f14cc"}', 'source_type': 8, 'submitter': 'scx', 'task_id': '691911-fedora-rawhide-ppc64le', 'timeout': 64800, 'use_bootstrap_container': False} Running: git clone http://copr-dist-git.fedorainfracloud.org/git/scx/swftools/swftools.git /tmp/tmp3xfc1fet/swftools --depth 500 --no-single-branch cmd: ['git', 'clone', 'http://copr-dist-git.fedorainfracloud.org/git/scx/swftools/swftools.git', '/tmp/tmp3xfc1fet/swftools', '--depth', '500', '--no-single-branch'] cwd: . rc: 0 stdout: stderr: Cloning into '/tmp/tmp3xfc1fet/swftools'... Running: git checkout 6ca6c3adc2f6baaf7769a8aed8ca067b093f14cc cmd: ['git', 'checkout', '6ca6c3adc2f6baaf7769a8aed8ca067b093f14cc'] cwd: /tmp/tmp3xfc1fet/swftools rc: 0 stdout: stderr: Note: checking out '6ca6c3adc2f6baaf7769a8aed8ca067b093f14cc'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 6ca6c3a... automatic import of swftools 0.9.2-7.el7.centos Running: cp -r . /tmp/tmpd7j2jrgs cmd: ['cp', '-r', '.', '/tmp/tmpd7j2jrgs'] cwd: /tmp/tmp3xfc1fet/swftools rc: 0 stdout: stderr: Generated rpkg config: [distgit] lookaside = http://copr-dist-git.fedorainfracloud.org/repo/pkgs/%(ns2)s/%(ns1)s/%(pkg)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s anongiturl = http://copr-dist-git.fedorainfracloud.org/git/%(module)s Running: rpkg -C /tmp/tmp3xfc1fet/rpkg.conf sources --outdir /tmp/tmpd7j2jrgs cmd: ['rpkg', '-C', '/tmp/tmp3xfc1fet/rpkg.conf', 'sources', '--outdir', '/tmp/tmpd7j2jrgs'] cwd: /tmp/tmp3xfc1fet/swftools rc: 0 stdout: Downloading swftools-0.9.2.tar.gz stderr: {'task_id': '691911-fedora-rawhide-ppc64le', 'chroot': 'fedora-rawhide-ppc64le', 'buildroot_pkgs': [], 'enable_net': True, 'repos': [{'id': 'copr_base', 'name': 'Copr repository', 'url': 'https://copr-be.cloud.fedoraproject.org/results/scx/swftools/fedora-rawhide-ppc64le/'}], 'use_bootstrap_container': False, 'pkg_manager_conf': 'yum', 'timeout': 64800, 'sourcedir': '/tmp/tmpd7j2jrgs', 'resultdir': '/var/lib/copr-rpmbuild/results', 'config': , 'logfile': '/var/lib/copr-rpmbuild/main.log'} /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running: unbuffer /usr/bin/mock --buildsrpm --spec /tmp/tmpd7j2jrgs/swftools.spec --sources /tmp/tmpd7j2jrgs --configdir /var/lib/copr-rpmbuild/results/configs --resultdir /var/lib/copr-rpmbuild/results --define %_disable_source_fetch 0 --uniqueext 1514557168.163261 -r child WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.3.4 starting (python version = 3.6.3)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(/tmp/tmpd7j2jrgs/swftools.spec) Config(691911-fedora-rawhide-ppc64le) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/691911-fedora-rawhide-ppc64le-1514557168.163261/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled HW Info plugin Mock Version: 1.3.4 INFO: Mock Version: 1.3.4 Start: dnf install Failed to synchronize cache for repo 'copr_base', disabling. Last metadata expiration check: 0:00:21 ago on Fri 29 Dec 2017 02:19:30 PM UTC. Dependencies resolved. ================================================================================ Group Packages ================================================================================ Marking packages as installed by the group: @Buildsystem building group coreutils diffutils findutils info gcc-c++ which bzip2 unzip sed cpio redhat-rpm-config bash grep fedora-release util-linux gzip shadow-utils gcc make patch tar rpm-build xz gawk ================================================================================ Package Arch Version Repository Size ================================================================================ Installing group packages: bash ppc64le 4.4.12-13.fc28 fedora 1.6 M bzip2 ppc64le 1.0.6-24.fc27 fedora 60 k coreutils ppc64le 8.28-2.fc28 fedora 1.3 M cpio ppc64le 2.12-6.fc28 fedora 268 k diffutils ppc64le 3.6-3.fc27 fedora 365 k fedora-release noarch 28-0.1 fedora 25 k findutils ppc64le 1:4.6.0-14.fc27 fedora 541 k gawk ppc64le 4.2.0-2.fc28 fedora 1.2 M gcc ppc64le 7.2.1-4.fc28 fedora 19 M gcc-c++ ppc64le 7.2.1-4.fc28 fedora 12 M grep ppc64le 3.1-3.fc27 fedora 281 k gzip ppc64le 1.8-4.fc27 fedora 164 k info ppc64le 6.5-1.fc28 fedora 213 k make ppc64le 1:4.2.1-4.fc27 fedora 504 k patch ppc64le 2.7.5-6.fc27 fedora 134 k redhat-rpm-config noarch 70-2.fc28 fedora 62 k rpm-build ppc64le 4.14.0-5.fc28 fedora 163 k sed ppc64le 4.4-3.fc27 fedora 294 k shadow-utils ppc64le 2:4.5-7.fc28 fedora 1.2 M tar ppc64le 2:1.29-7.fc27 fedora 840 k unzip ppc64le 6.0-36.fc27 fedora 195 k util-linux ppc64le 2.31-2.fc28 fedora 2.5 M which ppc64le 2.21-4.fc27 fedora 48 k xz ppc64le 5.2.3-5.fc28 fedora 157 k Installing dependencies: annobin ppc64le 2.5.1-5.fc28 fedora 45 k audit-libs ppc64le 2.8.2-1.fc28 fedora 128 k basesystem noarch 11-4.fc27 fedora 8.9 k binutils ppc64le 2.29.1-9.fc28 fedora 6.5 M bzip2-libs ppc64le 1.0.6-24.fc27 fedora 51 k ca-certificates noarch 2017.2.20-2.fc28 fedora 406 k chkconfig ppc64le 1.10-3.fc27 fedora 193 k cmake-rpm-macros noarch 3.10.1-6.fc28 fedora 36 k coreutils-common ppc64le 8.28-2.fc28 fedora 1.9 M cpp ppc64le 7.2.1-4.fc28 fedora 9.8 M cracklib ppc64le 2.9.6-9.fc28 fedora 89 k crypto-policies noarch 20171115-1.git921600e.fc28 fedora 37 k curl ppc64le 7.57.0-1.fc28 fedora 341 k cyrus-sasl-lib ppc64le 2.1.26-35.fc28 fedora 174 k dwz ppc64le 0.12-5.fc27 fedora 112 k elfutils ppc64le 0.170-1.fc27 fedora 324 k elfutils-default-yama-scope noarch 0.170-1.fc27 fedora 39 k elfutils-libelf ppc64le 0.170-1.fc27 fedora 210 k elfutils-libs ppc64le 0.170-1.fc27 fedora 316 k expat ppc64le 2.2.5-1.fc28 fedora 109 k fedora-gpg-keys noarch 28-0.3 fedora 93 k fedora-repos noarch 28-0.3 fedora 8.1 k fedora-repos-rawhide noarch 28-0.3 fedora 7.7 k file ppc64le 5.32-1.fc28 fedora 73 k file-libs ppc64le 5.32-1.fc28 fedora 523 k filesystem ppc64le 3.7-1.fc28 fedora 1.1 M fpc-srpm-macros noarch 1.1-3.fc27 fedora 7.1 k gc ppc64le 7.6.0-7.fc27 fedora 117 k gdb-headless ppc64le 8.0.50.20171213-35.fc28 fedora 3.5 M gdbm ppc64le 1.13-3.fc27 fedora 167 k ghc-srpm-macros noarch 1.4.2-6.fc27 fedora 7.9 k glib2 ppc64le 2.55.0-1.fc28 fedora 2.6 M glibc ppc64le 2.26.9000-34.fc28 fedora 3.5 M glibc-all-langpacks ppc64le 2.26.9000-34.fc28 fedora 8.0 M glibc-common ppc64le 2.26.9000-34.fc28 fedora 805 k glibc-devel ppc64le 2.26.9000-34.fc28 fedora 1.0 M glibc-headers ppc64le 2.26.9000-34.fc28 fedora 513 k gmp ppc64le 1:6.1.2-6.fc27 fedora 290 k gnat-srpm-macros noarch 4-4.fc27 fedora 8.4 k gnupg2 ppc64le 2.2.3-1.fc28 fedora 2.4 M gnutls ppc64le 3.6.1-3.fc28 fedora 725 k go-srpm-macros noarch 2-10.fc27 fedora 8.0 k guile ppc64le 5:2.0.14-4.fc28 fedora 3.5 M ima-evm-utils ppc64le 1.0-3.fc28 fedora 52 k isl ppc64le 0.16.1-4.fc28 fedora 1.1 M kernel-headers ppc64le 4.15.0-0.rc4.git3.1.fc28 fedora 1.2 M keyutils-libs ppc64le 1.5.10-3.fc27 fedora 33 k krb5-libs ppc64le 1.16-2 fedora 895 k libacl ppc64le 2.2.52-18.fc27 fedora 35 k libarchive ppc64le 3.3.1-3.fc27 fedora 414 k libasan ppc64le 7.2.1-4.fc28 fedora 407 k libassuan ppc64le 2.5.1-1.fc28 fedora 85 k libatomic ppc64le 7.2.1-4.fc28 fedora 38 k libatomic_ops ppc64le 7.4.6-3.fc27 fedora 34 k libattr ppc64le 2.4.47-21.fc27 fedora 25 k libbabeltrace ppc64le 1.5.3-1.fc27 fedora 218 k libblkid ppc64le 2.31-2.fc28 fedora 226 k libcap ppc64le 2.25-7.fc27 fedora 57 k libcap-ng ppc64le 0.7.8-7.fc28 fedora 32 k libcom_err ppc64le 1.43.7-1.fc28 fedora 46 k libcrypt ppc64le 2.26.9000-34.fc28 fedora 56 k libcurl ppc64le 7.57.0-1.fc28 fedora 304 k libdb ppc64le 5.3.28-29.fc28 fedora 801 k libdb-utils ppc64le 5.3.28-29.fc28 fedora 156 k libfdisk ppc64le 2.31-2.fc28 fedora 273 k libffi ppc64le 3.1-14.fc27 fedora 36 k libgcc ppc64le 7.2.1-4.fc28 fedora 82 k libgcrypt ppc64le 1.8.2-1.fc28 fedora 433 k libgomp ppc64le 7.2.1-4.fc28 fedora 205 k libgpg-error ppc64le 1.27-3.fc27 fedora 189 k libidn2 ppc64le 2.0.4-1.fc28 fedora 101 k libksba ppc64le 1.3.5-5.fc27 fedora 146 k libmetalink ppc64le 0.1.3-4.fc27 fedora 34 k libmount ppc64le 2.31-2.fc28 fedora 251 k libmpc ppc64le 1.0.2-8.fc27 fedora 61 k libnghttp2 ppc64le 1.29.0-1.fc28 fedora 81 k libpkgconf ppc64le 1.3.90-1.fc28 fedora 37 k libpsl ppc64le 0.19.1-1.fc28 fedora 52 k libpwquality ppc64le 1.4.0-4.fc28 fedora 103 k libselinux ppc64le 2.7-6.fc28 fedora 190 k libsemanage ppc64le 2.7-5.fc28 fedora 168 k libsepol ppc64le 2.7-3.fc28 fedora 364 k libsigsegv ppc64le 2.11-3.fc27 fedora 29 k libsmartcols ppc64le 2.31-2.fc28 fedora 180 k libssh2 ppc64le 1.8.0-5.fc28 fedora 106 k libstdc++ ppc64le 7.2.1-4.fc28 fedora 517 k libstdc++-devel ppc64le 7.2.1-4.fc28 fedora 1.9 M libtasn1 ppc64le 4.12-3.fc27 fedora 80 k libtool-ltdl ppc64le 2.4.6-20.fc27 fedora 60 k libubsan ppc64le 7.2.1-4.fc28 fedora 167 k libunistring ppc64le 0.9.8-1.fc28 fedora 422 k libusbx ppc64le 1.0.21-4.fc27 fedora 72 k libutempter ppc64le 1.1.6-11.fc27 fedora 30 k libuuid ppc64le 2.31-2.fc28 fedora 90 k libverto ppc64le 0.3.0-1.fc28 fedora 23 k libxml2 ppc64le 2.9.5-2.fc28 fedora 755 k libzstd ppc64le 1.3.3-1.fc28 fedora 221 k lua-libs ppc64le 5.3.4-7.fc28 fedora 129 k lz4-libs ppc64le 1.8.0-1.fc28 fedora 56 k mpfr ppc64le 3.1.5-5.fc27 fedora 231 k ncurses ppc64le 6.0-15.20171125.fc28 fedora 385 k ncurses-base noarch 6.0-15.20171125.fc28 fedora 78 k ncurses-libs ppc64le 6.0-15.20171125.fc28 fedora 363 k nettle ppc64le 3.4-1.fc28 fedora 319 k npth ppc64le 1.5-3.fc27 fedora 25 k nspr ppc64le 4.17.0-1.fc28 fedora 151 k nss ppc64le 3.34.0-2.fc28 fedora 723 k nss-pem ppc64le 1.0.3-6.fc28 fedora 82 k nss-softokn ppc64le 3.34.0-2.fc28 fedora 415 k nss-softokn-freebl ppc64le 3.34.0-2.fc28 fedora 234 k nss-sysinit ppc64le 3.34.0-2.fc28 fedora 64 k nss-util ppc64le 3.34.0-2.fc28 fedora 97 k ocaml-srpm-macros noarch 5-2.fc27 fedora 7.8 k openblas-srpm-macros noarch 2-2.fc27 fedora 6.6 k openldap ppc64le 2.4.45-4.fc28 fedora 385 k openssl-libs ppc64le 1:1.1.0g-2.fc28 fedora 1.2 M p11-kit ppc64le 0.23.9-2.fc28 fedora 268 k p11-kit-trust ppc64le 0.23.9-2.fc28 fedora 147 k pam ppc64le 1.3.0-6.fc28 fedora 805 k pcre ppc64le 8.41-3.fc28 fedora 205 k pcre2 ppc64le 10.30-4.fc28 fedora 228 k perl-srpm-macros noarch 1-24.fc27 fedora 9.3 k pkgconf ppc64le 1.3.90-1.fc28 fedora 34 k pkgconf-m4 noarch 1.3.90-1.fc28 fedora 15 k pkgconf-pkg-config ppc64le 1.3.90-1.fc28 fedora 13 k popt ppc64le 1.16-12.fc28 fedora 63 k publicsuffix-list-dafsa noarch 20171028-1.fc28 fedora 46 k python-srpm-macros noarch 3-24.fc28 fedora 9.9 k python3 ppc64le 3.6.3-4.fc28 fedora 68 k python3-libs ppc64le 3.6.3-4.fc28 fedora 8.1 M python3-pip noarch 9.0.1-14.fc28 fedora 1.8 M python3-setuptools noarch 37.0.0-1.fc28 fedora 604 k qt5-srpm-macros noarch 5.9.2-1.fc28 fedora 8.8 k readline ppc64le 7.0-7.fc27 fedora 231 k rpm ppc64le 4.14.0-5.fc28 fedora 531 k rpm-build-libs ppc64le 4.14.0-5.fc28 fedora 154 k rpm-libs ppc64le 4.14.0-5.fc28 fedora 364 k rpm-plugin-selinux ppc64le 4.14.0-5.fc28 fedora 66 k rust-srpm-macros noarch 4-3.fc27 fedora 7.7 k setup noarch 2.11.1-1.fc28 fedora 176 k sqlite-libs ppc64le 3.20.1-1.fc28 fedora 585 k systemd-libs ppc64le 236-1.fc28 fedora 480 k tzdata noarch 2017c-1.fc28 fedora 444 k xz-libs ppc64le 5.2.3-5.fc28 fedora 117 k zip ppc64le 3.0-20.fc27 fedora 275 k zlib ppc64le 1.2.11-4.fc27 fedora 104 k zstd ppc64le 1.3.3-1.fc28 fedora 268 k Transaction Summary ================================================================================ Install 171 Packages Total download size: 127 M Installed size: 536 M Downloading Packages: -------------------------------------------------------------------------------- Total 10 MB/s | 127 MB 00:12 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction warning: /etc/hosts created as /etc/hosts.rpmnew Installed: bash.ppc64le 4.4.12-13.fc28 bzip2.ppc64le 1.0.6-24.fc27 coreutils.ppc64le 8.28-2.fc28 cpio.ppc64le 2.12-6.fc28 diffutils.ppc64le 3.6-3.fc27 fedora-release.noarch 28-0.1 findutils.ppc64le 1:4.6.0-14.fc27 gawk.ppc64le 4.2.0-2.fc28 gcc.ppc64le 7.2.1-4.fc28 gcc-c++.ppc64le 7.2.1-4.fc28 grep.ppc64le 3.1-3.fc27 gzip.ppc64le 1.8-4.fc27 info.ppc64le 6.5-1.fc28 make.ppc64le 1:4.2.1-4.fc27 patch.ppc64le 2.7.5-6.fc27 redhat-rpm-config.noarch 70-2.fc28 rpm-build.ppc64le 4.14.0-5.fc28 sed.ppc64le 4.4-3.fc27 shadow-utils.ppc64le 2:4.5-7.fc28 tar.ppc64le 2:1.29-7.fc27 unzip.ppc64le 6.0-36.fc27 util-linux.ppc64le 2.31-2.fc28 which.ppc64le 2.21-4.fc27 xz.ppc64le 5.2.3-5.fc28 annobin.ppc64le 2.5.1-5.fc28 audit-libs.ppc64le 2.8.2-1.fc28 basesystem.noarch 11-4.fc27 binutils.ppc64le 2.29.1-9.fc28 bzip2-libs.ppc64le 1.0.6-24.fc27 ca-certificates.noarch 2017.2.20-2.fc28 chkconfig.ppc64le 1.10-3.fc27 cmake-rpm-macros.noarch 3.10.1-6.fc28 coreutils-common.ppc64le 8.28-2.fc28 cpp.ppc64le 7.2.1-4.fc28 cracklib.ppc64le 2.9.6-9.fc28 crypto-policies.noarch 20171115-1.git921600e.fc28 curl.ppc64le 7.57.0-1.fc28 cyrus-sasl-lib.ppc64le 2.1.26-35.fc28 dwz.ppc64le 0.12-5.fc27 elfutils.ppc64le 0.170-1.fc27 elfutils-default-yama-scope.noarch 0.170-1.fc27 elfutils-libelf.ppc64le 0.170-1.fc27 elfutils-libs.ppc64le 0.170-1.fc27 expat.ppc64le 2.2.5-1.fc28 fedora-gpg-keys.noarch 28-0.3 fedora-repos.noarch 28-0.3 fedora-repos-rawhide.noarch 28-0.3 file.ppc64le 5.32-1.fc28 file-libs.ppc64le 5.32-1.fc28 filesystem.ppc64le 3.7-1.fc28 fpc-srpm-macros.noarch 1.1-3.fc27 gc.ppc64le 7.6.0-7.fc27 gdb-headless.ppc64le 8.0.50.20171213-35.fc28 gdbm.ppc64le 1.13-3.fc27 ghc-srpm-macros.noarch 1.4.2-6.fc27 glib2.ppc64le 2.55.0-1.fc28 glibc.ppc64le 2.26.9000-34.fc28 glibc-all-langpacks.ppc64le 2.26.9000-34.fc28 glibc-common.ppc64le 2.26.9000-34.fc28 glibc-devel.ppc64le 2.26.9000-34.fc28 glibc-headers.ppc64le 2.26.9000-34.fc28 gmp.ppc64le 1:6.1.2-6.fc27 gnat-srpm-macros.noarch 4-4.fc27 gnupg2.ppc64le 2.2.3-1.fc28 gnutls.ppc64le 3.6.1-3.fc28 go-srpm-macros.noarch 2-10.fc27 guile.ppc64le 5:2.0.14-4.fc28 ima-evm-utils.ppc64le 1.0-3.fc28 isl.ppc64le 0.16.1-4.fc28 kernel-headers.ppc64le 4.15.0-0.rc4.git3.1.fc28 keyutils-libs.ppc64le 1.5.10-3.fc27 krb5-libs.ppc64le 1.16-2 libacl.ppc64le 2.2.52-18.fc27 libarchive.ppc64le 3.3.1-3.fc27 libasan.ppc64le 7.2.1-4.fc28 libassuan.ppc64le 2.5.1-1.fc28 libatomic.ppc64le 7.2.1-4.fc28 libatomic_ops.ppc64le 7.4.6-3.fc27 libattr.ppc64le 2.4.47-21.fc27 libbabeltrace.ppc64le 1.5.3-1.fc27 libblkid.ppc64le 2.31-2.fc28 libcap.ppc64le 2.25-7.fc27 libcap-ng.ppc64le 0.7.8-7.fc28 libcom_err.ppc64le 1.43.7-1.fc28 libcrypt.ppc64le 2.26.9000-34.fc28 libcurl.ppc64le 7.57.0-1.fc28 libdb.ppc64le 5.3.28-29.fc28 libdb-utils.ppc64le 5.3.28-29.fc28 libfdisk.ppc64le 2.31-2.fc28 libffi.ppc64le 3.1-14.fc27 libgcc.ppc64le 7.2.1-4.fc28 libgcrypt.ppc64le 1.8.2-1.fc28 libgomp.ppc64le 7.2.1-4.fc28 libgpg-error.ppc64le 1.27-3.fc27 libidn2.ppc64le 2.0.4-1.fc28 libksba.ppc64le 1.3.5-5.fc27 libmetalink.ppc64le 0.1.3-4.fc27 libmount.ppc64le 2.31-2.fc28 libmpc.ppc64le 1.0.2-8.fc27 libnghttp2.ppc64le 1.29.0-1.fc28 libpkgconf.ppc64le 1.3.90-1.fc28 libpsl.ppc64le 0.19.1-1.fc28 libpwquality.ppc64le 1.4.0-4.fc28 libselinux.ppc64le 2.7-6.fc28 libsemanage.ppc64le 2.7-5.fc28 libsepol.ppc64le 2.7-3.fc28 libsigsegv.ppc64le 2.11-3.fc27 libsmartcols.ppc64le 2.31-2.fc28 libssh2.ppc64le 1.8.0-5.fc28 libstdc++.ppc64le 7.2.1-4.fc28 libstdc++-devel.ppc64le 7.2.1-4.fc28 libtasn1.ppc64le 4.12-3.fc27 libtool-ltdl.ppc64le 2.4.6-20.fc27 libubsan.ppc64le 7.2.1-4.fc28 libunistring.ppc64le 0.9.8-1.fc28 libusbx.ppc64le 1.0.21-4.fc27 libutempter.ppc64le 1.1.6-11.fc27 libuuid.ppc64le 2.31-2.fc28 libverto.ppc64le 0.3.0-1.fc28 libxml2.ppc64le 2.9.5-2.fc28 libzstd.ppc64le 1.3.3-1.fc28 lua-libs.ppc64le 5.3.4-7.fc28 lz4-libs.ppc64le 1.8.0-1.fc28 mpfr.ppc64le 3.1.5-5.fc27 ncurses.ppc64le 6.0-15.20171125.fc28 ncurses-base.noarch 6.0-15.20171125.fc28 ncurses-libs.ppc64le 6.0-15.20171125.fc28 nettle.ppc64le 3.4-1.fc28 npth.ppc64le 1.5-3.fc27 nspr.ppc64le 4.17.0-1.fc28 nss.ppc64le 3.34.0-2.fc28 nss-pem.ppc64le 1.0.3-6.fc28 nss-softokn.ppc64le 3.34.0-2.fc28 nss-softokn-freebl.ppc64le 3.34.0-2.fc28 nss-sysinit.ppc64le 3.34.0-2.fc28 nss-util.ppc64le 3.34.0-2.fc28 ocaml-srpm-macros.noarch 5-2.fc27 openblas-srpm-macros.noarch 2-2.fc27 openldap.ppc64le 2.4.45-4.fc28 openssl-libs.ppc64le 1:1.1.0g-2.fc28 p11-kit.ppc64le 0.23.9-2.fc28 p11-kit-trust.ppc64le 0.23.9-2.fc28 pam.ppc64le 1.3.0-6.fc28 pcre.ppc64le 8.41-3.fc28 pcre2.ppc64le 10.30-4.fc28 perl-srpm-macros.noarch 1-24.fc27 pkgconf.ppc64le 1.3.90-1.fc28 pkgconf-m4.noarch 1.3.90-1.fc28 pkgconf-pkg-config.ppc64le 1.3.90-1.fc28 popt.ppc64le 1.16-12.fc28 publicsuffix-list-dafsa.noarch 20171028-1.fc28 python-srpm-macros.noarch 3-24.fc28 python3.ppc64le 3.6.3-4.fc28 python3-libs.ppc64le 3.6.3-4.fc28 python3-pip.noarch 9.0.1-14.fc28 python3-setuptools.noarch 37.0.0-1.fc28 qt5-srpm-macros.noarch 5.9.2-1.fc28 readline.ppc64le 7.0-7.fc27 rpm.ppc64le 4.14.0-5.fc28 rpm-build-libs.ppc64le 4.14.0-5.fc28 rpm-libs.ppc64le 4.14.0-5.fc28 rpm-plugin-selinux.ppc64le 4.14.0-5.fc28 rust-srpm-macros.noarch 4-3.fc27 setup.noarch 2.11.1-1.fc28 sqlite-libs.ppc64le 3.20.1-1.fc28 systemd-libs.ppc64le 236-1.fc28 tzdata.noarch 2017c-1.fc28 xz-libs.ppc64le 5.2.3-5.fc28 zip.ppc64le 3.0-20.fc27 zlib.ppc64le 1.2.11-4.fc27 zstd.ppc64le 1.3.3-1.fc28 Complete! Finish: dnf install Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: Start: buildsrpm Start: rpmbuild -bs sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/swftools-0.9.2-7.fc28.src.rpm Finish: rpmbuild -bs Finish: buildsrpm INFO: Done(/tmp/tmpd7j2jrgs/swftools.spec) Config(child) 1 minutes 24 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running: unbuffer /usr/bin/mock --rebuild /var/lib/copr-rpmbuild/results/swftools-0.9.2-7.fc28.src.rpm --configdir /var/lib/copr-rpmbuild/results/configs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1514557254.299800 -r child WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.3.4 starting (python version = 3.6.3)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(/var/lib/copr-rpmbuild/results/swftools-0.9.2-7.fc28.src.rpm) Config(691911-fedora-rawhide-ppc64le) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/691911-fedora-rawhide-ppc64le-1514557254.299800/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled HW Info plugin Mock Version: 1.3.4 INFO: Mock Version: 1.3.4 Start: dnf update Failed to synchronize cache for repo 'copr_base', disabling. Last metadata expiration check: 0:00:21 ago on Fri 29 Dec 2017 02:21:01 PM UTC. Dependencies resolved. Nothing to do. Complete! Finish: dnf update Finish: chroot init Start: build phase for swftools-0.9.2-7.fc28.src.rpm Start: build setup for swftools-0.9.2-7.fc28.src.rpm sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/swftools-0.9.2-7.fc28.src.rpm Last metadata expiration check: 0:00:00 ago on Fri 29 Dec 2017 02:21:26 PM UTC. Failed to synchronize cache for repo 'copr_base', disabling. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: fftw-devel ppc64le 3.3.5-7.fc27 fedora 133 k fontconfig-devel ppc64le 2.12.91-2.fc28 fedora 141 k giflib-devel ppc64le 4.1.6-19.fc27 fedora 89 k lame-devel ppc64le 3.100-1.fc28 fedora 29 k python2-pillow-devel ppc64le 4.3.0-1.fc28 fedora 29 k zziplib-devel ppc64le 0.13.62-10.fc27 fedora 141 k Installing dependencies: SDL ppc64le 1.2.15-29.fc28 fedora 249 k SDL-devel ppc64le 1.2.15-29.fc28 fedora 360 k aajohan-comfortaa-fonts noarch 3.001-1.fc28 fedora 147 k acl ppc64le 2.2.52-18.fc27 fedora 82 k alsa-lib ppc64le 1.1.5-1.fc28 fedora 486 k alsa-lib-devel ppc64le 1.1.5-1.fc28 fedora 982 k bzip2-devel ppc64le 1.0.6-24.fc27 fedora 223 k cryptsetup-libs ppc64le 2.0.0-1.fc28 fedora 331 k dbus ppc64le 1:1.12.0-1.fc28 fedora 288 k dbus-libs ppc64le 1:1.12.0-1.fc28 fedora 196 k device-mapper ppc64le 1.02.146-1.fc28 fedora 364 k device-mapper-libs ppc64le 1.02.146-1.fc28 fedora 404 k expat-devel ppc64le 2.2.5-1.fc28 fedora 54 k fftw ppc64le 3.3.5-7.fc27 fedora 51 k fftw-libs ppc64le 3.3.5-7.fc27 fedora 13 k fftw-libs-double ppc64le 3.3.5-7.fc27 fedora 642 k fftw-libs-long ppc64le 3.3.5-7.fc27 fedora 875 k fftw-libs-single ppc64le 3.3.5-7.fc27 fedora 643 k fontconfig ppc64le 2.12.91-2.fc28 fedora 283 k fontpackages-filesystem noarch 1.44-19.fc27 fedora 14 k freetype ppc64le 2.8-7.fc28 fedora 421 k freetype-devel ppc64le 2.8-7.fc28 fedora 452 k giflib ppc64le 4.1.6-19.fc27 fedora 48 k gl-manpages noarch 1.1-14.20161227.fc27 fedora 1.2 M iptables-libs ppc64le 1.6.1-5.fc28 fedora 98 k jbigkit-libs ppc64le 2.1-8.fc27 fedora 55 k json-c ppc64le 0.13-5.fc28 fedora 42 k kmod-libs ppc64le 24-3.fc27 fedora 70 k lame-libs ppc64le 3.100-1.fc28 fedora 369 k lcms2 ppc64le 2.9-1.fc28 fedora 180 k libICE ppc64le 1.0.9-11.fc27 fedora 77 k libSM ppc64le 1.2.2-7.fc27 fedora 45 k libX11 ppc64le 1.6.5-5.fc28 fedora 662 k libX11-common noarch 1.6.5-5.fc28 fedora 166 k libX11-devel ppc64le 1.6.5-5.fc28 fedora 984 k libX11-xcb ppc64le 1.6.5-5.fc28 fedora 23 k libXau ppc64le 1.0.8-10.fc28 fedora 34 k libXau-devel ppc64le 1.0.8-10.fc28 fedora 19 k libXdamage ppc64le 1.1.4-11.fc27 fedora 25 k libXdamage-devel ppc64le 1.1.4-11.fc27 fedora 14 k libXext ppc64le 1.3.3-7.fc27 fedora 45 k libXext-devel ppc64le 1.3.3-7.fc27 fedora 79 k libXfixes ppc64le 5.0.3-4.fc27 fedora 24 k libXfixes-devel ppc64le 5.0.3-4.fc27 fedora 17 k libXrandr ppc64le 1.5.1-4.fc27 fedora 32 k libXrandr-devel ppc64le 1.5.1-4.fc27 fedora 25 k libXrender ppc64le 0.9.10-4.fc27 fedora 33 k libXrender-devel ppc64le 0.9.10-4.fc27 fedora 21 k libXxf86vm ppc64le 1.1.4-6.fc27 fedora 22 k libXxf86vm-devel ppc64le 1.1.4-6.fc27 fedora 22 k libargon2 ppc64le 20161029-2.fc28 fedora 30 k libdrm ppc64le 2.4.89-1.fc28 fedora 115 k libdrm-devel ppc64le 2.4.89-1.fc28 fedora 133 k libglvnd ppc64le 1:1.0.0-1.fc28 fedora 89 k libglvnd-core-devel ppc64le 1:1.0.0-1.fc28 fedora 22 k libglvnd-devel ppc64le 1:1.0.0-1.fc28 fedora 13 k libglvnd-egl ppc64le 1:1.0.0-1.fc28 fedora 54 k libglvnd-gles ppc64le 1:1.0.0-1.fc28 fedora 39 k libglvnd-glx ppc64le 1:1.0.0-1.fc28 fedora 135 k libglvnd-opengl ppc64le 1:1.0.0-1.fc28 fedora 48 k libimagequant ppc64le 2.11.4-1.fc28 fedora 66 k libjpeg-turbo ppc64le 1.5.3-1.fc28 fedora 168 k libjpeg-turbo-devel ppc64le 1.5.3-1.fc28 fedora 107 k libpcap ppc64le 14:1.8.1-6.fc27 fedora 159 k libpng ppc64le 2:1.6.34-1.fc28 fedora 139 k libpng-devel ppc64le 2:1.6.34-1.fc28 fedora 328 k libseccomp ppc64le 2.3.2-5.fc27 fedora 68 k libtiff ppc64le 4.0.9-2.fc28 fedora 195 k libuuid-devel ppc64le 2.31-2.fc28 fedora 90 k libwayland-client ppc64le 1.14.0-2.fc28 fedora 38 k libwayland-server ppc64le 1.14.0-2.fc28 fedora 45 k libwebp ppc64le 0.6.1-1.fc28 fedora 253 k libxcb ppc64le 1.12-5.fc27 fedora 235 k libxcb-devel ppc64le 1.12-5.fc27 fedora 1.0 M libxshmfence ppc64le 1.2-6.fc27 fedora 12 k mesa-libEGL ppc64le 17.3.0-0.4.rc3.fc28 fedora 126 k mesa-libGL ppc64le 17.3.0-0.4.rc3.fc28 fedora 192 k mesa-libGL-devel ppc64le 17.3.0-0.4.rc3.fc28 fedora 170 k mesa-libGLU ppc64le 9.0.0-13.fc27 fedora 195 k mesa-libGLU-devel ppc64le 9.0.0-13.fc27 fedora 13 k mesa-libgbm ppc64le 17.3.0-0.4.rc3.fc28 fedora 55 k mesa-libglapi ppc64le 17.3.0-0.4.rc3.fc28 fedora 56 k openjpeg2 ppc64le 2.3.0-3.fc28 fedora 172 k python-rpm-macros noarch 3-24.fc28 fedora 10 k python2 ppc64le 2.7.14-4.fc28 fedora 100 k python2-devel ppc64le 2.7.14-4.fc28 fedora 408 k python2-libs ppc64le 2.7.14-4.fc28 fedora 6.0 M python2-olefile noarch 0.44-4.fc28 fedora 1.1 M python2-pillow ppc64le 4.3.0-1.fc28 fedora 626 k python2-pip noarch 9.0.1-14.fc28 fedora 1.8 M python2-rpm-macros noarch 3-24.fc28 fedora 9.6 k python2-setuptools noarch 37.0.0-1.fc28 fedora 606 k python3-rpm-generators noarch 4.14.0-2.fc28 fedora 25 k qrencode-libs ppc64le 3.4.4-3.fc27 fedora 60 k systemd ppc64le 236-1.fc28 fedora 3.8 M systemd-pam ppc64le 236-1.fc28 fedora 179 k xorg-x11-proto-devel noarch 7.7-24.fc28 fedora 288 k zlib-devel ppc64le 1.2.11-4.fc27 fedora 56 k zziplib ppc64le 0.13.62-10.fc27 fedora 90 k Transaction Summary ================================================================================ Install 105 Packages Total download size: 32 M Installed size: 124 M Downloading Packages: -------------------------------------------------------------------------------- Total 26 MB/s | 32 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running in chroot, ignoring request. Installed: fftw-devel.ppc64le 3.3.5-7.fc27 fontconfig-devel.ppc64le 2.12.91-2.fc28 giflib-devel.ppc64le 4.1.6-19.fc27 lame-devel.ppc64le 3.100-1.fc28 python2-pillow-devel.ppc64le 4.3.0-1.fc28 zziplib-devel.ppc64le 0.13.62-10.fc27 SDL.ppc64le 1.2.15-29.fc28 SDL-devel.ppc64le 1.2.15-29.fc28 aajohan-comfortaa-fonts.noarch 3.001-1.fc28 acl.ppc64le 2.2.52-18.fc27 alsa-lib.ppc64le 1.1.5-1.fc28 alsa-lib-devel.ppc64le 1.1.5-1.fc28 bzip2-devel.ppc64le 1.0.6-24.fc27 cryptsetup-libs.ppc64le 2.0.0-1.fc28 dbus.ppc64le 1:1.12.0-1.fc28 dbus-libs.ppc64le 1:1.12.0-1.fc28 device-mapper.ppc64le 1.02.146-1.fc28 device-mapper-libs.ppc64le 1.02.146-1.fc28 expat-devel.ppc64le 2.2.5-1.fc28 fftw.ppc64le 3.3.5-7.fc27 fftw-libs.ppc64le 3.3.5-7.fc27 fftw-libs-double.ppc64le 3.3.5-7.fc27 fftw-libs-long.ppc64le 3.3.5-7.fc27 fftw-libs-single.ppc64le 3.3.5-7.fc27 fontconfig.ppc64le 2.12.91-2.fc28 fontpackages-filesystem.noarch 1.44-19.fc27 freetype.ppc64le 2.8-7.fc28 freetype-devel.ppc64le 2.8-7.fc28 giflib.ppc64le 4.1.6-19.fc27 gl-manpages.noarch 1.1-14.20161227.fc27 iptables-libs.ppc64le 1.6.1-5.fc28 jbigkit-libs.ppc64le 2.1-8.fc27 json-c.ppc64le 0.13-5.fc28 kmod-libs.ppc64le 24-3.fc27 lame-libs.ppc64le 3.100-1.fc28 lcms2.ppc64le 2.9-1.fc28 libICE.ppc64le 1.0.9-11.fc27 libSM.ppc64le 1.2.2-7.fc27 libX11.ppc64le 1.6.5-5.fc28 libX11-common.noarch 1.6.5-5.fc28 libX11-devel.ppc64le 1.6.5-5.fc28 libX11-xcb.ppc64le 1.6.5-5.fc28 libXau.ppc64le 1.0.8-10.fc28 libXau-devel.ppc64le 1.0.8-10.fc28 libXdamage.ppc64le 1.1.4-11.fc27 libXdamage-devel.ppc64le 1.1.4-11.fc27 libXext.ppc64le 1.3.3-7.fc27 libXext-devel.ppc64le 1.3.3-7.fc27 libXfixes.ppc64le 5.0.3-4.fc27 libXfixes-devel.ppc64le 5.0.3-4.fc27 libXrandr.ppc64le 1.5.1-4.fc27 libXrandr-devel.ppc64le 1.5.1-4.fc27 libXrender.ppc64le 0.9.10-4.fc27 libXrender-devel.ppc64le 0.9.10-4.fc27 libXxf86vm.ppc64le 1.1.4-6.fc27 libXxf86vm-devel.ppc64le 1.1.4-6.fc27 libargon2.ppc64le 20161029-2.fc28 libdrm.ppc64le 2.4.89-1.fc28 libdrm-devel.ppc64le 2.4.89-1.fc28 libglvnd.ppc64le 1:1.0.0-1.fc28 libglvnd-core-devel.ppc64le 1:1.0.0-1.fc28 libglvnd-devel.ppc64le 1:1.0.0-1.fc28 libglvnd-egl.ppc64le 1:1.0.0-1.fc28 libglvnd-gles.ppc64le 1:1.0.0-1.fc28 libglvnd-glx.ppc64le 1:1.0.0-1.fc28 libglvnd-opengl.ppc64le 1:1.0.0-1.fc28 libimagequant.ppc64le 2.11.4-1.fc28 libjpeg-turbo.ppc64le 1.5.3-1.fc28 libjpeg-turbo-devel.ppc64le 1.5.3-1.fc28 libpcap.ppc64le 14:1.8.1-6.fc27 libpng.ppc64le 2:1.6.34-1.fc28 libpng-devel.ppc64le 2:1.6.34-1.fc28 libseccomp.ppc64le 2.3.2-5.fc27 libtiff.ppc64le 4.0.9-2.fc28 libuuid-devel.ppc64le 2.31-2.fc28 libwayland-client.ppc64le 1.14.0-2.fc28 libwayland-server.ppc64le 1.14.0-2.fc28 libwebp.ppc64le 0.6.1-1.fc28 libxcb.ppc64le 1.12-5.fc27 libxcb-devel.ppc64le 1.12-5.fc27 libxshmfence.ppc64le 1.2-6.fc27 mesa-libEGL.ppc64le 17.3.0-0.4.rc3.fc28 mesa-libGL.ppc64le 17.3.0-0.4.rc3.fc28 mesa-libGL-devel.ppc64le 17.3.0-0.4.rc3.fc28 mesa-libGLU.ppc64le 9.0.0-13.fc27 mesa-libGLU-devel.ppc64le 9.0.0-13.fc27 mesa-libgbm.ppc64le 17.3.0-0.4.rc3.fc28 mesa-libglapi.ppc64le 17.3.0-0.4.rc3.fc28 openjpeg2.ppc64le 2.3.0-3.fc28 python-rpm-macros.noarch 3-24.fc28 python2.ppc64le 2.7.14-4.fc28 python2-devel.ppc64le 2.7.14-4.fc28 python2-libs.ppc64le 2.7.14-4.fc28 python2-olefile.noarch 0.44-4.fc28 python2-pillow.ppc64le 4.3.0-1.fc28 python2-pip.noarch 9.0.1-14.fc28 python2-rpm-macros.noarch 3-24.fc28 python2-setuptools.noarch 37.0.0-1.fc28 python3-rpm-generators.noarch 4.14.0-2.fc28 qrencode-libs.ppc64le 3.4.4-3.fc27 systemd.ppc64le 236-1.fc28 systemd-pam.ppc64le 236-1.fc28 xorg-x11-proto-devel.noarch 7.7-24.fc28 zlib-devel.ppc64le 1.2.11-4.fc27 zziplib.ppc64le 0.13.62-10.fc27 Complete! Finish: build setup for swftools-0.9.2-7.fc28.src.rpm Start: rpmbuild swftools-0.9.2-7.fc28.src.rpm Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.f0732l + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf swftools-0.9.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/swftools-0.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd swftools-0.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (swftools-0.9.2-prefix.patch): + echo 'Patch #0 (swftools-0.9.2-prefix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .prefix --fuzz=0 patching file Makefile.common.in patching file src/Makefile.in patching file swfs/Makefile.in Patch #1 (swftools-0.9.2-install.patch): + echo 'Patch #1 (swftools-0.9.2-install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install --fuzz=0 patching file swfs/Makefile.in + chmod -x lib/args.h lib/base64.c lib/base64.h lib/bitio.c lib/bitio.h lib/drawer.c lib/drawer.h lib/gfxdevice.h lib/gfxfilter.c lib/gfxfilter.h lib/gfxfont.c lib/gfxfont.h lib/gfximage.c lib/gfximage.h lib/gfxpoly.h lib/gfxsource.h lib/gfxtools.c lib/gfxtools.h lib/graphcut.c lib/graphcut.h lib/jpeg.c lib/jpeg.h lib/kdtree.c lib/kdtree.h lib/log.c lib/log.h lib/mem.c lib/mem.h lib/mp3.c lib/mp3.h lib/old_rfxswf.h lib/os.c lib/os.h lib/png.c lib/png.h lib/q.c lib/q.h lib/rfxswf.c lib/rfxswf.h lib/ttf.c lib/ttf.h lib/types.h lib/utf8.c lib/utf8.h lib/wav.c lib/wav.h lib/xml.c lib/xml.h lib/action/action.h lib/action/actioncompiler.c lib/action/actioncompiler.h lib/action/assembler.c lib/action/assembler.h lib/action/compile.c lib/action/compile.h lib/action/lex.swf4.c lib/action/lex.swf5.c lib/action/libming.c lib/action/libming.h lib/action/listaction.c lib/action/ming.h lib/action/swf4compiler.tab.c lib/action/swf4compiler.tab.h lib/action/swf5compiler.tab.c lib/action/swf5compiler.tab.h + for file in "AUTHORS" "src"/{jpeg2swf.1,swfstrings.1} + iconv -f ISO-8859-1 -t UTF-8 -o AUTHORS.new AUTHORS + touch -r AUTHORS AUTHORS.new + mv AUTHORS.new AUTHORS + for file in "AUTHORS" "src"/{jpeg2swf.1,swfstrings.1} + iconv -f ISO-8859-1 -t UTF-8 -o src/jpeg2swf.1.new src/jpeg2swf.1 + touch -r src/jpeg2swf.1 src/jpeg2swf.1.new + mv src/jpeg2swf.1.new src/jpeg2swf.1 + for file in "AUTHORS" "src"/{jpeg2swf.1,swfstrings.1} + iconv -f ISO-8859-1 -t UTF-8 -o src/swfstrings.1.new src/swfstrings.1 + touch -r src/swfstrings.1 src/swfstrings.1.new + mv src/swfstrings.1.new src/swfstrings.1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H9Z1CB + umask 022 + cd /builddir/build/BUILD + cd swftools-0.9.2 ++ python-config --includes + export 'PYTHON_INCLUDES=-I/usr/include/python2.7 -I/usr/include/python2.7/Imaging/' + PYTHON_INCLUDES='-I/usr/include/python2.7 -I/usr/include/python2.7/Imaging/' ++ python-config --libs + export 'PYTHON_LIB=-lpython2.7 -lpthread -ldl -lutil -lm' + PYTHON_LIB='-lpython2.7 -lpthread -ldl -lutil -lm' + export 'PYTHON_LIB2=-lpython2.7 -lpthread -ldl -lutil -lm' + PYTHON_LIB2='-lpython2.7 -lpthread -ldl -lutil -lm' + export HAVE_PYTHON_IMAGING_LIB=1 + HAVE_PYTHON_IMAGING_LIB=1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for powerpc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking for powerpc64le-redhat-linux-gnu-g++... no checking for powerpc64le-redhat-linux-gnu-c++... no checking for powerpc64le-redhat-linux-gnu-gpp... no checking for powerpc64le-redhat-linux-gnu-aCC... no checking for powerpc64le-redhat-linux-gnu-CC... no checking for powerpc64le-redhat-linux-gnu-cxx... no checking for powerpc64le-redhat-linux-gnu-cc++... no checking for powerpc64le-redhat-linux-gnu-cl.exe... no checking for powerpc64le-redhat-linux-gnu-FCC... no checking for powerpc64le-redhat-linux-gnu-KCC... no checking for powerpc64le-redhat-linux-gnu-RCC... no checking for powerpc64le-redhat-linux-gnu-xlC_r... no checking for powerpc64le-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether gcc supports lazy variable declaration... yes checking how to run the C preprocessor... gcc -E checking for powerpc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for gzip... gzip checking for target system... checking for sin in -lm... yes checking for deflate in -lz... yes checking for PDF_open_file in -lpdf... no checking for jpeg_write_raw_data in -ljpeg... yes checking for DGifOpen in -lungif... no checking for DGifOpen in -lgif... yes checking for zzip_file_open in -lzzip... yes checking target system type... powerpc64le-redhat-linux-gnu checking for byte order... little endian checking whether system() can handle command substitution... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking gif_lib.h usability... yes checking gif_lib.h presence... yes checking for gif_lib.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for sys/stat.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking sys/bsdtypes.h usability... no checking sys/bsdtypes.h presence... no checking for sys/bsdtypes.h... no checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking pdflib.h usability... no checking pdflib.h presence... no checking for pdflib.h... no checking zzip/lib.h usability... yes checking zzip/lib.h presence... yes checking for zzip/lib.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for boolean... no checking for popen... yes checking for wcschr... yes checking for wcsdup... yes checking for mkstemp... yes checking for stat... yes checking for mmap... yes checking for lrand48... yes checking for rand... yes checking for srand48... yes checking for srand... yes checking for bcopy... yes checking for bzero... yes checking for time... yes checking for getrusage... yes checking for mallinfo... yes checking for open64... yes checking for calloc... yes checking size of signed char... 1 checking size of signed short... 2 checking size of signed... 4 checking size of signed long long... 8 checking size of void*... 8 checking for freetype-config... /usr/bin/freetype-config checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking whether we can compile the freetype test program... yes checking for FcInit in -lfontconfig... yes checking fontconfig.h usability... yes checking fontconfig.h presence... yes checking for fontconfig.h... yes checking whether we can compile the fontconfig test program... yes checking for fftwf_plan_dft_r2c_2d in -lfftw3f... yes checking fftw3.h usability... yes checking fftw3.h presence... yes checking for fftw3.h... yes checking whether we can compile the fftw3 test program... no checking for lame_init in -lmp3lame... yes checking lame.h usability... yes checking lame.h presence... yes checking for lame.h... yes checking whether the filesystem normalizes file names... no checking for avifile-config... no checking whether we can compile the avifile test program... no checking for ruby... no checking for ruby's include directory... 'unknown' checking ruby.h usability... no checking ruby.h presence... no checking for ruby.h... no checking whether we should compile the ruby module... no checking for missing libraries... checking for Python version... 2.7 checking for Python executable... python2.7 checking whether we can compile the Python test program... yes checking for Python install path... /usr/lib/python2.7/site-packages checking for Python-Imaging... yes configure: creating ./config.status config.status: creating Makefile.common config.status: WARNING: 'Makefile.common.in' seems to ignore the --datarootdir setting config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/action/Makefile config.status: creating src/Makefile config.status: creating lib/pdf/Makefile config.status: creating swfs/Makefile config.status: creating lib/python/Makefile config.status: creating lib/readers/Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -j2 making all in m4... cd m4;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/m4' make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/m4' making all in lib... cd lib;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib' gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfaction.c -o modules/swfaction.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfbits.c -o modules/swfbits.o modules/swfaction.c: In function 'swf_DumpActions': modules/swfaction.c:434:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] printf(" Float:%f", *(float*)&f); ^~~~~~ modules/swfaction.c: In function 'action_PushFloat': modules/swfaction.c:1031:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] U32 fd = *(U32*)&f; ^~~ At top level: modules/swfaction.c:665:18: warning: 'lastATAG' defined but not used [-Wunused-function] static ActionTAG*lastATAG(ActionTAG*atag) ^~~~~~~~ modules/swfbits.c: In function 'swf_ImageGetNumberOfPaletteEntries': modules/swfbits.c:125:7: warning: unused variable 'col' [-Wunused-variable] RGBA col = img[t]; ^~~ modules/swfbits.c: In function 'tag_term_source': modules/swfbits.c:570:10: warning: unused variable 'tag' [-Wunused-variable] TAG *tag = (TAG *) cinfo->client_data; ^~~ modules/swfbits.c: In function 'swf_SetLosslessImage': modules/swfbits.c:901:6: warning: unused variable 'len' [-Wunused-variable] int len = width*height; ^~~ modules/swfbits.c: In function 'swf_DefineLosslessBitsTagToImage': modules/swfbits.c:942:16: warning: unused variable 'data2' [-Wunused-variable] U8 *data, *data2; ^~~~~ modules/swfbits.c:934:21: warning: unused variable 'datalen2' [-Wunused-variable] uLongf datalen, datalen2; ^~~~~~~~ modules/swfbits.c: In function 'swf_SetJPEGBits3': modules/swfbits.c:1061:9: warning: unused variable 'res' [-Wunused-variable] int res = 0; ^~~ modules/swfbits.c: In function 'swf_ExtractImage': modules/swfbits.c:1207:11: warning: unused variable 'img' [-Wunused-variable] RGBA *img; ^~~ At top level: modules/swfbits.c:564:16: warning: 'tag_resync_to_restart' defined but not used [-Wunused-function] static boolean tag_resync_to_restart(struct jpeg_decompress_struct *cinfo, int desired) ^~~~~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfbutton.c -o modules/swfbutton.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfcgi.c -o modules/swfcgi.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfdraw.c -o modules/swfdraw.o modules/swfcgi.c: In function 'swf_cgienv': modules/swfcgi.c:93:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] { for (s = c+1; s[0] && isspace(s[0]); s++); ^~~ modules/swfcgi.c:94:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' t = c + 1; ^ modules/swfdraw.c: In function 'swf_ShapeDrawerSetLineStyle': modules/swfdraw.c:78:20: warning: unused variable 'sdraw' [-Wunused-variable] SWFSHAPEDRAWER*sdraw = (SWFSHAPEDRAWER*)draw->internal; ^~~~~ modules/swfdraw.c: In function 'swf_ShapeDrawerSetFillStyle': modules/swfdraw.c:82:20: warning: unused variable 'sdraw' [-Wunused-variable] SWFSHAPEDRAWER*sdraw = (SWFSHAPEDRAWER*)draw->internal; ^~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfdump.c -o modules/swfdump.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swffilter.c -o modules/swffilter.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swffont.c -o modules/swffont.o modules/swffilter.c: In function 'swf_SetFilter': modules/swffilter.c:17:14: warning: unused variable 'f' [-Wunused-variable] FILTER_GLOW*f = (FILTER_GLOW*)filter; ^ modules/swffilter.c: In function 'swf_GetFilter': modules/swffilter.c:63:12: warning: unused variable 'filter' [-Wunused-variable] FILTER*filter; ^~~~~~ modules/swffont.c: In function 'isSWF': modules/swffont.c:572:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(a, 4, 1, fi); ^~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfobject.c -o modules/swfobject.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfrender.c -o modules/swfrender.o modules/swfrender.c: In function 'swf_RenderShape': modules/swfrender.c:477:20: warning: unused variable 'qparts' [-Wunused-variable] int c,t,parts,qparts; ^~~~~~ modules/swfrender.c:410:24: warning: unused variable 'i' [-Wunused-variable] renderbuf_internal*i = (renderbuf_internal*)dest->internal; ^ modules/swfrender.c: In function 'fill_gradient': modules/swfrender.c:664:6: warning: unused variable 's' [-Wunused-variable] int s; ^ modules/swfrender.c: In function 'swf_Render': modules/swfrender.c:1016:13: warning: unused variable 'a' [-Wunused-variable] int r,g,b,a; ^ modules/swfrender.c:1016:11: warning: unused variable 'b' [-Wunused-variable] int r,g,b,a; ^ modules/swfrender.c:1016:9: warning: unused variable 'g' [-Wunused-variable] int r,g,b,a; ^ modules/swfrender.c:1016:7: warning: unused variable 'r' [-Wunused-variable] int r,g,b,a; ^ modules/swfrender.c:1010:10: warning: unused variable 'n' [-Wunused-variable] int n; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfshape.c -o modules/swfshape.o At top level: modules/swfrender.c:528:13: warning: 'color_black' defined but not used [-Wunused-variable] static RGBA color_black = {255,0,0,0}; ^~~~~~~~~~~ modules/swfshape.c: In function 'swf_ParseDefineShape': modules/swfshape.c:1067:5: warning: unused variable 'flags' [-Wunused-variable] U8 flags = swf_GetU8(tag); // flags, &1: contains scaling stroke, &2: contains non-scaling stroke ^~~~~ modules/swfshape.c:1045:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] SHAPELINE*l; ^ modules/swfshape.c:1043:18: warning: variable 'id' set but not used [-Wunused-but-set-variable] int num = 0, id; ^~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfsound.c -o modules/swfsound.o modules/swfsound.c: In function 'swf_SetSoundStreamHead': modules/swfsound.c:143:9: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ modules/swfsound.c: In function 'swf_SetSoundStreamBlock': modules/swfsound.c:184:73: warning: pointer targets in passing argument 5 of 'lame_encode_buffer' differ in signedness [-Wpointer-sign] len += lame_encode_buffer(lame_flags, samples, samples, numsamples, &buf[len], bufsize-len); ^ In file included from modules/swfsound.c:98:0: /usr/include/lame/lame.h:716:11: note: expected 'unsigned char *' but argument is of type 'char *' int CDECL lame_encode_buffer ( ^~~~~~~~~~~~~~~~~~ modules/swfsound.c:185:48: warning: pointer targets in passing argument 2 of 'lame_encode_flush_nogap' differ in signedness [-Wpointer-sign] len += lame_encode_flush_nogap(lame_flags, &buf[len], bufsize-len); ^ In file included from modules/swfsound.c:98:0: /usr/include/lame/lame.h:897:11: note: expected 'unsigned char *' but argument is of type 'char *' int CDECL lame_encode_flush_nogap( ^~~~~~~~~~~~~~~~~~~~~~~ modules/swfsound.c:186:23: warning: pointer targets in passing argument 2 of 'swf_SetBlock' differ in signedness [-Wpointer-sign] swf_SetBlock(tag, buf, len); ^~~ In file included from modules/swfsound.c:26:0: modules/../rfxswf.h:228:7: note: expected 'const U8 * {aka const unsigned char *}' but argument is of type 'char *' int swf_SetBlock(TAG * t,const U8 * b,int l); ^~~~~~~~~~~~ modules/swfsound.c: In function 'swf_SetSoundDefine': modules/swfsound.c:226:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] swf_SetU32(tag, (int)(tag,blocks*blocksize / ^ modules/swfsound.c:240:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pos= &samples[t*blocksize]; ^ modules/swfsound.c:241:40: warning: pointer targets in passing argument 2 of 'lame_encode_buffer' differ in signedness [-Wpointer-sign] len += lame_encode_buffer(lame_flags, pos, pos, blocksize, &buf[len], bufsize-len); ^~~ In file included from modules/swfsound.c:98:0: /usr/include/lame/lame.h:716:11: note: expected 'const short int *' but argument is of type 'U16 * {aka short unsigned int *}' int CDECL lame_encode_buffer ( ^~~~~~~~~~~~~~~~~~ modules/swfsound.c:241:45: warning: pointer targets in passing argument 3 of 'lame_encode_buffer' differ in signedness [-Wpointer-sign] len += lame_encode_buffer(lame_flags, pos, pos, blocksize, &buf[len], bufsize-len); ^~~ In file included from modules/swfsound.c:98:0: /usr/include/lame/lame.h:716:11: note: expected 'const short int *' but argument is of type 'U16 * {aka short unsigned int *}' int CDECL lame_encode_buffer ( ^~~~~~~~~~~~~~~~~~ modules/swfsound.c:241:61: warning: pointer targets in passing argument 5 of 'lame_encode_buffer' differ in signedness [-Wpointer-sign] len += lame_encode_buffer(lame_flags, pos, pos, blocksize, &buf[len], bufsize-len); ^ In file included from modules/swfsound.c:98:0: /usr/include/lame/lame.h:716:11: note: expected 'unsigned char *' but argument is of type 'char *' int CDECL lame_encode_buffer ( ^~~~~~~~~~~~~~~~~~ modules/swfsound.c:242:45: warning: pointer targets in passing argument 2 of 'lame_encode_flush_nogap' differ in signedness [-Wpointer-sign] len += lame_encode_flush_nogap(lame_flags, &buf[len], bufsize-len); ^ In file included from modules/swfsound.c:98:0: /usr/include/lame/lame.h:897:11: note: expected 'unsigned char *' but argument is of type 'char *' int CDECL lame_encode_flush_nogap( ^~~~~~~~~~~~~~~~~~~~~~~ modules/swfsound.c:243:20: warning: pointer targets in passing argument 2 of 'swf_SetBlock' differ in signedness [-Wpointer-sign] swf_SetBlock(tag, buf, len); ^~~ In file included from modules/swfsound.c:26:0: modules/../rfxswf.h:228:7: note: expected 'const U8 * {aka const unsigned char *}' but argument is of type 'char *' int swf_SetBlock(TAG * t,const U8 * b,int l); ^~~~~~~~~~~~ modules/swfsound.c:238:6: warning: unused variable 's' [-Wunused-variable] int s; ^ modules/swfsound.c:205:9: warning: unused variable 'oldlen' [-Wunused-variable] int oldlen=0,len = 0; ^~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swftext.c -o modules/swftext.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swftools.c -o modules/swftools.o modules/swftext.c: In function 'swf_FontExtract_DefineFont2': modules/swftext.c:256:16: warning: variable 'langcode' set but not used [-Wunused-but-set-variable] U8 flags1, langcode, namelen; ^~~~~~~~ modules/swftext.c: In function 'swf_FontExtract_DefineTextCallback': modules/swftext.c:440:9: warning: variable 'cid' set but not used [-Wunused-but-set-variable] U16 cid; ^~~ modules/swftext.c: In function 'cmp_chars': modules/swftext.c:846:9: warning: unused variable 'y' [-Wunused-variable] int y = *(const int*)b; ^ modules/swftext.c:845:9: warning: unused variable 'x' [-Wunused-variable] int x = *(const int*)a; ^ modules/swftext.c: In function 'swf_FontFree': modules/swftext.c:1310:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; i < f->numchars; i++) ^~~ modules/swftext.c:1316:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' rfx_free(f->glyph); ^~~~~~~~ modules/swftext.c: In function 'swf_SetDefineText': modules/swftext.c:1612:9: warning: unused variable 'pos' [-Wunused-variable] int pos = 0; ^~~ modules/swftext.c: In function 'swf_FontCreateLayout': modules/swftext.c:1688:9: warning: unused variable 'leading' [-Wunused-variable] S16 leading = 0; ^~~~~~~ modules/swftext.c: In function 'swf_WriteFont': modules/swftext.c:1858:6: warning: unused variable 'xpos' [-Wunused-variable] int*xpos = rfx_calloc(sizeof(int)*(font->numchars+1)); ^~~~ At top level: modules/swftext.c:842:17: warning: 'font_to_sort' defined but not used [-Wunused-variable] static SWFFONT* font_to_sort; ^~~~~~~~~~~~ modules/swftools.c: In function 'swf_GetDefineBBox': modules/swftools.c:150:7: warning: variable 'id' set but not used [-Wunused-but-set-variable] U16 id = 0; ^~ modules/swftools.c: In function 'swf_GetPlaceID': modules/swftools.c:209:11: warning: unused variable 'd' [-Wunused-variable] U16 d = swf_GetU16(t); ^ modules/swftools.c:215:11: warning: unused variable 'd' [-Wunused-variable] U16 d = swf_GetU16(t); ^ modules/swftools.c:214:10: warning: unused variable 'flags2' [-Wunused-variable] U8 flags2 = swf_GetU8(t); ^~~~~~ modules/swftools.c: In function 'swf_GetDepth': modules/swftools.c:347:10: warning: unused variable 'flags' [-Wunused-variable] { U8 flags = swf_GetU8(t); ^~~~~ modules/swftools.c:352:10: warning: unused variable 'flags2' [-Wunused-variable] U8 flags2 = swf_GetU8(t); ^~~~~~ modules/swftools.c:351:10: warning: unused variable 'flags' [-Wunused-variable] { U8 flags = swf_GetU8(t); ^~~~~ modules/swftools.c: In function 'enumerateUsedIDs': modules/swftools.c:709:7: warning: variable 'offset' set but not used [-Wunused-but-set-variable] int offset; ^~~~~~ modules/swftools.c:735:10: warning: unused variable 'blendmode' [-Wunused-variable] U8 blendmode = swf_GetU8(tag); ^~~~~~~~~ modules/swftools.c:742:16: warning: variable 'flags2' set but not used [-Wunused-but-set-variable] U8 flags1,flags2; ^~~~~~ modules/swftools.c:756:10: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id; ^~ modules/swftools.c: In function 'tagHash': modules/swftools.c:1233:12: warning: unused variable 'h' [-Wunused-variable] int t, h=0; ^ modules/swftools.c: In function 'swf_SetDefineBBox': modules/swftools.c:1335:9: warning: variable 'id' set but not used [-Wunused-but-set-variable] U16 id = 0; ^~ modules/swftools.c: In function 'swf_Relocate': modules/swftools.c:1047:22: warning: 'newid' may be used uninitialized in this function [-Wmaybe-uninitialized] id = slaveids[id] = newid; ~~~~~~~~~~~~~^~~~~~~ modules/swftools.c:1032:8: warning: 'newid' may be used uninitialized in this function [-Wmaybe-uninitialized] int newid; ^~~~~ modules/swftools.c:1000:10: warning: 'newid' may be used uninitialized in this function [-Wmaybe-uninitialized] int newid; ^~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 modules/swfalignzones.c -o modules/swfalignzones.o In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'posqueue_notempty': modules/../graphcut.c:103:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)queue->list; ^ modules/../graphcut.c: In function 'graphcut_workspace_delete': modules/../graphcut.c:175:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(w->flags1) free(w->flags1);w->flags1=0; ^~ modules/../graphcut.c:175:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(w->flags1) free(w->flags1);w->flags1=0; ^ modules/../graphcut.c:176:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(w->flags2) free(w->flags2);w->flags2=0; ^~ modules/../graphcut.c:176:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(w->flags2) free(w->flags2);w->flags2=0; ^ modules/../graphcut.c:177:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(w->back) free(w->back);w->back=0; ^~ modules/../graphcut.c:177:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(w->back) free(w->back);w->back=0; ^ modules/../graphcut.c: In function 'extract_path': modules/../graphcut.c:218:10: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:218:10: assert(p!=old); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c:237:22: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:237:22: assert(mytree[NR(p)]&IN_TREE); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c:239:19: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:239:19: assert(dir->node == p); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c:246:12: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:246:12: assert(!t); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c:252:25: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:252:25: assert(othertree[NR(p)]&IN_TREE); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c:266:14: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:266:14: assert(t == len1+len2+1); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c:209:12: warning: unused variable 'nodes' [-Wunused-variable] node_t*nodes = work->graph->nodes; ^~~~~ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'path_print': modules/../graphcut.c:287:57: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:287:57: assert(( path->firsthalf[t] && path->dir[t]->used) || modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'expand_pos': modules/../graphcut.c:315:9: warning: unused variable 'dir' [-Wunused-variable] int dir; ^~~ modules/../graphcut.c:314:13: warning: unused variable 'graph' [-Wunused-variable] graph_t*graph = w->graph; ^~~~~ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'decrease_weights': modules/../graphcut.c:386:16: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:386:16: assert(path->length); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c:38:19: warning: statement with no effect [-Wunused-value] #define assert(x) (x) ^ modules/../graphcut.c:394:5: note: in expansion of macro 'assert' assert(min); ^~~~~~ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'reconnect': modules/../graphcut.c:407:13: warning: unused variable 'graph' [-Wunused-variable] graph_t*graph = w->graph; ^~~~~ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'combust_tree': modules/../graphcut.c:500:23: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:500:23: assert(newpos == newpos2); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c:471:13: warning: unused variable 'graph' [-Wunused-variable] graph_t*graph = w->graph; ^~~~~ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'check_graph': modules/../graphcut.c:524:23: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:524:23: assert(g->nodes[t].nr==t); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c:527:22: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:527:22: assert(!e->used || !e->fwd->used); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ modules/../graphcut.c: In function 'graph_reset': modules/../graphcut.c:538:23: warning: statement with no effect [-Wunused-value] modules/../graphcut.c:38:19: #define assert(x) (x) ~~~ modules/../graphcut.c:538:23: assert(g->nodes[t].nr==t); modules/../graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ In file included from modules/swfalignzones.c:2:0: modules/../graphcut.c: In function 'graph_maxflow': modules/../graphcut.c:563:19: warning: unused variable 'done2' [-Wunused-variable] char done1=0,done2=0; ^~~~~ modules/../graphcut.c:563:11: warning: unused variable 'done1' [-Wunused-variable] char done1=0,done2=0; ^~~~~ modules/../graphcut.c: In function 'do_dfs': modules/../graphcut.c:630:9: warning: unused variable 't' [-Wunused-variable] int t; ^ At top level: modules/../graphcut.c:301:13: warning: 'myassert' defined but not used [-Wunused-function] static void myassert(graphcut_workspace_t*w, char assertion, const char*file, int line, const char*func) ^~~~~~~~ modules/swftext.c: In function 'swf_WriteFont_AS3': modules/swftext.c:1787:18: warning: 'tag' is used uninitialized in this function [-Wuninitialized] swf.firstTag = tag = swf_InsertTag(tag, ST_DEFINEFONT3); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 rfxswf.c -o rfxswf.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 drawer.c -o drawer.o rfxswf.c: In function 'swf_SetD64': rfxswf.c:509:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] swf_SetU32(tag, ((U32*)&v)[0]); ^~~~~~~~~~ rfxswf.c: In function 'swf_WriteCGI': rfxswf.c:1888:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fileno(stdout),s,strlen(s)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawer.c: In function 'approximate3': drawer.c:241:18: warning: unused variable 'gran' [-Wunused-variable] unsigned int gran = 0; ^~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 h.263/dct.c -o h.263/dct.o h.263/dct.c: In function 'dct': h.263/dct.c:48:17: warning: unused variable 't' [-Wunused-variable] int x,y,u,v,t; ^ h.263/dct.c: In function 'dct2': h.263/dct.c:165:11: warning: unused variable 'x' [-Wunused-variable] int u,x,v,t; ^ h.263/dct.c:165:9: warning: unused variable 'u' [-Wunused-variable] int u,x,v,t; ^ h.263/dct.c:164:12: warning: unused variable 'p' [-Wunused-variable] double*p; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 h.263/h263tables.c -o h.263/h263tables.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 h.263/swfvideo.c -o h.263/swfvideo.o h.263/swfvideo.c: In function 'getmvdregion': h.263/swfvideo.c:131:17: warning: unused variable 'uvposy' [-Wunused-variable] int uvposx, uvposy; ^~~~~~ h.263/swfvideo.c:131:9: warning: unused variable 'uvposx' [-Wunused-variable] int uvposx, uvposy; ^~~~~~ h.263/swfvideo.c: In function 'copy_block_pic': h.263/swfvideo.c:297:14: warning: unused variable 'yy' [-Wunused-variable] int u,v,yy; ^~ h.263/swfvideo.c:297:12: warning: unused variable 'v' [-Wunused-variable] int u,v,yy; ^ h.263/swfvideo.c:297:10: warning: unused variable 'u' [-Wunused-variable] int u,v,yy; ^ h.263/swfvideo.c: In function 'coefbits8x8': h.263/swfvideo.c:497:9: warning: unused variable 't' [-Wunused-variable] int t; ^ h.263/swfvideo.c: In function 'encode8x8': h.263/swfvideo.c:543:9: warning: unused variable 't' [-Wunused-variable] int t; ^ In file included from h.263/swfvideo.c:24:0: h.263/swfvideo.c: In function 'setQuant': h.263/swfvideo.c:746:10: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] assert(0*strlen("invalid dquant")); ^ h.263/swfvideo.c:746:10: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] assert(0*strlen("invalid dquant")); ~^~~~~~~~~~~~~~~~~~~~~~~~~ h.263/swfvideo.c:733:9: warning: unused variable 'code' [-Wunused-variable] int code = 0; ^~~~ h.263/swfvideo.c: In function 'predictmvd': h.263/swfvideo.c:773:15: warning: unused variable 'p' [-Wunused-variable] int x4,y4,p; ^ h.263/swfvideo.c:771:12: warning: unused variable 'i2' [-Wunused-variable] int i1,i2; ^~ h.263/swfvideo.c:771:9: warning: unused variable 'i1' [-Wunused-variable] int i1,i2; ^~ h.263/swfvideo.c: In function 'prepareIBlock': h.263/swfvideo.c:877:21: warning: unused variable 'ctable' [-Wunused-variable] struct huffcode*ctable; ^~~~~~ h.263/swfvideo.c:875:13: warning: unused variable 'b' [-Wunused-variable] block_t b; ^ h.263/swfvideo.c: In function 'writeIBlock': h.263/swfvideo.c:918:13: warning: unused variable 'b' [-Wunused-variable] block_t b; ^ h.263/swfvideo.c: In function 'writeMVDBlock': h.263/swfvideo.c:1066:9: warning: unused variable 't' [-Wunused-variable] int t; ^ At top level: h.263/swfvideo.c:750:13: warning: 'change_quant' defined but not used [-Wunused-function] static void change_quant(int quant, int*dquant) ^~~~~~~~~~~~ h.263/swfvideo.c:731:13: warning: 'setQuant' defined but not used [-Wunused-function] static void setQuant(TAG*tag, int dquant) ^~~~~~~~ h.263/swfvideo.c:275:13: warning: 'yuv2rgb' defined but not used [-Wunused-function] static void yuv2rgb(RGBA*dest, YUV*src, int linex, int width, int height) ^~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/assembler.c -o action/assembler.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/compile.c -o action/compile.o action/compile.c: In function 'bufferWriteDataAndPush': action/compile.c:268:23: warning: 'pushd' may be used uninitialized in this function [-Wmaybe-uninitialized] a->pushloc = a->pos - pushd; ^ action/compile.c: In function 'bufferConcat': action/compile.c:277:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] int len; ^~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/lex.swf4.c -o action/lex.swf4.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/lex.swf5.c -o action/lex.swf5.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/libming.c -o action/libming.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/swf4compiler.tab.c -o action/swf4compiler.tab.o swf4compiler.y: In function 'swf4parse': swf4compiler.y:397:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:404:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:472:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:483:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:641:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:652:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:666:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:671:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:672:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:677:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:682:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:688:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:693:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:701:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:703:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:705:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:707:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:719:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:726:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:728:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:730:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:732:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:744:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:751:50: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:883:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:888:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:903:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:911:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:917:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:920:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:922:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/swf5compiler.tab.c -o action/swf5compiler.tab.o swf4compiler.y:930:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:933:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:935:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:975:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:984:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:986:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:997:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:999:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:1010:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:1012:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:1023:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf4compiler.y:1025:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y: In function 'swf5parse': swf5compiler.y:435:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:440:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:555:27: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:587:27: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:651:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:656:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:665:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:672:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:679:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:737:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:748:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:842:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:928:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:943:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:1017:43: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:1025:43: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:1204:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:1210:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:1358:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:1373:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ swf5compiler.y:1379:39: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10:0: action/compile.h:133:5: note: expected 'byte * {aka unsigned char *}' but argument is of type 'char *' int bufferWriteString(Buffer out, byte *string, int length); ^~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 action/actioncompiler.c -o action/actioncompiler.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/abc.c -o as3/abc.o In file included from as3/abc.c:27:0: as3/abc.c: In function 'params_dump': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:46:13: note: in expansion of macro 'list_length' int n = list_length(l); ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:47:14: note: in expansion of macro 'list_length' int no = list_length(o); ^~~~~~~~~~~ as3/abc.c: In function 'abc_class_add_interface': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:159:5: note: in expansion of macro 'list_append' list_append(c->interfaces, multiname_clone(interface)); ^~~~~~~~~~~ as3/abc.c: In function 'trait_new_member': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:247:22: note: in expansion of macro 'list_length' trait->slot_id = list_length(*traits)+1; ^~~~~~~~~~~ as3/abc.c:248:18: warning: unused variable 'l' [-Wunused-variable] trait_list_t*l = *traits; ^ In file included from as3/abc.c:27:0: as3/abc.c: In function 'trait_new_method': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:265:22: note: in expansion of macro 'list_length' trait->slot_id = list_length(*traits)+1; ^~~~~~~~~~~ as3/abc.c: In function 'abc_class_method': as3/abc.c:272:16: warning: unused variable 'file' [-Wunused-variable] abc_file_t*file = cls->file; ^~~~ as3/abc.c: In function 'abc_class_staticmethod': as3/abc.c:279:16: warning: unused variable 'file' [-Wunused-variable] abc_file_t*file = cls->file; ^~~~ as3/abc.c: In function 'abc_class_slot': as3/abc.c:287:16: warning: unused variable 'file' [-Wunused-variable] abc_file_t*file = cls->file; ^~~~ as3/abc.c: In function 'abc_class_staticslot': as3/abc.c:295:16: warning: unused variable 'file' [-Wunused-variable] abc_file_t*file = cls->file; ^~~~ In file included from as3/abc.c:27:0: as3/abc.c: In function 'abc_method_body_addClassTrait': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:322:5: note: in expansion of macro 'list_append' list_append(code->traits, trait); ^~~~~~~~~~~ as3/abc.c:318:16: warning: unused variable 'file' [-Wunused-variable] abc_file_t*file = code->file; ^~~~ In file included from as3/abc.c:27:0: as3/abc.c: In function 'abc_initscript_addClassTrait': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:331:18: note: in expansion of macro 'list_length' int slotid = list_length(script->traits)+1; ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:334:5: note: in expansion of macro 'list_append' list_append(script->traits, trait); ^~~~~~~~~~~ as3/abc.c:329:16: warning: unused variable 'file' [-Wunused-variable] abc_file_t*file = script->file; ^~~~ In file included from as3/abc.c:27:0: as3/abc.c: In function 'dump_method': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:370:47: note: in expansion of macro 'list_length' fprintf(fo, "(%d params, %d optional)\n", list_length(m->parameters), list_length(m->optional_parameters)); ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:370:75: note: in expansion of macro 'list_length' fprintf(fo, "(%d params, %d optional)\n", list_length(m->parameters), list_length(m->optional_parameters)); ^~~~~~~~~~~ as3/abc.c: In function 'traits_free': as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/abc.c:425:5: note: in expansion of macro 'list_free' list_free(traits); ^~~~~~~~~ as3/abc.c: In function 'traits_parse': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:445:2: note: in expansion of macro 'list_append' list_append(traits, trait); ^~~~~~~~~~~ as3/abc.c:469:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] DEBUG printf(" class %s %d %p\n", name, trait->slot_id, (int)trait->cls); ^ as3/abc.c:469:35: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'int' [-Wformat=] DEBUG printf(" class %s %d %p\n", name, trait->slot_id, (int)trait->cls); ~^ ~~~~~~~~~~~~~~~ %d In file included from as3/abc.c:27:0: as3/abc.c: In function 'traits_write': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:523:21: note: in expansion of macro 'list_length' swf_SetU30(tag, list_length(traits)); ^~~~~~~~~~~ as3/abc.c:524:9: warning: unused variable 's' [-Wunused-variable] int s; ^ as3/abc.c: In function 'traits_dump': as3/abc.c:605:10: warning: unused variable 'slot_id' [-Wunused-variable] int slot_id = trait->slot_id; ^~~~~~~ as3/abc.c:566:9: warning: unused variable 't' [-Wunused-variable] int t; ^ as3/abc.c: In function 'swf_DumpABC': as3/abc.c:677:18: warning: statement with no effect [-Wunused-value] ilist->next; ~~~~~^~~~~~ In file included from as3/abc.c:27:0: as3/abc.c: In function 'swf_ReadABC': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:767:13: note: in expansion of macro 'list_append' list_append(m->parameters, param); ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:790:17: note: in expansion of macro 'list_append' list_append(m->optional_parameters, c); ^~~~~~~~~~~ as3/abc.c:798:21: warning: unused variable 'name' [-Wunused-variable] const char*name = pool_lookup_string(pool, swf_GetU30(tag)); ^~~~ In file included from as3/abc.c:27:0: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:831:13: note: in expansion of macro 'list_append' list_append(cls->interfaces, m); ^~~~~~~~~~~ as3/abc.c:849:6: warning: unused variable 'init' [-Wunused-variable] int init = swf_GetU30(tag); ^~~~ In file included from as3/abc.c:27:0: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/abc.c:894:13: note: in expansion of macro 'list_append' list_append(c->exceptions, e); ^~~~~~~~~~~ as3/abc.c:917:13: warning: unused variable 'ns' [-Wunused-variable] const char*ns = ""; ^~ In file included from as3/abc.c:27:0: as3/abc.c: In function 'writeABC': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:1058:26: note: in expansion of macro 'list_length' int num_params = list_length(m->parameters); ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:1084:29: note: in expansion of macro 'list_length' swf_SetU30(tag, list_length(m->optional_parameters)); ^~~~~~~~~~~ as3/abc.c:1064:6: warning: unused variable 's' [-Wunused-variable] int s; ^ as3/abc.c:1056:13: warning: unused variable 'n' [-Wunused-variable] int n = 0; ^ In file included from as3/abc.c:27:0: as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:1131:25: note: in expansion of macro 'list_length' swf_SetU30(tag, list_length(c->interfaces)); ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:1173:25: note: in expansion of macro 'list_length' int param_num = list_length(c->method->parameters)+1; ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/abc.c:1187:18: note: in expansion of macro 'list_length' swf_SetU30(tag, list_length(c->exceptions)); ^~~~~~~~~~~ as3/abc.c: In function 'abc_file_free': as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/abc.c:1263:9: note: in expansion of macro 'list_free' list_free(m->parameters);m->parameters=0; ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/abc.c:1270:9: note: in expansion of macro 'list_free' list_free(m->optional_parameters);m->optional_parameters=0; ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/abc.c:1299:9: note: in expansion of macro 'list_free' list_free(cls->interfaces);cls->interfaces=0; ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/abc.c:1329:9: note: in expansion of macro 'list_free' list_free(body->exceptions);body->exceptions=0; ^~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/pool.c -o as3/pool.o In file included from as3/pool.h:27:0, from as3/pool.c:25: as3/pool.c: In function 'namespace_set_clone': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/pool.c:336:9: note: in expansion of macro 'list_append' list_append(set->namespaces, namespace_clone(l->namespace)); ^~~~~~~~~~~ as3/pool.c: In function 'namespace_set_destroy': as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/pool.c:388:9: note: in expansion of macro 'list_free' list_free(set->namespaces); ^~~~~~~~~ as3/pool.c: In function 'pool_find_namespace': as3/pool.c:969:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, "Couldn't find namespace \"%s\" %p in constant pool\n", s, (int)ns); ^ as3/pool.c:969:58: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'int' [-Wformat=] fprintf(stderr, "Couldn't find namespace \"%s\" %p in constant pool\n", s, (int)ns); ~^ ~~~~~~~ %d In file included from as3/pool.h:27:0, from as3/pool.c:25: as3/pool.c: In function 'pool_read': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/pool.c:1158:13: note: in expansion of macro 'list_append' list_append(nsset->namespaces, namespace_clone(ns)); ^~~~~~~~~~~ as3/pool.c:1203:17: warning: unused variable 'v3' [-Wunused-variable] int v3 = swf_GetU30(tag); //multiname ^~ as3/pool.c:1202:17: warning: unused variable 'v2' [-Wunused-variable] int v2 = swf_GetU30(tag); //counter? ^~ In file included from as3/pool.h:27:0, from as3/pool.c:25: as3/pool.c: In function 'pool_write': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/pool.c:1346:19: note: in expansion of macro 'list_length' int len = list_length(i); ^~~~~~~~~~~ as3/pool.c: In function 'pool_destroy': as3/pool.c:1394:9: warning: unused variable 't' [-Wunused-variable] int t; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/files.c -o as3/files.o as3/files.c: In function 'normalize_path': as3/files.c:145:14: warning: unused variable 'c' [-Wunused-variable] char*c = getcwd(buf,512); ^ At top level: as3/files.c:196:13: warning: 'testnormalize' defined but not used [-Wunused-function] static void testnormalize() ^~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/opcodes.c -o as3/opcodes.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/code.c -o as3/code.o In file included from as3/code.h:27:0, from as3/code.c:25: as3/code.c: In function 'code_parse': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/code.c:369:21: note: in expansion of macro 'list_append' list_append(l->targets, (code_t*)(ptroff_t)swf_GetS24(tag)); ^~~~~~~~~~~ as3/code.c: In function 'code_free': as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/code.c:453:17: note: in expansion of macro 'list_free' list_free(l->targets);l->targets=0; ^~~~~~~~~ as3/code.c:459:28: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(c, 0, sizeof(c)); ^ In file included from as3/code.h:27:0, from as3/code.c:25: as3/code.c: In function 'opcode_write': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/code.c:572:20: note: in expansion of macro 'list_length' if(list_length(t)) { ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/code.c:573:42: note: in expansion of macro 'list_length' len+=swf_SetU30(tag, list_length(t)-1); //nr-1 ^~~~~~~~~~~ as3/code.c: In function 'code_write': as3/code.c:612:17: warning: unused variable 'skip' [-Wunused-variable] int skip = 0; ^~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/registry.c -o as3/registry.o as3/code.c: In function 'code_dump2': as3/code.c:989:39: warning: unused variable 'b' [-Wunused-variable] abc_method_body_t*b = (abc_method_body_t*)data; ^ as3/code.c:948:18: warning: variable 'first' set but not used [-Wunused-but-set-variable] char first = 1; ^~~~~ as3/code.c:926:7: warning: unused variable 'found' [-Wunused-variable] char found = 0; ^~~~~ In file included from as3/code.h:27:0, from as3/code.c:25: as3/code.c: In function 'lookupswitch_dup': as3/../q.h:303:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_clone(list) (sizeof((list)->next),(list?list_clone_(&(list)):0)) ^ as3/code.c:1144:18: note: in expansion of macro 'list_clone' n->targets = list_clone(l->targets); ^~~~~~~~~~ At top level: as3/code.c:669:13: warning: 'dumpstack' defined but not used [-Wunused-function] static void dumpstack(currentstats_t*stats) ^~~~~~~~~ In file included from as3/pool.h:27:0, from as3/registry.c:25: as3/registry.c: In function 'registry_add_asset': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/registry.c:121:5: note: in expansion of macro 'list_append' list_append(assets, bundle); ^~~~~~~~~~~ as3/registry.c: In function 'schedule_for_resolve': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/registry.c:149:5: note: in expansion of macro 'list_append' list_append(unresolved, s); ^~~~~~~~~~~ as3/registry.c: In function 'classinfo_to_multiname': as3/registry.c:400:17: warning: unused variable 'm' [-Wunused-variable] multiname_t*m=0; ^ as3/registry.c: At top level: as3/registry.c:540:25: warning: missing braces around initializer [-Wmissing-braces] classinfo_t nullclass = { ^ INFOTYPE_CLASS,0,0,ACCESS_PACKAGE, "", "null", 0, 0, 0 { }; } as3/registry.c:546:25: warning: missing braces around initializer [-Wmissing-braces] classinfo_t voidclass = { ^ INFOTYPE_CLASS,0,0,ACCESS_PACKAGE, "", "void", 0, 0, 0 { }; } as3/registry.c: In function 'slotinfo_dump': as3/registry.c:579:21: warning: unused variable 'c' [-Wunused-variable] classinfo_t*c = (classinfo_t*)s; ^ as3/registry.c:590:22: warning: unused variable 'm' [-Wunused-variable] methodinfo_t*m = (methodinfo_t*)s; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/builtin.c -o as3/builtin.o as3/builtin.c:4032:64: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] static constant_t flash_utils_flash_proxy_constant = {type: 8, &flash_utils_flash_proxy_constant_ns}; ^ as3/builtin.c:4032:64: note: (near initialization for 'flash_utils_flash_proxy_constant..s') as3/builtin.c:4032:54: warning: missing braces around initializer [-Wmissing-braces] static constant_t flash_utils_flash_proxy_constant = {type: 8, &flash_utils_flash_proxy_constant_ns}; ^ { } as3/builtin.c:5469:45: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] static constant_t _AS3_constant = {type: 8, &_AS3_constant_ns}; ^ as3/builtin.c:5469:45: note: (near initialization for '_AS3_constant..s') as3/builtin.c:5469:35: warning: missing braces around initializer [-Wmissing-braces] static constant_t _AS3_constant = {type: 8, &_AS3_constant_ns}; ^ { } gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/tokenizer.yy.c -o as3/tokenizer.yy.o tokenizer.yy.c:3436:17: warning: 'yyunput' defined but not used [-Wunused-function] gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/parser.tab.c -o as3/parser.tab.o In file included from as3/abc.h:27:0, from parser.y:27: parser.y: In function 'state_has_imports': as3/../q.h:303:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_clone(list) (sizeof((list)->next),(list?list_clone_(&(list)):0)) ^ parser.y:857:35: note: in expansion of macro 'list_clone' parser.y: In function 'get_descendants': parser.y:1846:14: warning: unused variable 'w' [-Wunused-variable] In file included from as3/tokenizer.h:27:0, from parser.y:31: parser.y: In function 'resolve_identifier': as3/registry.h:209:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define TYPE_FUNCTION(f) ((f)->return_type,slotinfo_asclass((slotinfo_t*)(f))) ^ parser.y:2068:10: note: in expansion of macro 'TYPE_FUNCTION' as3/registry.h:211:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define TYPE_CLASS(f) ((f)->superclass,slotinfo_asclass((slotinfo_t*)(f))) ^ parser.y:2114:23: note: in expansion of macro 'TYPE_CLASS' In file included from as3/abc.h:27:0, from parser.y:27: parser.y: In function 'add_active_url': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:2180:9: note: in expansion of macro 'list_append' parser.y: In function 'a3_parse': parser.y:437:9: warning: unused variable 'index' [-Wunused-variable] In file included from as3/tokenizer.h:27:0, from parser.y:31: as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) ^ parser.y:698:19: note: in expansion of macro 'sig2mname' In file included from as3/abc.h:27:0, from parser.y:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:729:67: note: in expansion of macro 'list_append' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:730:55: note: in expansion of macro 'list_append' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:736:9: note: in expansion of macro 'list_append' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:744:9: note: in expansion of macro 'list_append' as3/../q.h:299:30: warning: statement with no effect [-Wunused-value] #define list_concat(l1, l2) {sizeof((l1)->next);sizeof((l2)->next);list_concat_(&(l1),&(l2));} ^ parser.y:790:5: note: in expansion of macro 'list_concat' as3/../q.h:299:49: warning: statement with no effect [-Wunused-value] #define list_concat(l1, l2) {sizeof((l1)->next);sizeof((l2)->next);list_concat_(&(l1),&(l2));} ^ parser.y:790:5: note: in expansion of macro 'list_concat' parser.y:767:9: warning: unused variable 'count' [-Wunused-variable] In file included from as3/abc.h:27:0, from parser.y:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:906:8: note: in expansion of macro 'list_append' as3/../q.h:302:31: warning: statement with no effect [-Wunused-value] #define list_deep_free(list) {sizeof((list)->next);list_deep_free_(&(list));} ^ parser.y:994:5: note: in expansion of macro 'list_deep_free' In file included from as3/tokenizer.h:27:0, from parser.y:31: as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ parser.y:1106:13: note: in expansion of macro 'MULTINAME' In file included from as3/abc.h:27:0, from parser.y:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:1289:5: note: in expansion of macro 'list_append' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:1295:5: note: in expansion of macro 'list_append' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:1302:5: note: in expansion of macro 'list_append' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:1307:5: note: in expansion of macro 'list_append' as3/../q.h:302:31: warning: statement with no effect [-Wunused-value] #define list_deep_free(list) {sizeof((list)->next);list_deep_free_(&(list));} ^ parser.y:1343:5: note: in expansion of macro 'list_deep_free' In file included from as3/tokenizer.h:27:0, from parser.y:31: as3/registry.h:209:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define TYPE_FUNCTION(f) ((f)->return_type,slotinfo_asclass((slotinfo_t*)(f))) ^ parser.y:1365:23: note: in expansion of macro 'TYPE_FUNCTION' In file included from as3/abc.h:27:0, from parser.y:27: as3/../q.h:302:31: warning: statement with no effect [-Wunused-value] #define list_deep_free(list) {sizeof((list)->next);list_deep_free_(&(list));} ^ parser.y:1367:12: note: in expansion of macro 'list_deep_free' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:1411:47: note: in expansion of macro 'list_append' as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ parser.y:1412:70: note: in expansion of macro 'list_append' In file included from as3/tokenizer.h:27:0, from parser.y:31: as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ parser.y:1466:9: note: in expansion of macro 'MULTINAME' parser.y:1572:17: warning: unused variable 'name' [-Wunused-variable] In file included from as3/tokenizer.h:27:0, from parser.y:31: as3/registry.h:136:8: warning: value computed is not used [-Wunused-value] (x)->package; \ ~~~^~~ parser.y:2218:9: note: in expansion of macro 'MULTINAME' parser.y:788:20: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] parser.y:762:9: note: 'tmp' was declared here parser.y:508:23: warning: 'myjmp' may be used uninitialized in this function [-Wmaybe-uninitialized] parser.y:499:12: note: 'myjmp' was declared here gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/scripts.c -o as3/scripts.o In file included from as3/abc.h:27:0, from as3/scripts.c:25: as3/scripts.c: In function 'swf_AddButtonLinks': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/scripts.c:140:17: note: in expansion of macro 'list_append' list_append(h->method->parameters, multiname_fromstring("flash.events::MouseEvent")); ^~~~~~~~~~~ as3/scripts.c:99:18: warning: variable 'needs_framescript' set but not used [-Wunused-but-set-variable] char needs_framescript=0; ^~~~~~~~~~~~~~~~~ as3/scripts.c:212:25: warning: unused variable 's' [-Wunused-variable] multiname_t*s = multiname_fromstring(buttonname); ^ as3/scripts.c:45:19: warning: unused variable 'h' [-Wunused-variable] unsigned char h[16]; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/compiler.c -o as3/compiler.o as3/compiler.c: In function 'as3_schedule_directory': as3/compiler.c:250:22: warning: unused variable 'type' [-Wunused-variable] char type = 0; ^~~~ as3/compiler.c: In function 'schedule_class': as3/compiler.c:310:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/import.c -o as3/import.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/expr.c -o as3/expr.o In file included from as3/abc.h:27:0, from as3/import.c:23: as3/import.c: In function 'as3_import_swf2': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/import.c:79:6: note: in expansion of macro 'list_append' list_append(asset_bundles, a); ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/import.c:97:4: note: in expansion of macro 'list_append' list_append(a->dependencies, other); ^~~~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/import.c:110:5: note: in expansion of macro 'list_free' list_free(asset_bundles); ^~~~~~~~~ as3/import.c: In function 'catalog_data': as3/import.c:165:21: warning: unused variable 'state' [-Wunused-variable] catalog_state_t*state = (catalog_state_t*)c->internal; ^~~~~ In file included from as3/abc.h:27:0, from as3/import.c:23: as3/import.c: In function 'import_code': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/import.c:312:71: note: in expansion of macro 'list_length' classinfo_t*c = classinfo_register(access, package, name, list_length(i)); ^~~~~~~~~~~ as3/import.c:436:18: warning: unused variable 'np' [-Wunused-variable] char np = 0; ^~ as3/import.c: In function 'as3_import_file': as3/import.c:243:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(head, 3, 1, fi); ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_plus_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:347:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:347:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_minus_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:411:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:411:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_multiply_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:752:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:752:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_div_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:785:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:785:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_mod_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:818:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:818:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_lt_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:851:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:851:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_gt_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:884:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:884:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_le_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:917:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:917:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_ge_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:950:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:950:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_eqeq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:983:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:983:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_eqeqeq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1016:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1016:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_noteqeq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1050:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1050:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_noteq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1084:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1084:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_not_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1209:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1209:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitnot_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1242:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1242:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitand_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1275:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1275:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitxor_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1308:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1308:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitor_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1341:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1341:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shr_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1374:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1374:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shl_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1407:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1407:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_ushr_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1440:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1440:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_in_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1473:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1473:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_as_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1513:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1513:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_instanceof_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1546:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1546:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_is_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1579:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1579:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_arraylookup_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1621:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1621:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' EXEC_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_typeof_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1654:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1654:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_void_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1686:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1686:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_neg_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1724:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] code_t*c=0;\ ^ as3/expr.c:1724:5: note: in expansion of macro 'EXEC_HEADER_ONE' EXEC_HEADER_ONE; ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_muleq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1766:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_modeq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1810:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shleq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1846:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1882:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_ushreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1918:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_diveq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1954:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitoreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:1990:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitxoreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:2026:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitandeq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:2062:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_pluseq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:2103:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_minuseq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:2149:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_assign_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] classinfo_t*t=0; ^ as3/expr.c:2190:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' READ_HEADER_LEFTRIGHT; ^~~~~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/parser_help.c -o as3/parser_help.o as3/parser_help.c: In function 'find_variable': as3/parser_help.c:94:17: warning: unused variable 'top' [-Wunused-variable] state_t*top = s; ^~~ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'defaultvalue': as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/parser_help.c:144:8: note: in expansion of macro 'MULTINAME' MULTINAME(m, type); ^~~~~~~~~ as3/parser_help.c: In function 'var_block': as3/parser_help.c:213:9: warning: unused variable 't' [-Wunused-variable] int t; ^ In file included from as3/state.h:4:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'method_header': as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/parser_help.c:324:5: note: in expansion of macro 'list_free' list_free(m->innerfunctions); ^~~~~~~~~ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'innerfunctions2vars': as3/registry.h:209:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define TYPE_FUNCTION(f) ((f)->return_type,slotinfo_asclass((slotinfo_t*)(f))) ^ as3/parser_help.c:421:69: note: in expansion of macro 'TYPE_FUNCTION' variable_t* v = new_variable2(state->method, m->info->name, TYPE_FUNCTION(m->info), 0, 0); ^~~~~~~~~~~~~ In file included from as3/state.h:4:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'startclass': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_length(list) (sizeof((list)->next),list_length_(list)) ^ as3/parser_help.c:552:31: note: in expansion of macro 'list_length' int num_interfaces = (list_length(implements)); ^~~~~~~~~~~ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/parser_help.c:587:9: note: in expansion of macro 'MULTINAME' MULTINAME(classname2,state->cls->info); ^~~~~~~~~ as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) ^ as3/parser_help.c:588:32: note: in expansion of macro 'sig2mname' multiname_t*extends2 = sig2mname(extends); ^~~~~~~~~ as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/parser_help.c:603:13: note: in expansion of macro 'MULTINAME' MULTINAME(m, mlist->classinfo); ^~~~~~~~~ In file included from as3/state.h:4:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:608:9: note: in expansion of macro 'list_append' list_append(global->classes, state->cls->dependencies); ^~~~~~~~~~~ as3/parser_help.c:501:18: warning: unused variable 't' [-Wunused-variable] token_list_t*t=0; ^ In file included from as3/state.h:4:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'innerfunction': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:841:13: note: in expansion of macro 'list_append' list_append(parent_method->innerfunctions, state->method); ^~~~~~~~~~~ as3/parser_help.c: In function 'insert_unresolved': as3/parser_help.c:918:24: warning: unused variable 'v' [-Wunused-variable] variable_t*v; ^ as3/parser_help.c:915:13: warning: unused variable 't' [-Wunused-variable] int t; ^ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'endfunction': as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) ^ as3/parser_help.c:988:29: note: in expansion of macro 'sig2mname' multiname_t*type2 = sig2mname(return_type); ^~~~~~~~~ as3/parser_help.c:1009:21: warning: unused variable 't' [-Wunused-variable] trait_t*t = trait_new_method(&global->init->traits, multiname_clone(&mname), f); ^ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) ^ as3/parser_help.c:1027:29: note: in expansion of macro 'sig2mname' multiname_t*m = sig2mname(p->param->type); ^~~~~~~~~ In file included from as3/state.h:4:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:1028:13: note: in expansion of macro 'list_append' list_append(f->parameters, m); ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:1031:23: note: in expansion of macro 'list_append' opt=1;list_append(f->optional_parameters, p->param->value); ^~~~~~~~~~~ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) ^ as3/parser_help.c:1040:40: note: in expansion of macro 'sig2mname' multiname_t*type = sig2mname(v->type); ^~~~~~~~~ as3/parser_help.c:989:13: warning: variable 'slot' set but not used [-Wunused-but-set-variable] int slot = 0; ^~~~ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'converttype': as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/parser_help.c:1104:5: note: in expansion of macro 'MULTINAME' MULTINAME(m, to); ^~~~~~~~~ as3/parser_help.c: In function 'coerce_to_type': as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/parser_help.c:1181:9: note: in expansion of macro 'MULTINAME' MULTINAME(m, t); ^~~~~~~~~ In file included from as3/state.h:4:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'get_current_imports': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:1209:5: note: in expansion of macro 'list_append' list_append(searchlist, namespace_new_package(state->package)); ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:1214:9: note: in expansion of macro 'list_append' list_append(searchlist, ns); ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:1217:5: note: in expansion of macro 'list_append' list_append(searchlist, namespace_new_package("")); ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:1218:5: note: in expansion of macro 'list_append' list_append(searchlist, namespace_new_package(internal_filename_package)); ^~~~~~~~~~~ In file included from as3/state.h:6:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'push_class': as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/parser_help.c:1275:9: note: in expansion of macro 'MULTINAME' MULTINAME(m, a); ^~~~~~~~~ as3/registry.h:209:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define TYPE_FUNCTION(f) ((f)->return_type,slotinfo_asclass((slotinfo_t*)(f))) ^ as3/parser_help.c:1280:19: note: in expansion of macro 'TYPE_FUNCTION' x.t = TYPE_FUNCTION(f); ^~~~~~~~~~~~~ as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/parser_help.c:1298:13: note: in expansion of macro 'MULTINAME' MULTINAME(m, c); ^~~~~~~~~ as3/registry.h:211:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define TYPE_CLASS(f) ((f)->superclass,slotinfo_asclass((slotinfo_t*)(f))) ^ as3/parser_help.c:1301:15: note: in expansion of macro 'TYPE_CLASS' x.t = TYPE_CLASS(c); ^~~~~~~~~~ In file included from as3/state.h:4:0, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/parser_help.c: In function 'insert_finally_lookup': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/parser_help.c:1361:12: note: in expansion of macro 'list_append' list_append(l->targets, target); ^~~~~~~~~~~ as3/parser_help.c:1366:15: warning: unused variable 'f' [-Wunused-variable] code_t*j,*f; ^ as3/parser_help.c:1366:12: warning: unused variable 'j' [-Wunused-variable] code_t*j,*f; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/state.c -o as3/state.o In file included from as3/state.h:4:0, from as3/state.c:1: as3/state.c: In function 'new_state': as3/../q.h:303:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define list_clone(list) (sizeof((list)->next),(list?list_clone_(&(list)):0)) ^ as3/state.c:28:40: note: in expansion of macro 'list_clone' state->active_namespace_urls = list_clone(oldstate->active_namespace_urls); ^~~~~~~~~~ as3/state.c: In function 'state_destroy': as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/state.c:34:9: note: in expansion of macro 'list_free' list_free(state->wildcard_imports); ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/state.c:44:5: note: in expansion of macro 'list_free' list_free(state->active_namespace_urls) ^~~~~~~~~ as3/state.c: In function 'methodstate_destroy': as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] #define list_free(list) {sizeof((list)->next);list_free_(&(list));} ^ as3/state.c:79:5: note: in expansion of macro 'list_free' list_free(m->innerfunctions);m->innerfunctions=0; ^~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/common.c -o as3/common.o as3/common.c: In function 'as3_error': as3/common.c:36:9: warning: unused variable 'l' [-Wunused-variable] int l; ^ as3/common.c: In function 'as3_warning': as3/common.c:51:9: warning: unused variable 'l' [-Wunused-variable] int l; ^ as3/common.c: In function 'as3_softwarning': as3/common.c:64:9: warning: unused variable 'l' [-Wunused-variable] int l; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/initcode.c -o as3/initcode.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3/assets.c -o as3/assets.o In file included from as3/initcode.c:29:0: as3/initcode.c: In function 'initcode_add_classlist': as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] (x)->package; \ ~~~^~~ as3/initcode.c:217:9: note: in expansion of macro 'MULTINAME' MULTINAME(classname2,cls); ^~~~~~~~~ as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) ^ as3/initcode.c:232:30: note: in expansion of macro 'sig2mname' multiname_t*s2 = sig2mname(s); ^~~~~~~~~ as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) ^ as3/initcode.c:242:32: note: in expansion of macro 'sig2mname' multiname_t*extends2 = sig2mname(cls->superclass); ^~~~~~~~~ In file included from as3/abc.h:27:0, from as3/assets.h:3, from as3/assets.c:4: as3/assets.c: In function 'swf_ParseAssets': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/assets.c:49:3: note: in expansion of macro 'list_append' list_append(asset->tags, t); ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} ^ as3/assets.c:57:3: note: in expansion of macro 'list_append' list_append(asset->tags, t); ^~~~~~~~~~~ as3/assets.c: In function 'swf_ResolveAssets': as3/assets.c:84:9: warning: unused variable 'num' [-Wunused-variable] int num = assets->name2asset->num; ^~~ cd pdf;/usr/bin/make libgfxpdf make[2]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib/pdf' g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf VectorGraphicOutputDev.cc -o VectorGraphicOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 q.c -o q.o q.c: In function 'up': q.c:279:9: warning: unused variable 'tmp' [-Wunused-variable] int tmp = node; ^~~ q.c: In function '_trie_dump': q.c:511:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("%s%s %08x\n", buffer, t->rest, (int)t->data); ^ q.c: In function 'stringarray_init': q.c:826:9: warning: unused variable 't' [-Wunused-variable] int t; ^ q.c: In function 'stringarray_put': q.c:836:9: warning: unused variable 'pos' [-Wunused-variable] int pos; ^~~ q.c: In function 'stringarray_find': q.c:900:9: warning: unused variable 't' [-Wunused-variable] int t; ^ q.c: In function 'dict_dump': q.c:1174:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(fi, "%s%08x=%08x\n", prefix, (int)e->key, (int)e->data); ^ q.c:1174:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(fi, "%s%08x=%08x\n", prefix, (int)e->key, (int)e->data); ^ q.c:1176:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(fi, "%s%s=%08x\n", prefix, (char*)e->key, (int)e->data); ^ q.c: In function 'dict_foreach_keyvalue': q.c:1323:25: warning: unused variable 'next' [-Wunused-variable] dictentry_t*next = e->next; ^~~~ q.c: In function 'dict_foreach_value': q.c:1337:25: warning: unused variable 'next' [-Wunused-variable] dictentry_t*next = e->next; ^~~~ q.c: In function 'map_put': q.c:1455:14: warning: unused variable 's' [-Wunused-variable] string_t s; ^ q.c: In function 'map_dump': q.c:1477:9: warning: unused variable 't' [-Wunused-variable] int t; ^ At top level: q.c:1068:12: warning: 'max' defined but not used [-Wunused-function] static int max(int x, int y) { ^~~ VectorGraphicOutputDev.cc: In function 'void gfxPath_dump(GfxPath*)': VectorGraphicOutputDev.cc:170:9: warning: unused variable 'cpos' [-Wunused-variable] int cpos=0; ^~~~ VectorGraphicOutputDev.cc: In member function 'virtual void VectorGraphicOutputDev::beginPage(GfxState*, int)': VectorGraphicOutputDev.cc:855:16: warning: unused variable 'black' [-Wunused-variable] gfxcolor_t black = {255,0,0,0}; ^~~~~ VectorGraphicOutputDev.cc: In function 'void drawimage(gfxdevice_t*, gfxcolor_t*, int, int, double, double, double, double, double, double, double, double, int, int)': VectorGraphicOutputDev.cc:1034:16: warning: unused variable 'newpic' [-Wunused-variable] gfxcolor_t*newpic=0; ^~~~~~ VectorGraphicOutputDev.cc:1036:12: warning: unused variable 'l1' [-Wunused-variable] double l1 = sqrt((x4-x1)*(x4-x1) + (y4-y1)*(y4-y1)); ^~ VectorGraphicOutputDev.cc:1037:12: warning: unused variable 'l2' [-Wunused-variable] double l2 = sqrt((x2-x1)*(x2-x1) + (y2-y1)*(y2-y1)); ^~ VectorGraphicOutputDev.cc: In member function 'void VectorGraphicOutputDev::drawGeneralImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, GBool, GBool, int, int*, Stream*, int, int, GBool, GfxImageColorMap*)': VectorGraphicOutputDev.cc:1308:11: warning: unused variable 'n' [-Wunused-variable] int n = 1 << colorMap->getBits(); ^ VectorGraphicOutputDev.cc: At global scope: VectorGraphicOutputDev.cc:1620:22: warning: 'unsigned char clampU8(unsigned char, unsigned char, unsigned char)' defined but not used [-Wunused-function] static unsigned char clampU8(unsigned char c, unsigned char min, unsigned char max) ^~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 base64.c -o base64.o base64.c: In function 'write_base64': base64.c:31:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] const unsigned char*end = b + strlen(b); ^ In file included from base64.c:22:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ base64.c:61:65: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(stderr, "internal error in base64 implementation (%d)\n", end-b); ~^ ~~~~~ %ld gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 utf8.c -o utf8.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 png.c -o png.o png.c: In function 'png_get_dword': png.c:80:18: warning: unused variable 'a' [-Wunused-variable] unsigned int a; ^ png.c: In function 'png_load': png.c:529:7: warning: unused variable 't' [-Wunused-variable] int t; ^ png.c:584:6: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ png.c:583:8: warning: unused variable 's' [-Wunused-variable] int i,s=0; ^ png.c:583:6: warning: unused variable 'i' [-Wunused-variable] int i,s=0; ^ png.c:623:6: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ png.c:622:8: warning: unused variable 's' [-Wunused-variable] int i,s=0; ^ png.c:622:6: warning: unused variable 'i' [-Wunused-variable] int i,s=0; ^ png.c:738:11: warning: unused variable 't' [-Wunused-variable] int t; ^ png.c:733:7: warning: unused variable 'bitpos' [-Wunused-variable] int bitpos = 0; ^~~~~~ png.c:676:8: warning: unused variable 'x' [-Wunused-variable] int i,x,y; ^ png.c:481:20: warning: unused variable 'scanline' [-Wunused-variable] unsigned char *scanline; ^~~~~~~~ png.c: In function 'png_patch_len': png.c:1013:10: warning: unused variable 'filepos' [-Wunused-variable] long filepos; ^~~~~~~ png.c: In function 'png_find_best_filter': png.c:1443:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!pairs[i][p]&b) { ^~~~~~~~~~~~ png.c: In function 'png_write_palette_based2': png.c:1633:6: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ png.c:1539:9: warning: unused variable 'tmp32' [-Wunused-variable] u32 tmp32; ^~~~~ png.c:1538:9: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ png.c:1537:9: warning: unused variable 'pos' [-Wunused-variable] int pos = 0; ^~~ png.c:1532:19: warning: unused variable 'tmp' [-Wunused-variable] unsigned char tmp; ^~~ png.c:1529:9: warning: unused variable 'crc' [-Wunused-variable] int crc; ^~~ png.c: In function 'png_read_header': png.c:102:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(head2,8,1,fi); ^~~~~~~~~~~~~~~~~~~ At top level: png.c:1074:12: warning: 'test_line' defined but not used [-Wunused-function] static int test_line(z_stream*zs_orig, Bytef*line, int linelen) ^~~~~~~~~ png.c:770:13: warning: 'hasAlpha' defined but not used [-Wunused-function] static char hasAlpha(unsigned char*_image, int size) ^~~~~~~~ png.c:78:21: warning: 'png_get_dword' defined but not used [-Wunused-function] static unsigned int png_get_dword(FILE*fi) ^~~~~~~~~~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf BitmapOutputDev.cc -o BitmapOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ BitmapOutputDev.cc: In function 'void update_bitmap(SplashBitmap*, SplashBitmap*, int, int, int, int, char)': BitmapOutputDev.cc:514:10: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ BitmapOutputDev.cc:503:9: warning: unused variable 'size' [-Wunused-variable] int size = (y2-y1)*width8; ^~~~ BitmapOutputDev.cc: In function 'void clearBooleanBitmap(SplashBitmap*, int, int, int, int)': BitmapOutputDev.cc:554:6: warning: unused variable 'width' [-Wunused-variable] int width = btm->getWidth(); ^~~~~ BitmapOutputDev.cc:555:6: warning: unused variable 'height' [-Wunused-variable] int height = btm->getHeight(); ^~~~~~ BitmapOutputDev.cc: In member function 'GBool BitmapOutputDev::clip0and1differ(int, int, int, int)': BitmapOutputDev.cc:811:15: warning: unused variable 'clip0' [-Wunused-variable] SplashBitmap*clip0 = clip0bitmap; ^~~~~ BitmapOutputDev.cc:812:15: warning: unused variable 'clip1' [-Wunused-variable] SplashBitmap*clip1 = clip1bitmap; ^~~~~ BitmapOutputDev.cc: In member function 'GBool BitmapOutputDev::intersection(SplashBitmap*, SplashBitmap*, int, int, int, int)': BitmapOutputDev.cc:925:6: warning: unused variable 't' [-Wunused-variable] int t; ^ BitmapOutputDev.cc:926:16: warning: unused variable 'c' [-Wunused-variable] unsigned char c=0; ^ BitmapOutputDev.cc:933:13: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ BitmapOutputDev.cc: In function 'char area_is_plain_colored(GfxState*, SplashBitmap*, SplashBitmap*, int, int, int, int)': BitmapOutputDev.cc:1469:19: warning: unused variable 'bits' [-Wunused-variable] unsigned char*bits = (unsigned char*)boolpoly->getDataPtr() ^~~~ BitmapOutputDev.cc: In function 'void getGlyphBbox(GfxState*, SplashOutputDev*, double, double, double, double, CharCode, int*, int*, int*, int*)': BitmapOutputDev.cc:1635:17: warning: unused variable 'matrix' [-Wunused-variable] SplashCoord*matrix = font->getMatrix(); ^~~~~~ BitmapOutputDev.cc: At global scope: BitmapOutputDev.cc:588:13: warning: 'void getBitmapBBox(SplashBitmap*, int*, int*, int*, int*)' defined but not used [-Wunused-function] static void getBitmapBBox(SplashBitmap*b, int*xmin, int*ymin, int*xmax, int*ymax) ^~~~~~~~~~~~~ png.c: In function 'png_load': png.c:716:37: warning: 'alphacolor[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] if(rgba[i].r == alphacolor[0] && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rgba[i].g == alphacolor[1] && ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ rgba[i].b == alphacolor[2]) ~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c:715:37: warning: 'alphacolor[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] if(rgba[i].r == alphacolor[0] && ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ rgba[i].g == alphacolor[1] && ~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c:715:9: warning: 'alphacolor[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] if(rgba[i].r == alphacolor[0] && ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 jpeg.c -o jpeg.o jpeg.c: In function 'mem_fill_input_buffer': jpeg.c:280:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("fill %d\n", size - mgr->bytes_in_buffer); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld jpeg.c: In function 'mem_skip_input_data': jpeg.c:287:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("skip %d +%ld\n", size - mgr->bytes_in_buffer, num_bytes); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld jpeg.c: In function 'mem_resync_to_restart': jpeg.c:297:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] printf("resync %d\n", size - mgr->bytes_in_buffer); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld jpeg.c: In function 'mem_term_source': jpeg.c:305:29: warning: unused variable 'mgr' [-Wunused-variable] struct jpeg_source_mgr* mgr = cinfo->src; ^~~ jpeg.c: In function 'jpeg_load_from_mem': jpeg.c:332:27: warning: statement with no effect [-Wunused-value] cinfo.out_color_space == JCS_RGB; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ jpeg.c: In function 'jpeg_load': jpeg.c:369:28: warning: unused variable 'mgr' [-Wunused-variable] struct jpeg_source_mgr mgr; ^~~ At top level: jpeg.c:19:12: warning: 'pos' defined but not used [-Wunused-variable] static int pos; ^~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 wav.c -o wav.o wav.c: In function 'getWAVBlock': wav.c:34:18: warning: unused variable 'size' [-Wunused-variable] unsigned int size; ^~~~ wav.c: In function 'wav_read': wav.c:120:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ wav.c:144:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' pos+=block.size; ^~~ wav.c: In function 'wav_convert2mono': wav.c:210:9: warning: unused variable 'pos2' [-Wunused-variable] int pos2 = 0; ^~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 mp3.c -o mp3.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -DSWFTOOLS_DATADIR=\"/usr/share/swftools\" os.c -o os.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 bitio.c -o bitio.o bitio.c: In function 'reader_fileread': bitio.c:73:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int ret = read((int)reader->internal, data, len); ^ bitio.c: In function 'reader_init_filereader': bitio.c:94:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r->internal = (void*)handle; ^ bitio.c: In function 'writer_growmemwrite_reset': bitio.c:306:20: warning: unused variable 'mw' [-Wunused-variable] growmemwrite_t*mw = (growmemwrite_t*)w->internal; ^~ bitio.c: In function 'writer_zlibdeflate_finish': bitio.c:612:14: warning: variable 'output' set but not used [-Wunused-but-set-variable] writer_t*output; ^~~~~~ bitio.c: In function 'reader_readFloat': bitio.c:789:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(float*)&w; ^~~~~~ bitio.c: In function 'reader_readDouble': bitio.c:800:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(double*)&w; ^~~~~~ bitio.c: In function 'read_compressed_uint': bitio.c:822:19: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] u = u<<7|b&0x7f; ~^~~~~ bitio.c: In function 'read_compressed_int': bitio.c:842:19: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] i = i<<7|b&0x7f; ~^~~~~ bitio.c: In function 'writer_writeFloat': bitio.c:883:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] unsigned v = *(unsigned*)&f; ^~~~~~~~ bitio.c: In function 'writer_writeDouble': bitio.c:898:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] unsigned long long v = *(unsigned long long*)&f; ^~~~~~~~ bitio.c: In function 'write_compressed_int': bitio.c:945:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>7)&0x7f|0x80); ~~~~~~^~~~~ bitio.c:948:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>14)&0x7f|0x80); ~~~~~~~^~~~~ bitio.c:949:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>7)&0x7f|0x80); ~~~~~~^~~~~ bitio.c:952:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>21)&0x7f|0x80); ~~~~~~~^~~~~ bitio.c:953:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>14)&0x7f|0x80); ~~~~~~~^~~~~ bitio.c:954:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>7)&0x7f|0x80); ~~~~~~^~~~~ bitio.c:957:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>28)&0x7f|0x80); ~~~~~~~^~~~~ bitio.c:958:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>21)&0x7f|0x80); ~~~~~~~^~~~~ bitio.c:959:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>14)&0x7f|0x80); ~~~~~~~^~~~~ bitio.c:960:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writer_writeU8(w, (i>>7)&0x7f|0x80); ~~~~~~^~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf FullBitmapOutputDev.cc -o FullBitmapOutputDev.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 log.c -o log.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ log.c: In function 'log_str': log.c:102:9: warning: unused variable 'tbuffer' [-Wunused-variable] char tbuffer[9]; ^~~~~~~ log.c:101:9: warning: unused variable 'dbuffer' [-Wunused-variable] char dbuffer[9]; ^~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 mem.c -o mem.o FullBitmapOutputDev.cc:41:20: warning: 'splash_black' defined but not used [-Wunused-variable] static SplashColor splash_black = {0,0,0}; ^~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 xml.c -o xml.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 ttf.c -o ttf.o ttf.c: In function 'reader_reset': ttf.c:121:6: warning: statement with no effect [-Wunused-value] r->pos; ~^~~~~ ttf.c: In function 'head_parse': ttf.c:309:9: warning: unused variable 'checksum2' [-Wunused-variable] U32 checksum2 = readU32(r); ^~~~~~~~~ ttf.c:308:9: warning: unused variable 'revision' [-Wunused-variable] U32 revision = readU32(r); ^~~~~~~~ ttf.c: In function 'hea_parse': ttf.c:745:9: warning: unused variable 'version' [-Wunused-variable] U32 version = readU32(r); ^~~~~~~ ttf.c: In function 'parse_simple_glyph': ttf.c:1001:10: warning: unused variable 'oldx' [-Wunused-variable] int oldx = x; ^~~~ ttf.c:990:9: warning: unused variable 'bytepos' [-Wunused-variable] int bytepos = r->pos; ^~~~~~~ ttf.c: In function 'write_simple_glyph': ttf.c:1129:9: warning: unused variable 'bytepos' [-Wunused-variable] int bytepos = w->len; ^~~~~~~ ttf.c: In function 'cmap_parse': ttf.c:1260:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] platform==3 && encoding == 1 || ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ttf.c:1261:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] platform==3 && encoding == 10; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ttf.c:1302:10: warning: unused variable 'glyphmap_size' [-Wunused-variable] int glyphmap_size = t.size - glyphmap_start; ^~~~~~~~~~~~~ ttf.c:1249:15: warning: variable 'data' set but not used [-Wunused-but-set-variable] unicode_t*data = 0; ^~~~ ttf.c: In function 'cmap_write': ttf.c:1395:9: warning: unused variable 'glyphmap_start' [-Wunused-variable] int glyphmap_start = w->len+2+num_segments*8; ^~~~~~~~~~~~~~ ttf.c: In function 'name_parse': ttf.c:1517:12: warning: unused variable 'ss' [-Wunused-variable] INIT_READ(ss, r->mem, r->size, offset+offset_2); ^ ttf.c:123:50: note: in definition of macro 'INIT_READ' #define INIT_READ(r,data,length,pos) memreader_t r = {(data),(pos),(length)}; ^ ttf.c:1510:6: warning: unused variable 'language' [-Wunused-variable] U16 language = readU16(r); ^~~~~~~~ ttf.c:1502:9: warning: unused variable 'format' [-Wunused-variable] U16 format = readU16(r); ^~~~~~ ttf.c: In function 'post_parse': ttf.c:1645:9: warning: unused variable 'is_monospaced' [-Wunused-variable] U16 is_monospaced = readU32(r); ^~~~~~~~~~~~~ ttf.c:1641:9: warning: unused variable 'format' [-Wunused-variable] U32 format = readU32(r); ^~~~~~ ttf.c: In function 'ttf_load': ttf.c:2093:10: warning: unused variable 'c' [-Wunused-variable] U8 c = readU16(&r)>>8; ^ ttf.c:2059:6: warning: unused variable 'flags' [-Wunused-variable] U32 flags = readU32(&r); ^~~~~ ttf.c:2058:6: warning: unused variable 'version' [-Wunused-variable] U32 version = readU32(&r); ^~~~~~~ ttf.c:2057:6: warning: unused variable 'fontDataSize' [-Wunused-variable] U32 fontDataSize = readU32(&r); ^~~~~~~~~~~~ ttf.c:2120:6: warning: unused variable 'num_fonts' [-Wunused-variable] U32 num_fonts = readU32(&r); // number of fonts ^~~~~~~~~ ttf.c:2119:6: warning: unused variable 'ttcf_version' [-Wunused-variable] U32 ttcf_version = readU32(&r); // 0x00000100: v1.0, 0x00000200: v2.0, includes DSIG table ^~~~~~~~~~~~ ttf.c:2153:6: warning: unused variable 'checksum' [-Wunused-variable] U32 checksum = table_data[t*4+1]; ^~~~~~~~ ttf.c: In function 'ttf_write': ttf.c:2243:9: warning: unused variable 'table_dictionary_pos' [-Wunused-variable] int table_dictionary_pos = file->len; ^~~~~~~~~~~~~~~~~~~~ At top level: ttf.c:274:13: warning: 'ttf_table_dump' defined but not used [-Wunused-function] static void ttf_table_dump(ttf_table_t*t, const char*prefix) ^~~~~~~~~~~~~~ FullBitmapOutputDev.cc: In member function 'void FullBitmapOutputDev::flushBitmap()': FullBitmapOutputDev.cc:111:21: warning: 'ymax' may be used uninitialized in this function [-Wmaybe-uninitialized] if(*xmin>=*xmax || *ymin>=*ymax) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ FullBitmapOutputDev.cc:127:24: note: 'ymax' was declared here int xmin,ymin,xmax,ymax; ^~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf CharOutputDev.cc -o CharOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ CharOutputDev.cc: In destructor 'virtual GFXGlobalParams::~GFXGlobalParams()': CharOutputDev.cc:213:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(t=0;t= current_fontinfo->num_glyphs || !current_fontinfo->glyphs[charid]) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CharOutputDev.cc:818:15: warning: unused variable 'bbox' [-Wunused-variable] gfxbbox_t bbox; ^~~~ CharOutputDev.cc: In member function 'virtual GBool CharOutputDev::beginType3Char(GfxState*, double, double, double, double, CharCode, Unicode*, int)': CharOutputDev.cc:930:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(!current_fontinfo || (unsigned)charid >= current_fontinfo->num_glyphs || !current_fontinfo->glyphs[charid]) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CharOutputDev.cc: In member function 'virtual void CharOutputDev::processLink(Link*, Catalog*)': CharOutputDev.cc:1148:25: warning: unused variable 'l' [-Wunused-variable] LinkUnknown*l = (LinkUnknown*)actionobj; ^ CharOutputDev.cc:1052:10: warning: variable 'named' set but not used [-Wunused-but-set-variable] char*named = 0; ^~~~~ CharOutputDev.cc: At global scope: CharOutputDev.cc:746:19: warning: 'gfxline_t* mkEmptyGfxShape(double, double)' defined but not used [-Wunused-function] static gfxline_t* mkEmptyGfxShape(double x, double y) ^~~~~~~~~~~~~~~ CharOutputDev.cc:585:13: warning: 'void showFontError(GfxFont*, int)' defined but not used [-Wunused-function] static void showFontError(GfxFont*font, int nr) ^~~~~~~~~~~~~ CharOutputDev.cc:75:12: warning: 'fontnum' defined but not used [-Wunused-variable] static int fontnum = 0; ^~~~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf CommonOutputDev.cc -o CommonOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ CommonOutputDev.cc: In function 'bool text_matrix_is_skewed(GfxState*)': CommonOutputDev.cc:148:12: warning: unused variable 'm01' [-Wunused-variable] double m01 = ctm[1]*tm[0] + ctm[3]*tm[1]; ^~~ CommonOutputDev.cc:150:12: warning: unused variable 'm11' [-Wunused-variable] double m11 = ctm[1]*tm[2] + ctm[3]*tm[3]; ^~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf InfoOutputDev.cc -o InfoOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ InfoOutputDev.cc: In function 'unsigned int fontclass_hash(const void*)': InfoOutputDev.cc:41:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] U32 m00 = (*(U32*)&m->m00)&0xfff00000; ^~~ InfoOutputDev.cc:42:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] U32 m01 = (*(U32*)&m->m01)&0xfff00000; ^~~ InfoOutputDev.cc:43:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] U32 m10 = (*(U32*)&m->m10)&0xfff00000; ^~~ InfoOutputDev.cc:44:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] U32 m11 = (*(U32*)&m->m11)&0xfff00000; ^~~ InfoOutputDev.cc: In function 'char fontclass_equals(const void*, const void*)': InfoOutputDev.cc:73:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if(((*(U32*)&m1->m00 ^ *(U32*)&m2->m00)&0xfff00000) || ^~~ InfoOutputDev.cc:73:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if(((*(U32*)&m1->m00 ^ *(U32*)&m2->m00)&0xfff00000) || ^~~ InfoOutputDev.cc:74:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((*(U32*)&m1->m01 ^ *(U32*)&m2->m01)&0xfff00000) || ^~~ InfoOutputDev.cc:74:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((*(U32*)&m1->m01 ^ *(U32*)&m2->m01)&0xfff00000) || ^~~ InfoOutputDev.cc:75:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((*(U32*)&m1->m10 ^ *(U32*)&m2->m10)&0xfff00000) || ^~~ InfoOutputDev.cc:75:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((*(U32*)&m1->m10 ^ *(U32*)&m2->m10)&0xfff00000) || ^~~ InfoOutputDev.cc:76:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((*(U32*)&m1->m11 ^ *(U32*)&m2->m11)&0xfff00000)) ^~~ InfoOutputDev.cc:76:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((*(U32*)&m1->m11 ^ *(U32*)&m2->m11)&0xfff00000)) ^~~ InfoOutputDev.cc: In destructor 'virtual InfoOutputDev::~InfoOutputDev()': InfoOutputDev.cc:114:15: warning: unused variable 'i' [-Wunused-variable] GHashIter*i; ^ InfoOutputDev.cc: In function 'int findSpace(gfxfont_t*)': InfoOutputDev.cc:197:9: warning: unused variable 'first_space' [-Wunused-variable] int first_space = -1; ^~~~~~~~~~~ InfoOutputDev.cc: In member function 'gfxfont_t* FontInfo::createGfxFont()': InfoOutputDev.cc:303:10: warning: unused variable 'count' [-Wunused-variable] int count = 0; ^~~~~ InfoOutputDev.cc:387:13: warning: unused variable 'line' [-Wunused-variable] gfxline_t*line = font->glyphs[t].line; ^~~~ InfoOutputDev.cc: In function 'int font_classify(fontclass_t*, gfxmatrix_t*, const char*, gfxcolor_t*)': InfoOutputDev.cc:622:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m00 = (*(U32*)&out->m00)&0xffe00000; ^~~ InfoOutputDev.cc:622:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m00 = (*(U32*)&out->m00)&0xffe00000; ^~~ InfoOutputDev.cc:623:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m01 = (*(U32*)&out->m01)&0xffe00000; ^~~ InfoOutputDev.cc:623:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m01 = (*(U32*)&out->m01)&0xffe00000; ^~~ InfoOutputDev.cc:624:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m10 = (*(U32*)&out->m10)&0xffe00000; ^~~ InfoOutputDev.cc:624:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m10 = (*(U32*)&out->m10)&0xffe00000; ^~~ InfoOutputDev.cc:625:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m11 = (*(U32*)&out->m11)&0xffe00000; ^~~ InfoOutputDev.cc:625:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&out->m11 = (*(U32*)&out->m11)&0xffe00000; ^~~ InfoOutputDev.cc: In member function 'virtual void InfoOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)': InfoOutputDev.cc:786:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(uLen && ((u[0]>=32 && u[0]unicode) || !g->unicode)) { ~~~~^~~~~~~~~~~ InfoOutputDev.cc: In member function 'void InfoOutputDev::dumpfonts(gfxdevice_t*)': InfoOutputDev.cc:973:15: warning: unused variable 'i' [-Wunused-variable] GHashIter*i; ^ InfoOutputDev.cc:974:13: warning: unused variable 'key' [-Wunused-variable] GString*key; ^~~ InfoOutputDev.cc: At global scope: InfoOutputDev.cc:238:13: warning: 'void transform_glyph(gfxglyph_t*, fontclass_t*, double)' defined but not used [-Wunused-function] static void transform_glyph(gfxglyph_t*g, fontclass_t*mm, double scale) ^~~~~~~~~~~~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf XMLOutputDev.cc -o XMLOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf pdf.cc -o pdf.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ pdf.cc: In function 'void pdfpage_destroy(gfxpage_t*)': pdf.cc:100:25: warning: unused variable 'i' [-Wunused-variable] pdf_page_internal_t*i= (pdf_page_internal_t*)pdf_page->internal; ^ pdf.cc: In function 'void pdfpage_render(gfxpage_t*, gfxdevice_t*)': pdf.cc:179:24: warning: unused variable 'pi' [-Wunused-variable] pdf_doc_internal_t*pi = (pdf_doc_internal_t*)page->parent->internal; ^~ pdf.cc: In function 'void pdfpage_rendersection(gfxpage_t*, gfxdevice_t*, gfxcoord_t, gfxcoord_t, gfxcoord_t, gfxcoord_t, gfxcoord_t, gfxcoord_t)': pdf.cc:185:24: warning: unused variable 'pi' [-Wunused-variable] pdf_doc_internal_t*pi = (pdf_doc_internal_t*)page->parent->internal; ^~ pdf.cc: In function 'void pdf_setparameter(gfxsource_t*, const char*, const char*)': pdf.cc:454:7: warning: unused variable 'buf' [-Wunused-variable] char buf[80]; ^~~ pdf.cc: At global scope: pdf.cc:89:20: warning: 'const char* dirseparator()' defined but not used [-Wunused-function] static const char* dirseparator() ^~~~~~~~~~~~ pdf.cc:31:12: warning: 'globalparams_count' defined but not used [-Wunused-variable] static int globalparams_count=0; ^~~~~~~~~~~~~~~~~~ In file included from pdf.cc:22:0: ../args.h:210:14: warning: 'char* filename2template(char*, int*)' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 kdtree.c -o kdtree.o kdtree.c: In function 'kdbranch_print': kdtree.c:447:14: warning: unused variable 'b' [-Wunused-variable] kdbbox_t b = bbox_for_halfplane(branch->xy, branch->type); ^ kdtree.c: In function 'kdarea_print': kdtree.c:454:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ At top level: kdtree.c:32:12: warning: 'vy_and' defined but not used [-Wunused-variable] static int vy_and[4] = {0, INT_MAX, 0, INT_MAX}; ^~~~~~ kdtree.c:31:12: warning: 'vx_and' defined but not used [-Wunused-variable] static int vx_and[4] = {INT_MAX, 0, INT_MAX, 0}; ^~~~~~ kdtree.c: In function 'kdarea_neighbor': kdtree.c:252:7: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] node = kdbranch_follow(node->split, x,y); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kdtree.c:411:11: note: 'y' was declared here int x,y; ^ kdtree.c:252:7: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] node = kdbranch_follow(node->split, x,y); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kdtree.c:411:9: note: 'x' was declared here int x,y; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 graphcut.c -o graphcut.o graphcut.c: In function 'posqueue_notempty': graphcut.c:103:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)queue->list; ^ graphcut.c: In function 'graphcut_workspace_delete': graphcut.c:175:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(w->flags1) free(w->flags1);w->flags1=0; ^~ graphcut.c:175:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(w->flags1) free(w->flags1);w->flags1=0; ^ graphcut.c:176:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(w->flags2) free(w->flags2);w->flags2=0; ^~ graphcut.c:176:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(w->flags2) free(w->flags2);w->flags2=0; ^ graphcut.c:177:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(w->back) free(w->back);w->back=0; ^~ graphcut.c:177:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(w->back) free(w->back);w->back=0; ^ graphcut.c: In function 'extract_path': graphcut.c:218:10: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:218:10: assert(p!=old); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:237:22: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:237:22: assert(mytree[NR(p)]&IN_TREE); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:239:19: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:239:19: assert(dir->node == p); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:246:12: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:246:12: assert(!t); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:252:25: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:252:25: assert(othertree[NR(p)]&IN_TREE); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:266:14: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:266:14: assert(t == len1+len2+1); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:209:12: warning: unused variable 'nodes' [-Wunused-variable] node_t*nodes = work->graph->nodes; ^~~~~ graphcut.c: In function 'path_print': graphcut.c:287:57: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:287:57: assert(( path->firsthalf[t] && path->dir[t]->used) || graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c: In function 'expand_pos': graphcut.c:315:9: warning: unused variable 'dir' [-Wunused-variable] int dir; ^~~ graphcut.c:314:13: warning: unused variable 'graph' [-Wunused-variable] graph_t*graph = w->graph; ^~~~~ graphcut.c: In function 'decrease_weights': graphcut.c:386:16: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:386:16: assert(path->length); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:38:19: warning: statement with no effect [-Wunused-value] #define assert(x) (x) ^ graphcut.c:394:5: note: in expansion of macro 'assert' assert(min); ^~~~~~ graphcut.c: In function 'reconnect': graphcut.c:407:13: warning: unused variable 'graph' [-Wunused-variable] graph_t*graph = w->graph; ^~~~~ graphcut.c: In function 'combust_tree': graphcut.c:500:23: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:500:23: assert(newpos == newpos2); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:471:13: warning: unused variable 'graph' [-Wunused-variable] graph_t*graph = w->graph; ^~~~~ graphcut.c: In function 'check_graph': graphcut.c:524:23: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:524:23: assert(g->nodes[t].nr==t); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c:527:22: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:527:22: assert(!e->used || !e->fwd->used); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c: In function 'graph_reset': graphcut.c:538:23: warning: statement with no effect [-Wunused-value] graphcut.c:38:19: #define assert(x) (x) ~~~ graphcut.c:538:23: assert(g->nodes[t].nr==t); graphcut.c:38:20: note: in definition of macro 'assert' #define assert(x) (x) ^ graphcut.c: In function 'graph_maxflow': graphcut.c:563:19: warning: unused variable 'done2' [-Wunused-variable] char done1=0,done2=0; ^~~~~ graphcut.c:563:11: warning: unused variable 'done1' [-Wunused-variable] char done1=0,done2=0; ^~~~~ graphcut.c: In function 'do_dfs': graphcut.c:630:9: warning: unused variable 't' [-Wunused-variable] int t; ^ At top level: graphcut.c:301:13: warning: 'myassert' defined but not used [-Wunused-function] static void myassert(graphcut_workspace_t*w, char assertion, const char*file, int line, const char*func) ^~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 fonts.c -o fonts.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfximage.c -o gfximage.o gfximage.c: In function 'gfximage_save_jpeg': gfximage.c:29:11: warning: unused variable 'y' [-Wunused-variable] int x,y; ^ gfximage.c:29:9: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ gfximage.c: In function 'gfximage_rescale_old': gfximage.c:323:21: warning: unused variable 'p_x' [-Wunused-variable] scale_lookup_t*p_x; ^~~ gfximage.c:318:13: warning: unused variable 'l' [-Wunused-variable] rgba_int_t*l = tmpline; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 bbox.c -o bbox.o bbox.c: In function 'display': bbox.c:409:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("x%02d ", (void**)group[y*width+x]-(void**)group); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %02ld bbox.c: In function 'get_bitmap_bboxes': bbox.c:438:11: warning: unused variable 'group' [-Wunused-variable] void**group = annotate(&context); ^~~~~ bbox.c:426:9: warning: unused variable 'size' [-Wunused-variable] int size = width*height; ^~~~ At top level: bbox.c:395:13: warning: 'display' defined but not used [-Wunused-function] static void display(context_t*context) ^~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxtools.c -o gfxtools.o gfxtools.c: In function 'spline_get_controlpoint': gfxtools.c:171:12: warning: unused variable 'nay' [-Wunused-variable] double nay = q->ay*dt*dt; ^~~ gfxtools.c:170:12: warning: unused variable 'nax' [-Wunused-variable] double nax = q->ax*dt*dt; ^~~ gfxtools.c: In function 'approximate3': gfxtools.c:570:6: warning: unused variable 'probes' [-Wunused-variable] int probes = 15; ^~~~~~ gfxtools.c:569:6: warning: unused variable 't' [-Wunused-variable] int t; ^ gfxtools.c:555:18: warning: unused variable 'gran' [-Wunused-variable] unsigned int gran = 0; ^~~~ At top level: gfxtools.c:545:19: warning: 'qspline_getpoint' defined but not used [-Wunused-function] static gfxpoint_t qspline_getpoint(const qspline_t*s, double t) ^~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf popplercompat.cc -o popplercompat.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/GHash.cc -o xpdf/GHash.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/GList.cc -o xpdf/GList.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/GString.cc -o xpdf/GString.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxfont.c -o gfxfont.o gfxfont.c: In function 'glyph_clear': gfxfont.c:40:15: warning: unused variable 'line' [-Wunused-variable] gfxline_t*line; ^~~~ gfxfont.c: In function 'gfxfont_load': gfxfont.c:162:9: warning: variable 'has_had_errors' set but not used [-Wunused-but-set-variable] int has_had_errors = 0; ^~~~~~~~~~~~~~ gfxfont.c:152:17: warning: variable 'fontname' set but not used [-Wunused-but-set-variable] const char* fontname = 0; ^~~~~~~~ gfxfont.c: In function 'gfxfont_to_ttf': gfxfont.c:714:17: warning: unused variable 'src' [-Wunused-variable] gfxglyph_t*src = &font->glyphs[t]; ^~~ gfxfont.c:630:9: warning: unused variable 'remap_pos' [-Wunused-variable] int remap_pos=0; ^~~~~~~~~ At top level: gfxfont.c:144:12: warning: 'errorno' defined but not used [-Wunused-variable] static int errorno = 0; ^~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/gmem.cc -o xpdf/gmem.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/gfile.cc -o xpdf/gfile.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/FoFiTrueType.cc -o xpdf/FoFiTrueType.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxfilter.c -o gfxfilter.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gfxfilter.c:219:21: warning: 'discard_finish' defined but not used [-Wunused-function] static gfxresult_t* discard_finish(gfxdevice_t*dev) ^~~~~~~~~~~~~~ gfxfilter.c:216:13: warning: 'discard_endpage' defined but not used [-Wunused-function] static void discard_endpage(gfxdevice_t*dev) ^~~~~~~~~~~~~~~ gfxfilter.c:213:13: warning: 'discard_drawlink' defined but not used [-Wunused-function] static void discard_drawlink(gfxdevice_t*dev, gfxline_t*line, const char*action, const char*text) ^~~~~~~~~~~~~~~~ gfxfilter.c:210:13: warning: 'discard_drawchar' defined but not used [-Wunused-function] static void discard_drawchar(gfxdevice_t*dev, gfxfont_t*font, int glyphnr, gfxcolor_t*color, gfxmatrix_t*matrix) ^~~~~~~~~~~~~~~~ gfxfilter.c:207:13: warning: 'discard_addfont' defined but not used [-Wunused-function] static void discard_addfont(gfxdevice_t*dev, gfxfont_t*font) ^~~~~~~~~~~~~~~ gfxfilter.c:204:13: warning: 'discard_fillgradient' defined but not used [-Wunused-function] static void discard_fillgradient(gfxdevice_t*dev, gfxline_t*line, gfxgradient_t*gradient, gfxgradienttype_t type, gfxmatrix_t*matrix) ^~~~~~~~~~~~~~~~~~~~ gfxfilter.c:201:13: warning: 'discard_fillbitmap' defined but not used [-Wunused-function] static void discard_fillbitmap(gfxdevice_t*dev, gfxline_t*line, gfximage_t*img, gfxmatrix_t*matrix, gfxcxform_t*cxform) ^~~~~~~~~~~~~~~~~~ gfxfilter.c:198:13: warning: 'discard_fill' defined but not used [-Wunused-function] static void discard_fill(gfxdevice_t*dev, gfxline_t*line, gfxcolor_t*color) ^~~~~~~~~~~~ gfxfilter.c:195:13: warning: 'discard_stroke' defined but not used [-Wunused-function] static void discard_stroke(gfxdevice_t*dev, gfxline_t*line, gfxcoord_t width, gfxcolor_t*color, gfx_capType cap_style, gfx_joinType joint_style, gfxcoord_t miterLimit) ^~~~~~~~~~~~~~ gfxfilter.c:192:13: warning: 'discard_endclip' defined but not used [-Wunused-function] static void discard_endclip(gfxdevice_t*dev) ^~~~~~~~~~~~~~~ gfxfilter.c:189:13: warning: 'discard_startclip' defined but not used [-Wunused-function] static void discard_startclip(gfxdevice_t*dev, gfxline_t*line) ^~~~~~~~~~~~~~~~~ gfxfilter.c:186:13: warning: 'discard_startpage' defined but not used [-Wunused-function] static void discard_startpage(gfxdevice_t*dev, int width, int height) ^~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/dummy.c -o devices/dummy.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/file.c -o devices/file.o devices/file.c: In function 'file_drawchar': devices/file.c:133:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/render.c -o devices/render.o devices/render.c: In function 'fill': devices/render.c:464:6: warning: variable 'lastx' set but not used [-Wunused-but-set-variable] int lastx; ^~~~~ devices/render.c:456:9: warning: unused variable 'clipdepth' [-Wunused-variable] U32 clipdepth = 0; ^~~~~~~~~ devices/render.c: In function 'draw_line': devices/render.c:621:20: warning: unused variable 'qparts' [-Wunused-variable] int c,t,parts,qparts; ^~~~~~ devices/render.c:612:28: warning: unused variable 'y3' [-Wunused-variable] int x1,y1,x2,y2,x3,y3; ^~ devices/render.c:612:25: warning: unused variable 'x3' [-Wunused-variable] int x1,y1,x2,y2,x3,y3; ^~ devices/render.c:612:22: warning: unused variable 'y2' [-Wunused-variable] int x1,y1,x2,y2,x3,y3; ^~ devices/render.c:612:19: warning: unused variable 'x2' [-Wunused-variable] int x1,y1,x2,y2,x3,y3; ^~ devices/render.c:612:16: warning: unused variable 'y1' [-Wunused-variable] int x1,y1,x2,y2,x3,y3; ^~ devices/render.c:612:13: warning: unused variable 'x1' [-Wunused-variable] int x1,y1,x2,y2,x3,y3; ^~ devices/render.c: In function 'render_startclip': devices/render.c:652:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/render.c: In function 'render_endclip': devices/render.c:663:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/render.c: In function 'render_fill': devices/render.c:669:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/render.c: In function 'render_fillgradient': devices/render.c:721:13: warning: unused variable 't' [-Wunused-variable] int t; ^ devices/render.c: In function 'render_result_write': devices/render.c:780:23: warning: unused variable 'i' [-Wunused-variable] internal_result_t*i= (internal_result_t*)r->internal; ^ devices/render.c: In function 'store_image': devices/render.c:967:13: warning: unused variable 'a' [-Wunused-variable] int r,g,b,a; ^ devices/render.c:967:11: warning: unused variable 'b' [-Wunused-variable] int r,g,b,a; ^ devices/render.c:967:9: warning: unused variable 'g' [-Wunused-variable] int r,g,b,a; ^ devices/render.c:967:7: warning: unused variable 'r' [-Wunused-variable] int r,g,b,a; ^ devices/render.c:961:10: warning: unused variable 'n' [-Wunused-variable] int n; ^ devices/render.c: In function 'render_endpage': devices/render.c:1017:11: warning: unused variable 'x' [-Wunused-variable] int y,x; ^ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/FoFiType1.cc -o xpdf/FoFiType1.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ devices/render.c: In function 'render_stroke': devices/render.c:570:26: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] double x1=x*i->zoom,y1=y*i->zoom; ^~ devices/render.c:570:13: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] double x1=x*i->zoom,y1=y*i->zoom; ^~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/FoFiType1C.cc -o xpdf/FoFiType1C.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/FoFiBase.cc -o xpdf/FoFiBase.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/FoFiEncodings.cc -o xpdf/FoFiEncodings.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/OutputDev.cc -o xpdf/OutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/PDFDoc.cc -o xpdf/PDFDoc.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Error.cc -o xpdf/Error.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Stream.cc -o xpdf/Stream.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ xpdf/Stream.cc: In member function 'GBool DCTStream::readBaselineSOF()': xpdf/Stream.cc:3005:7: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ xpdf/Stream.cc: In member function 'GBool DCTStream::readProgressiveSOF()': xpdf/Stream.cc:3036:7: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Object.cc -o xpdf/Object.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Decrypt.cc -o xpdf/Decrypt.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Array.cc -o xpdf/Array.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/XRef.cc -o xpdf/XRef.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Dict.cc -o xpdf/Dict.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Parser.cc -o xpdf/Parser.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Lexer.cc -o xpdf/Lexer.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Outline.cc -o xpdf/Outline.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/PDFDocEncoding.cc -o xpdf/PDFDocEncoding.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Catalog.cc -o xpdf/Catalog.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Link.cc -o xpdf/Link.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ xpdf/Catalog.cc: In member function 'int Catalog::readPageTree(Dict*, PageAttrs*, int, char*)': xpdf/Catalog.cc:255:2: warning: label 'err1' defined but not used [-Wunused-label] err1: ^~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/GlobalParams.cc -o xpdf/GlobalParams.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/JBIG2Stream.cc -o xpdf/JBIG2Stream.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Page.cc -o xpdf/Page.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/JPXStream.cc -o xpdf/JPXStream.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/JArithmeticDecoder.cc -o xpdf/JArithmeticDecoder.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Gfx.cc -o xpdf/Gfx.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/GfxFont.cc -o xpdf/GfxFont.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/CMap.cc -o xpdf/CMap.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/CharCodeToUnicode.cc -o xpdf/CharCodeToUnicode.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ xpdf/CharCodeToUnicode.cc: In member function 'void CharCodeToUnicode::parseCMap1(int (*)(void*), void*, int)': xpdf/CharCodeToUnicode.cc:254:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (code1 > maxCode) { ~~~~~~^~~~~~~~~ xpdf/CharCodeToUnicode.cc:283:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (code1 > maxCode || code2 > maxCode) { ~~~~~~^~~~~~~~~ xpdf/CharCodeToUnicode.cc:283:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (code1 > maxCode || code2 > maxCode) { ~~~~~~^~~~~~~~~ xpdf/CharCodeToUnicode.cc: In member function 'void CharCodeToUnicode::addMapping(CharCode, char*, int, int)': xpdf/CharCodeToUnicode.cc:334:12: warning: 'oldmap' may be used uninitialized in this function [-Wmaybe-uninitialized] map = oldmap; ~~~~^~~~~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/PSTokenizer.cc -o xpdf/PSTokenizer.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/FontEncodingTables.cc -o xpdf/FontEncodingTables.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/BuiltinFont.cc -o xpdf/BuiltinFont.o g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/BuiltinFontTables.cc -o xpdf/BuiltinFontTables.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/GfxState.cc -o xpdf/GfxState.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Function.cc -o xpdf/Function.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Annot.cc -o xpdf/Annot.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/NameToCharCode.cc -o xpdf/NameToCharCode.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/UnicodeMap.cc -o xpdf/UnicodeMap.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SecurityHandler.cc -o xpdf/SecurityHandler.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/TextOutputDev.cc -o xpdf/TextOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ xpdf/TextOutputDev.cc: In member function 'GString* TextPage::getText(double, double, double, double)': xpdf/TextOutputDev.cc:3133:9: warning: variable 'isUnicode' set but not used [-Wunused-but-set-variable] GBool isUnicode; ^~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/text.c -o devices/text.o devices/text.c: In function 'text_setparameter': devices/text.c:50:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_startclip': devices/text.c:72:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_endclip': devices/text.c:76:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_stroke': devices/text.c:80:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_fill': devices/text.c:84:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_fillbitmap': devices/text.c:88:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_fillgradient': devices/text.c:92:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_drawlink': devices/text.c:138:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_endpage': devices/text.c:143:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/text.c: In function 'text_result_write': devices/text.c:148:16: warning: unused variable 'i' [-Wunused-variable] textpage_t*i= (textpage_t*)r->internal; ^ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/UnicodeTypeTable.cc -o xpdf/UnicodeTypeTable.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/record.c -o devices/record.o g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashOutputDev.cc -o xpdf/SplashOutputDev.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ devices/record.c: In function 'dumpImage': devices/record.c:178:9: warning: unused variable 'oldpos' [-Wunused-variable] int oldpos = w->pos; ^~~~~~ devices/record.c: In function 'dumpFont': devices/record.c:386:9: warning: unused variable 'oldpos' [-Wunused-variable] int oldpos = w->pos; ^~~~~~ devices/record.c: In function 'record_drawchar': devices/record.c:595:10: warning: unused variable 'same_color' [-Wunused-variable] char same_color = !memcmp(color, &i->state.last_color[OP_DRAWCHAR], sizeof(gfxcolor_t)); ^~~~~~~~~~ devices/record.c:594:10: warning: unused variable 'same_matrix' [-Wunused-variable] char same_matrix = (l->m00 == matrix->m00) && (l->m01 == matrix->m01) && (l->m10 == matrix->m10) && (l->m11 == matrix->m11); ^~~~~~~~~~~ devices/record.c:593:10: warning: unused variable 'same_font' [-Wunused-variable] char same_font = i->state.last_string[OP_DRAWCHAR] && !strcmp(i->state.last_string[OP_DRAWCHAR], font_id); ^~~~~~~~~ devices/record.c: In function 'replay': devices/record.c:800:15: warning: unused variable 'm' [-Wunused-variable] gfxmatrix_t m = {1,0,0, 0,1,0}; ^ At top level: devices/record.c:892:13: warning: 'hexdumpMem' defined but not used [-Wunused-function] static void hexdumpMem(unsigned char*data, int len) ^~~~~~~~~~ devices/record.c:839:13: warning: 'record_result_write' defined but not used [-Wunused-function] static void record_result_write(gfxresult_t*r, int filedesc) ^~~~~~~~~~~~~~~~~~~ xpdf/SplashOutputDev.cc: In member function 'virtual void SplashOutputDev::endTransparencyGroup(GfxState*)': xpdf/SplashOutputDev.cc:2553:11: warning: variable 'ctm' set but not used [-Wunused-but-set-variable] double *ctm; ^~~ devices/record.c: In function 'replay': devices/record.c:774:3: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] out->fillgradient(out, line, gradient, type, &matrix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/record.c:724:3: warning: 'jointtype' may be used uninitialized in this function [-Wmaybe-uninitialized] out->stroke(out, line, width, &color, captype, jointtype,miterlimit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/record.c:724:3: warning: 'captype' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/ops.c -o devices/ops.o devices/ops.c: In function 'ops_drawchar': devices/ops.c:145:16: warning: unused variable 'color2' [-Wunused-variable] gfxcolor_t color2 = transform_color(i, color); ^~~~~~ At top level: devices/ops.c:41:13: warning: 'dbg' defined but not used [-Wunused-function] static void dbg(char*format, ...) ^~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/polyops.c -o devices/polyops.o devices/polyops.c: In function 'handle_poly': devices/polyops.c:200:15: warning: unused variable 'gfxline' [-Wunused-variable] gfxline_t*gfxline = 0; ^~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/bbox.c -o devices/bbox.o devices/bbox.c: In function 'bbox_startclip': devices/bbox.c:74:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/bbox.c: In function 'bbox_endclip': devices/bbox.c:79:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/bbox.c: In function 'bbox_addfont': devices/bbox.c:112:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/bbox.c: In function 'bbox_drawlink': devices/bbox.c:132:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ devices/bbox.c: In function 'bbox_endpage': devices/bbox.c:137:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/rescale.c -o devices/rescale.o devices/rescale.c: In function 'gfxline_isRect': devices/rescale.c:73:45: warning: variable 'y2' set but not used [-Wunused-but-set-variable] double x1=line->x,y1=line->x,x2=line->x,y2=line->y; ^~ At top level: devices/rescale.c:49:13: warning: 'dbg' defined but not used [-Wunused-function] static void dbg(char*format, ...) ^~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashFont.cc -o xpdf/SplashFont.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 filters/alpha.c -o filters/alpha.o filters/alpha.c: In function 'maketransparent_drawchar': filters/alpha.c:75:16: warning: unused variable 'color2' [-Wunused-variable] gfxcolor_t color2 = transform_color(i, color); ^~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 filters/remove_font_transforms.c -o filters/remove_font_transforms.o g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashState.cc -o xpdf/SplashState.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ filters/remove_font_transforms.c: In function 'mymatrix_equals': filters/remove_font_transforms.c:77:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *(U32*)&m1->m00 == *(U32*)&m2->m00 && ^~~~~~ filters/remove_font_transforms.c:77:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] filters/remove_font_transforms.c:78:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&m1->m01 == *(U32*)&m2->m01 && ^ filters/remove_font_transforms.c:78:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] filters/remove_font_transforms.c:79:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&m1->m10 == *(U32*)&m2->m10 && ^ filters/remove_font_transforms.c:79:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] filters/remove_font_transforms.c:80:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(U32*)&m1->m11 == *(U32*)&m2->m11 && ^ filters/remove_font_transforms.c:80:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/Splash.cc -o xpdf/Splash.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 filters/one_big_font.c -o filters/one_big_font.o xpdf/Splash.cc: In member function 'void Splash::compositeBackground(SplashColorPtr)': xpdf/Splash.cc:2829:52: warning: unused variable 'color3' [-Wunused-variable] Guchar alpha, alpha1, c, color0, color1, color2, color3; ^~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 filters/vectors_to_glyphs.c -o filters/vectors_to_glyphs.o filters/vectors_to_glyphs.c: In function 'pass1_stroke': filters/vectors_to_glyphs.c:78:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)f->internal; ^ filters/vectors_to_glyphs.c: In function 'pass2_drawchar': filters/vectors_to_glyphs.c:116:6: warning: unused variable 'x' [-Wunused-variable] int x; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 filters/remove_invisible_characters.c -o filters/remove_invisible_characters.o filters/remove_invisible_characters.c: In function 'pass1_addfont': filters/remove_invisible_characters.c:139:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)f->internal; ^ filters/remove_invisible_characters.c: In function 'pass1_finish': filters/remove_invisible_characters.c:165:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)f->internal; ^ filters/remove_invisible_characters.c: In function 'pass2_addfont': filters/remove_invisible_characters.c:183:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)f->internal; ^ filters/remove_invisible_characters.c: In function 'pass2_finish': filters/remove_invisible_characters.c:206:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)f->internal; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 filters/flatten.c -o filters/flatten.o filters/flatten.c: In function 'flatten_startpage': filters/flatten.c:87:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ filters/flatten.c: In function 'handle_poly': filters/flatten.c:189:15: warning: unused variable 'gfxline' [-Wunused-variable] gfxline_t*gfxline = 0; ^~~~~~~ filters/flatten.c: In function 'flatten_addfont': filters/flatten.c:285:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ filters/flatten.c: In function 'flatten_drawlink': filters/flatten.c:345:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ filters/flatten.c: In function 'flatten_endpage': filters/flatten.c:352:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 filters/rescale_images.c -o filters/rescale_images.o filters/rescale_images.c: In function 'rescale_images_startpage': filters/rescale_images.c:49:16: warning: unused variable 'i' [-Wunused-variable] internal_t*i = (internal_t*)dev->internal; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/active.c -o gfxpoly/active.o gfxpoly/active.c: In function 'actlist_dump': gfxpoly/active.c:23:10: warning: unused variable 'bad' [-Wunused-variable] char bad = 0; ^~~ gfxpoly/active.c: In function 'actlist_find': gfxpoly/active.c:155:15: warning: unused variable 'out' [-Wunused-variable] segment_t*out = last; ^~~ gfxpoly/active.c: In function 'actlist_splay_dump2': gfxpoly/active.c:299:13: warning: unused variable 't' [-Wunused-variable] int t; ^ gfxpoly/active.c: In function 'move_to_root': gfxpoly/active.c:343:9: warning: unused variable 'nr' [-Wunused-variable] int nr=0; ^~ gfxpoly/active.c: In function 'actlist_splay': gfxpoly/active.c:421:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!a->root->rightchild) ^~ gfxpoly/active.c:422:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' c = 1;break; ^~~~~ gfxpoly/active.c:388:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c = 0; ^ At top level: gfxpoly/active.c:380:13: warning: 'actlist_splay' defined but not used [-Wunused-function] static void actlist_splay(actlist_t*a, point_t p1, point_t p2) ^~~~~~~~~~~~~ gfxpoly/active.c:332:13: warning: 'actlist_splay_dump' defined but not used [-Wunused-function] static void actlist_splay_dump(actlist_t*a) ^~~~~~~~~~~~~~~~~~ gfxpoly/active.c:287:12: warning: 'actlist_splay_verify' defined but not used [-Wunused-function] static int actlist_splay_verify(actlist_t*a) ^~~~~~~~~~~~~~~~~~~~ gfxpoly/active.c: In function 'actlist_dump': gfxpoly/active.c:30:21: warning: 'lastx' may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(stderr, "?%.2f<->%.2f? ", lastx * gridsize, x * gridsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/convert.c -o gfxpoly/convert.o gfxpoly/convert.c: In function 'convert_file': gfxpoly/convert.c:88:20: warning: unused variable 'lasty' [-Wunused-variable] double lastx=0,lasty=0; ^~~~~ gfxpoly/convert.c:88:12: warning: unused variable 'lastx' [-Wunused-variable] double lastx=0,lasty=0; ^~~~~ gfxpoly/convert.c: In function 'gfxpoly_destroy': gfxpoly/convert.c:263:9: warning: unused variable 't' [-Wunused-variable] int t; ^ gfxpoly/convert.c: In function 'mkgfxline': gfxpoly/convert.c:460:11: warning: unused variable 'del2' [-Wunused-variable] char del2 = dict_del2(d, &stroke->points[stroke->num_points-1], stroke); ^~~~ gfxpoly/convert.c:459:11: warning: unused variable 'del1' [-Wunused-variable] char del1 = dict_del2(d, &stroke->points[0], stroke); ^~~~ gfxpoly/convert.c:499:7: warning: unused variable 'del' [-Wunused-variable] char del = dict_del(todo, stroke); ^~~ gfxpoly/convert.c:456:10: warning: variable 'should_connect' set but not used [-Wunused-but-set-variable] char should_connect = 0; ^~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/poly.c -o gfxpoly/poly.o gfxpoly/poly.c: In function 'gfxpoly_size': gfxpoly/poly.c:188:11: warning: unused variable 't' [-Wunused-variable] int s,t; ^ gfxpoly/poly.c:188:9: warning: unused variable 's' [-Wunused-variable] int s,t; ^ gfxpoly/poly.c: In function 'gfxpoly_check': gfxpoly/poly.c:261:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(a.x == p2->x && a.y == p2->y || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gfxpoly/poly.c:201:11: warning: unused variable 't' [-Wunused-variable] int s,t; ^ gfxpoly/poly.c: In function 'gfxpoly_dump': gfxpoly/poly.c:283:11: warning: unused variable 't' [-Wunused-variable] int s,t; ^ gfxpoly/poly.c: In function 'gfxpoly_save': gfxpoly/poly.c:312:11: warning: unused variable 't' [-Wunused-variable] int s,t; ^ gfxpoly/poly.c: In function 'gfxpoly_save_arrows': gfxpoly/poly.c:333:9: warning: unused variable 't' [-Wunused-variable] int t; ^ gfxpoly/poly.c: In function 'gfxpoly_enqueue': gfxpoly/poly.c:540:9: warning: unused variable 't' [-Wunused-variable] int t; ^ gfxpoly/poly.c: In function 'add_points_to_ending_segments': gfxpoly/poly.c:1035:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(!(d0>=0 && d1>=0 && d2>=0 && d3>0 || ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ gfxpoly/poly.c: In function 'recalculate_windings': gfxpoly/poly.c:1109:25: warning: unused variable 'fs_old' [-Wunused-variable] edgestyle_t*fs_old = s->fs_out; ^~~~~~ gfxpoly/poly.c:1067:15: warning: unused variable 'last' [-Wunused-variable] segment_t*last = 0; ^~~~ gfxpoly/poly.c: In function 'intersect_with_horizontal': gfxpoly/poly.c:1148:13: warning: variable 'o' set but not used [-Wunused-but-set-variable] point_t o = h->a; ^ At top level: gfxpoly/poly.c:404:13: warning: 'segment_dump' defined but not used [-Wunused-function] static void segment_dump(segment_t*s) ^~~~~~~~~~~~ gfxpoly/poly.c:382:13: warning: 'event_dump' defined but not used [-Wunused-function] static void event_dump(status_t*status, event_t*e) ^~~~~~~~~~ In file included from gfxpoly/poly.c:13:0: gfxpoly/poly.c:138:13: warning: 'hqueue_destroy' defined but not used [-Wunused-function] HEAP_DEFINE(hqueue,event_t,COMPARE_EVENTS_SIMPLE); ^ gfxpoly/heap.h:71:13: note: in definition of macro 'HEAP_DEFINE' static void name##_destroy(name##_t*h) \ ^~~~ gfxpoly/poly.c:138:13: warning: 'hqueue_init' defined but not used [-Wunused-function] HEAP_DEFINE(hqueue,event_t,COMPARE_EVENTS_SIMPLE); ^ gfxpoly/heap.h:65:13: note: in definition of macro 'HEAP_DEFINE' static void name##_init(name##_t*h) \ ^~~~ gfxpoly/poly.c:138:13: warning: 'hqueue_get' defined but not used [-Wunused-function] HEAP_DEFINE(hqueue,event_t,COMPARE_EVENTS_SIMPLE); ^ gfxpoly/heap.h:44:11: note: in definition of macro 'HEAP_DEFINE' static t* name##_get(name##_t*h) \ ^~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/renderpoly.c -o gfxpoly/renderpoly.o gfxpoly/renderpoly.c: In function 'render_polygon': gfxpoly/renderpoly.c:145:9: warning: unused variable 's' [-Wunused-variable] int s,t; ^ gfxpoly/renderpoly.c: In function 'intbbox_from_polygon': gfxpoly/renderpoly.c:242:9: warning: unused variable 's' [-Wunused-variable] int s,t; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/stroke.c -o gfxpoly/stroke.o gfxpoly/stroke.c: In function 'draw_arc': gfxpoly/stroke.c:34:12: warning: variable 'lasty' set but not used [-Wunused-but-set-variable] double lasty = y+sin(a1)*r; ^~~~~ gfxpoly/stroke.c:33:12: warning: variable 'lastx' set but not used [-Wunused-but-set-variable] double lastx = x+cos(a1)*r; ^~~~~ gfxpoly/stroke.c: In function 'draw_single_stroke': gfxpoly/stroke.c:129:13: warning: unused variable 'py2' [-Wunused-variable] double py2 = p[pos+incr].y + addy; ^~~ gfxpoly/stroke.c:128:13: warning: unused variable 'px2' [-Wunused-variable] double px2 = p[pos+incr].x + addx; ^~~ gfxpoly/stroke.c:76:9: warning: unused variable 'pos' [-Wunused-variable] int pos = 0; ^~~ gfxpoly/stroke.c:107:5: warning: 'turn' may be used uninitialized in this function [-Wmaybe-uninitialized] if(turn!=LEFT || join==gfx_joinBevel) { ^ gfxpoly/stroke.c: In function 'draw_stroke': gfxpoly/stroke.c:181:92: warning: 'lasty' may be used uninitialized in this function [-Wmaybe-uninitialized] int parts = (int)(sqrt(fabs(line->x-2*line->sx+lastx) + fabs(line->y-2*line->sy+lasty))*SUBFRACTION); ~~~~~~~~~~~~~~~~~~^~~~~~ gfxpoly/stroke.c:181:59: warning: 'lastx' may be used uninitialized in this function [-Wmaybe-uninitialized] int parts = (int)(sqrt(fabs(line->x-2*line->sx+lastx) + fabs(line->y-2*line->sy+lasty))*SUBFRACTION); ~~~~~~~~~~~~~~~~~~^~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/wind.c -o gfxpoly/wind.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/xrow.c -o gfxpoly/xrow.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gfxpoly/moments.c -o gfxpoly/moments.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 devices/swf.c -o devices/swf.o devices/swf.c: In function 'init_internal_struct': devices/swf.c:254:6: warning: statement with no effect [-Wunused-value] i->fillstyleid; ~^~~~~~~~~~~~~ devices/swf.c:255:6: warning: statement with no effect [-Wunused-value] i->linestyleid; ~^~~~~~~~~~~~~ devices/swf.c: In function 'moveto': devices/swf.c:391:24: warning: unused variable 'i' [-Wunused-variable] swfoutput_internal*i = (swfoutput_internal*)dev->internal; ^ devices/swf.c: In function 'chararray_writetotag': devices/swf.c:636:9: warning: variable 'lastchar' set but not used [-Wunused-but-set-variable] int lastchar; ^~~~~~~~ devices/swf.c: In function 'swf_endframe': devices/swf.c:1131:10: warning: statement with no effect [-Wunused-value] for(i->depth;i->depth>i->startdepth;i->depth--) { ~^~~~~~~ devices/swf.c:1138:7: warning: statement with no effect [-Wunused-value] for(i->currentswfid;i->currentswfid>i->startids;i->currentswfid--) { ~^~~~~~~~~~~~~~ devices/swf.c: In function 'startshape': devices/swf.c:1236:11: warning: unused variable 'r' [-Wunused-variable] SRECT r; ^ devices/swf.c: In function 'changeRect': devices/swf.c:1294:24: warning: unused variable 'i' [-Wunused-variable] swfoutput_internal*i = (swfoutput_internal*)dev->internal; ^ devices/swf.c: In function 'drawgfxline': devices/swf.c:1836:10: warning: variable 'lastwasmoveto' set but not used [-Wunused-but-set-variable] char lastwasmoveto; ^~~~~~~~~~~~~ devices/swf.c:1835:37: warning: variable 'py' set but not used [-Wunused-but-set-variable] gfxcoord_t lastx=0,lasty=0,px=0,py=0; ^~ devices/swf.c:1835:32: warning: variable 'px' set but not used [-Wunused-but-set-variable] gfxcoord_t lastx=0,lasty=0,px=0,py=0; ^~ devices/swf.c: In function 'drawlink': devices/swf.c:1999:58: warning: pointer targets in passing argument 6 of 'swf_ObjectPlace' differ in signedness [-Wpointer-sign] swf_ObjectPlace(i->tag, buttonid, getNewDepth(dev),&m,0,(U8*)name); ^ In file included from devices/swf.c:40:0: devices/../rfxswf.h:941:5: note: expected 'const char *' but argument is of type 'U8 * {aka unsigned char *}' int swf_ObjectPlace(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,const char* name); ^~~~~~~~~~~~~~~ devices/swf.c:2001:71: warning: pointer targets in passing argument 6 of 'swf_ObjectPlace' differ in signedness [-Wpointer-sign] swf_ObjectPlace(i->tag, buttonid, getNewDepth(dev),&i->page_matrix,0,(U8*)name); ^ In file included from devices/swf.c:40:0: devices/../rfxswf.h:941:5: note: expected 'const char *' but argument is of type 'U8 * {aka unsigned char *}' int swf_ObjectPlace(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,const char* name); ^~~~~~~~~~~~~~~ devices/swf.c:1877:9: warning: unused variable 'lsid' [-Wunused-variable] int lsid=0; ^~~~ devices/swf.c: In function 'gfxline_type': devices/swf.c:2540:9: warning: unused variable 'haszerosegments' [-Wunused-variable] int haszerosegments=0; ^~~~~~~~~~~~~~~ devices/swf.c: In function 'gfxline_has_dots': devices/swf.c:2569:9: warning: unused variable 'tmplines' [-Wunused-variable] int tmplines=0; ^~~~~~~~ devices/swf.c: In function 'swf_stroke': devices/swf.c:2663:9: warning: unused variable 'is_outside_page' [-Wunused-variable] int is_outside_page = !is_inside_page(dev, r.xmin, r.ymin) || !is_inside_page(dev, r.xmax, r.ymax); ^~~~~~~~~~~~~~~ devices/swf.c: In function 'swf_fill': devices/swf.c:2728:9: warning: unused variable 'is_outside_page' [-Wunused-variable] int is_outside_page = !is_inside_page(dev, r.xmin, r.ymin) || !is_inside_page(dev, r.xmax, r.ymax); ^~~~~~~~~~~~~~~ devices/swf.c: At top level: devices/swf.c:219:13: warning: 'swf_drawstroke' declared 'static' but never defined [-Wunused-function] static void swf_drawstroke(gfxdevice_t*dev, gfxline_t*line, gfxcoord_t width, gfxcolor_t*color, gfx_capType cap_style, gfx_joinType joint_style, gfxcoord_t miterLimit); ^~~~~~~~~~~~~~ devices/swf.c:1369:13: warning: 'endshape_noput' defined but not used [-Wunused-function] static void endshape_noput(gfxdevice_t*dev) ^~~~~~~~~~~~~~ devices/swf.c:1146:13: warning: 'setBackground' defined but not used [-Wunused-function] static void setBackground(gfxdevice_t*dev, int x1, int y1, int x2, int y2) ^~~~~~~~~~~~~ devices/swf.c:612:20: warning: 'chararray_reverse' defined but not used [-Wunused-function] static chararray_t*chararray_reverse(chararray_t*buf) ^~~~~~~~~~~~~~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashBitmap.cc -o xpdf/SplashBitmap.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashClip.cc -o xpdf/SplashClip.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashPattern.cc -o xpdf/SplashPattern.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashFontEngine.cc -o xpdf/SplashFontEngine.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashFontFile.cc -o xpdf/SplashFontFile.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashFontFileID.cc -o xpdf/SplashFontFileID.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ devices/swf.c: In function 'swf_stroke': devices/swf.c:2615:42: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] if(fabs(line->x - x) + fabs(line->y - y) < 0.01) { ~~~~~~~~^~~ devices/swf.c:2612:14: note: 'y' was declared here double x,y; ^ devices/swf.c:2615:22: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] if(fabs(line->x - x) + fabs(line->y - y) < 0.01) { ~~~~~~~~^~~ devices/swf.c:2612:12: note: 'x' was declared here double x,y; ^ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashScreen.cc -o xpdf/SplashScreen.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 readers/swf.c -o readers/swf2.o readers/swf.c: In function 'findimage': readers/swf.c:217:16: warning: unused variable 'img' [-Wunused-variable] gfximage_t*img = (gfximage_t*)c->data; ^~~ readers/swf.c: In function 'extractFrame': readers/swf.c:441:9: warning: unused variable 'insprite' [-Wunused-variable] int insprite = 0; ^~~~~~~~ readers/swf.c: In function 'renderCharacter': readers/swf.c:541:12: warning: unused variable 'line' [-Wunused-variable] SHAPELINE*line = shape.lines; ^~~~ readers/swf.c: In function 'swfpage_destroy': readers/swf.c:628:25: warning: unused variable 'i' [-Wunused-variable] swf_page_internal_t*i= (swf_page_internal_t*)swf_page->internal; ^ readers/swf.c: In function 'swfpage_rendersection': readers/swf.c:662:24: warning: unused variable 'pi' [-Wunused-variable] swf_doc_internal_t*pi = (swf_doc_internal_t*)page->parent->internal; ^~ readers/swf.c: In function 'swf_doc_setparameter': readers/swf.c:677:24: warning: unused variable 'i' [-Wunused-variable] swf_doc_internal_t*i= (swf_doc_internal_t*)gfx->internal; ^ readers/swf.c: In function 'swf_open': readers/swf.c:719:17: warning: unused variable 'd' [-Wunused-variable] gfxdevice_t d; ^ readers/swf.c:718:14: warning: unused variable 'r' [-Wunused-variable] render_t r; ^ readers/swf.c:717:9: warning: unused variable 'frame' [-Wunused-variable] int frame; ^~~~~ readers/swf.c:715:9: warning: unused variable 'tag' [-Wunused-variable] TAG*tag = 0; ^~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashPath.cc -o xpdf/SplashPath.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 readers/image.c -o readers/image.o g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashXPath.cc -o xpdf/SplashXPath.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ readers/image.c: In function 'imagepage_destroy': readers/image.c:24:27: warning: unused variable 'i' [-Wunused-variable] image_page_internal_t*i= (image_page_internal_t*)image_page->internal; ^ readers/image.c: In function 'imagepage_render': readers/image.c:31:27: warning: unused variable 'i' [-Wunused-variable] image_page_internal_t*i = (image_page_internal_t*)page->internal; ^ readers/image.c: In function 'imagepage_rendersection': readers/image.c:53:27: warning: unused variable 'i' [-Wunused-variable] image_page_internal_t*i = (image_page_internal_t*)page->internal; ^ readers/image.c: In function 'image_doc_setparameter': readers/image.c:92:26: warning: unused variable 'i' [-Wunused-variable] image_doc_internal_t*i= (image_doc_internal_t*)gfx->internal; ^ xpdf/SplashXPath.cc: In constructor 'SplashXPath::SplashXPath(SplashPath*, SplashCoord*, SplashCoord, GBool)': xpdf/SplashXPath.cc:65:19: warning: variable 'curSubpathX' set but not used [-Wunused-but-set-variable] int curSubpath, curSubpathX, i, j; ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/box.c -o gocr/box.o g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashXPathScanner.cc -o xpdf/SplashXPathScanner.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/database.c -o gocr/database.o g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashFTFontEngine.cc -o xpdf/SplashFTFontEngine.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gocr/database.c: In function 'load_db': gocr/database.c:58:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!fgets(s1, Blen, f1)) break; line++; ^~ gocr/database.c:58:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!fgets(s1, Blen, f1)) break; line++; ^~~~ gocr/database.c: In function 'out_env': gocr/database.c:218:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (x0<0) x0=0; if (x1>=b->x) x1=b->x-1; ^~ gocr/database.c:218:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (x0<0) x0=0; if (x1>=b->x) x1=b->x-1; ^~ gocr/database.c:219:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (y0<0) y0=0; if (y1>=b->y) y1=b->y-1; ^~ gocr/database.c:219:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (y0<0) y0=0; if (y1>=b->y) y1=b->y-1; ^~ gocr/database.c: In function 'ocr_db': gocr/database.c:401:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,200,stdin); /* including \n=0x0a */ ^~~~~~~~~~~~~~~~~~~~ xpdf/SplashFTFontEngine.cc: In member function 'SplashFontFile* SplashFTFontEngine::loadOpenTypeCFFFont(SplashFontFileID*, char*, GBool)': xpdf/SplashFTFontEngine.cc:118:9: warning: variable 'isCID' set but not used [-Wunused-but-set-variable] GBool isCID; ^~~~~ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashFTFontFile.cc -o xpdf/SplashFTFontFile.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I ./ -I xpdf xpdf/SplashFTFont.cc -o xpdf/SplashFTFont.o cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/detect.c -o gocr/detect.o gocr/detect.c: In function 'detect_lines1': gocr/detect.c:56:33: warning: variable 'mc' set but not used [-Wunused-but-set-variable] int i, jj, j2, y, yy, my, mi, mc, i1, i2, i3, i4, ^~ gocr/detect.c:56:14: warning: variable 'j2' set but not used [-Wunused-but-set-variable] int i, jj, j2, y, yy, my, mi, mc, i1, i2, i3, i4, ^~ rm -f ../libgfxpdf.a ar r ../libgfxpdf.a VectorGraphicOutputDev.o BitmapOutputDev.o FullBitmapOutputDev.o CharOutputDev.o CommonOutputDev.o InfoOutputDev.o XMLOutputDev.o pdf.o fonts.o bbox.o popplercompat.o xpdf/GHash.o xpdf/GList.o xpdf/GString.o xpdf/gmem.o xpdf/gfile.o xpdf/FoFiTrueType.o xpdf/FoFiType1.o xpdf/FoFiType1C.o xpdf/FoFiBase.o xpdf/FoFiEncodings.o xpdf/OutputDev.o xpdf/PDFDoc.o xpdf/Error.o xpdf/Stream.o xpdf/Object.o xpdf/Decrypt.o xpdf/Array.o xpdf/XRef.o xpdf/Dict.o xpdf/Parser.o xpdf/Lexer.o xpdf/Outline.o xpdf/PDFDocEncoding.o xpdf/Catalog.o xpdf/Link.o xpdf/GlobalParams.o xpdf/JBIG2Stream.o xpdf/Page.o xpdf/JPXStream.o xpdf/JArithmeticDecoder.o xpdf/Gfx.o xpdf/GfxFont.o xpdf/CMap.o xpdf/CharCodeToUnicode.o xpdf/PSTokenizer.o xpdf/FontEncodingTables.o xpdf/BuiltinFont.o xpdf/BuiltinFontTables.o xpdf/GfxState.o xpdf/Function.o xpdf/Annot.o xpdf/NameToCharCode.o xpdf/UnicodeMap.o xpdf/SecurityHandler.o xpdf/TextOutputDev.o xpdf/UnicodeTypeTable.o xpdf/SplashOutputDev.o xpdf/SplashFont.o xpdf/SplashState.o xpdf/Splash.o xpdf/SplashBitmap.o xpdf/SplashClip.o xpdf/SplashPattern.o xpdf/SplashFontEngine.o xpdf/SplashFontFile.o xpdf/SplashFontFileID.o xpdf/SplashScreen.o xpdf/SplashPath.o xpdf/SplashXPath.o xpdf/SplashXPathScanner.o xpdf/SplashFTFontEngine.o xpdf/SplashFTFontFile.o xpdf/SplashFTFont.o ar: creating ../libgfxpdf.a ranlib ../libgfxpdf.a make[2]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib/pdf' gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/job.c -o gocr/job.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/lines.c -o gocr/lines.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/list.c -o gocr/list.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/ocr0.c -o gocr/ocr0.o gocr/ocr0.c: In function 'testumlaut': gocr/ocr0.c:359:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getpixel(box1->p,xl+i,yu+i)< cs) break; i3=i; ^~ gocr/ocr0.c:359:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (getpixel(box1->p,xl+i,yu+i)< cs) break; i3=i; ^~ gocr/ocr0.c:358:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0;ip,xl+i,yu+i)< cs) break; i3=i; ^~ gocr/ocr0.c:361:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getpixel(box1->p,xl+i,yu+i)>=cs) break; i3=i-i3; ^~ gocr/ocr0.c:361:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (getpixel(box1->p,xl+i,yu+i)>=cs) break; i3=i-i3; ^~ gocr/ocr0.c:360:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for ( ;ip,xl+i,yu+i)>=cs) break; i3=i-i3; ^~ gocr/ocr0.c:363:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getpixel(box1->p,xr-i,yu+i)< cs) break; i4=i; ^~ gocr/ocr0.c:363:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (getpixel(box1->p,xr-i,yu+i)< cs) break; i4=i; ^~ gocr/ocr0.c:362:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0;ip,xr-i,yu+i)< cs) break; i4=i; ^~ gocr/ocr0.c:365:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getpixel(box1->p,xr-i,yu+i)>=cs) break; i4=i-i4; ^~ gocr/ocr0.c:365:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (getpixel(box1->p,xr-i,yu+i)>=cs) break; i4=i-i4; ^~ gocr/ocr0.c:364:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for ( ;ip,xr-i,yu+i)>=cs) break; i4=i-i4; ^~ gocr/ocr0.c:241:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] int r,y,x,x0,x1,y0,y1,dx,dy,m1,m2,m3, ^ gocr/ocr0.c: In function 'ocr0_eE': gocr/ocr0.c:591:22: warning: variable 'i4' set but not used [-Wunused-but-set-variable] int i1, i2, i3, i4, i5; // line derivation + corners ^~ gocr/ocr0.c:591:14: warning: variable 'i2' set but not used [-Wunused-but-set-variable] int i1, i2, i3, i4, i5; // line derivation + corners ^~ gocr/ocr0.c: In function 'ocr0_n': gocr/ocr0.c:729:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( i>y ) y=i; if( iy ) y=i; if( ihchar,gchar=sdata->gchar, ^~ gocr/ocr0.c:797:14: warning: variable 'i0' set but not used [-Wunused-but-set-variable] int d,x,y,i0,i1,i2,i3,t1,hchar=sdata->hchar,gchar=sdata->gchar, ^~ gocr/ocr0.c: In function 'ocr0_h': gocr/ocr0.c:1055:10: warning: variable 'i1' set but not used [-Wunused-but-set-variable] int i1, i2, i3, i4, i5, i6, i7, i8; // line derivation + corners ^~ gocr/ocr0.c: In function 'ocr0_k': gocr/ocr0.c:1341:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] i =loop(bp,dx-1,dy-1,dx,cs,0,LE); if(i>dx/2) ^~ gocr/ocr0.c:1342:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' i =loop(bp,dx-1,dy-2,dx,cs,0,LE); if(i>dx/2) Break; ^~ gocr/ocr0.c:1265:37: warning: variable 'i7' set but not used [-Wunused-but-set-variable] int d, i1, i2, i3, i4, i5, i6, i7, i8; // line derivation + corners ^~ gocr/ocr0.c: In function 'ocr0_K': gocr/ocr0.c:1376:12: warning: variable 'i1' set but not used [-Wunused-but-set-variable] int i,j,i1,i2,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar, ^~ gocr/ocr0.c: In function 'ocr0_f': gocr/ocr0.c:1517:41: warning: variable 'i8' set but not used [-Wunused-but-set-variable] int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners ^~ gocr/ocr0.c:1517:33: warning: variable 'i6' set but not used [-Wunused-but-set-variable] int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners ^~ gocr/ocr0.c:1517:25: warning: variable 'i4' set but not used [-Wunused-but-set-variable] int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners ^~ gocr/ocr0.c: In function 'ocr0_micro': gocr/ocr0.c:2128:18: warning: variable 'i2' set but not used [-Wunused-but-set-variable] int i,j,d,x,y,i2,hchar=sdata->hchar,gchar=sdata->gchar, ^~ gocr/ocr0.c: In function 'ocr0_m': gocr/ocr0.c:2491:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( i>y ) y=i; if( 2*iy ) y=i; if( 2*ihchar,gchar=sdata->gchar, ^~ gocr/ocr0.c:2534:16: warning: variable 'i3' set but not used [-Wunused-but-set-variable] int i,i1,i2,i3,i4,j,d,x,y,yb,hchar=sdata->hchar,gchar=sdata->gchar, ^~ gocr/ocr0.c: In function 'ocr0_gG': gocr/ocr0.c:2835:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation] y =loop(bp,dx/16,0,dy,cs,0,DO); if(y<=dy/8) ^~ gocr/ocr0.c:2836:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' y+=loop(bp,dx/16,y,dy,cs,1,DO); if(16*y>=15*dy) Break; // ~B ^~ gocr/ocr0.c: In function 'ocr0_xX': gocr/ocr0.c:3020:27: warning: variable 'i4' set but not used [-Wunused-but-set-variable] int ld, i1, i2, i3, i4; // lien derivation, 4 inner edges ^~ gocr/ocr0.c:3020:19: warning: variable 'i2' set but not used [-Wunused-but-set-variable] int ld, i1, i2, i3, i4; // lien derivation, 4 inner edges ^~ gocr/ocr0.c: In function 'ocr0_wW': gocr/ocr0.c:3422:56: warning: variable 'handwritten' set but not used [-Wunused-but-set-variable] int i,j,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar,handwritten=0, ^~~~~~~~~~~ gocr/ocr0.c: In function 'ocr0_aA': gocr/ocr0.c:3609:46: warning: this 'if' clause does not guard... [-Wmisleading-indentation] i4=num_cross(i2,x,y ,dy-1,bp,cs);if(i4<1 || i4>2) ^~ gocr/ocr0.c:3610:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' i4=num_cross(i2,x,y+dy/16,dy-1,bp,cs);if(i4<1 || i4>2) break; ^~ gocr/ocr0.c:3634:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i1+i2>i3+dx/16) break; if( i1+12i3+dx/16) break; if( i1+122) ^~ gocr/ocr0.c:3807:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' i4=num_cross(i2,x,y+dy/16,dy-1,bp,cs);if(i4<1 || i4>2) break; ^~ gocr/ocr0.c:3833:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i1+i2>i3+dx/16) break; if( i1+12i3+dx/16) break; if( i1+12 2 ) i++; if(i>dy/8) Break; // ~a \it a ^~ gocr/ocr0.c:4530:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if(i>dy/8) Break; // ~a \it a ^~ gocr/ocr0.c:4529:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0,y=0;y 2 ) i++; if(i>dy/8) Break; // ~a \it a ^~ gocr/ocr0n.c: In function 'ocr0n': gocr/ocr0n.c:277:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( x==j ) j =loop(bp,0,dy/8,dx,cs,0,RI); if( j>x && !i4) Break; ^~ gocr/ocr0n.c:277:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( x==j ) j =loop(bp,0,dy/8,dx,cs,0,RI); if( j>x && !i4) Break; ^~ gocr/ocr0n.c:866:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( num_cross(dx/2,dx-1,y,y,bp,cs) > 1 ) i++; if( i>dy/8 ) break; ^~ gocr/ocr0n.c:866:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( num_cross(dx/2,dx-1,y,y,bp,cs) > 1 ) i++; if( i>dy/8 ) break; ^~ gocr/ocr0n.c:934:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (j>x) x=j; i=y; if (i1>i2) i2=i1; } ^~ gocr/ocr0n.c:934:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (j>x) x=j; i=y; if (i1>i2) i2=i1; } ^ gocr/ocr0n.c:960:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (j>x) x=j; i=y; } ^~ gocr/ocr0n.c:960:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (j>x) x=j; i=y; } ^ gocr/ocr0n.c:979:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( ji+dx/16 ) break; ^~ gocr/ocr0n.c:979:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( ji+dx/16 ) break; ^~ gocr/ocr0n.c:984:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if( i>dy/8 ) break; ^~ gocr/ocr0n.c:984:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if( i>dy/8 ) break; ^~ gocr/ocr0n.c:1117:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ix) x=i; ^~ gocr/ocr0n.c:1117:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ix) x=i; ^~ gocr/ocr0n.c:76:12: warning: variable 'bc' set but not used [-Wunused-but-set-variable] wchar_t bc=UNKNOWN; // best char ^~ gocr/ocr0n.c:73:18: warning: variable 'yb' set but not used [-Wunused-but-set-variable] int xa,xb,ya,yb, /* tmp-vars */ ^~ gocr/ocr0n.c:73:15: warning: variable 'ya' set but not used [-Wunused-but-set-variable] int xa,xb,ya,yb, /* tmp-vars */ ^~ gocr/ocr0.c: In function 'ocr0p9': gocr/ocr0.c:5425:8: warning: variable 'dbg' set but not used [-Wunused-but-set-variable] dbg[9]={0,0,0,0,0,0,0,0,0}, /* debugging space */ ^~~ gocr/ocr0.c:5423:17: warning: variable 'i4' set but not used [-Wunused-but-set-variable] i1,i2,i3,i4; /* tmp-vars */ ^~ gocr/ocr0.c: In function 'ocr0px': gocr/ocr0.c:5831:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( j>10*dx/16 ) i=0; if ( j>j1 ) j1=j; } ^~ gocr/ocr0.c:5831:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( j>10*dx/16 ) i=0; if ( j>j1 ) j1=j; } ^~ gocr/ocr0.c:5850:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( i<=dx/2 ) break; ya-=y0; ^~ gocr/ocr0.c:5850:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( i<=dx/2 ) break; ya-=y0; ^~ gocr/ocr0.c:5803:17: warning: variable 'i4' set but not used [-Wunused-but-set-variable] i1,i2,i3,i4,j1,cs=sdata->cs; /* tmp-vars */ ^~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/ocr1.c -o gocr/ocr1.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/otsu.c -o gocr/otsu.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/output.c -o gocr/output.o gocr/output.c: In function 'out_b': gocr/output.c:34:27: warning: variable 'n1' set but not used [-Wunused-but-set-variable] int x,y,x2,y2,yy0,tx,ty,n1,i; ^~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gocr/pgm2asc.c -o gocr/pgm2asc.o gocr/pgm2asc.c: In function 'glue_holes_inside_chars': gocr/pgm2asc.c:1569:11: warning: variable 'cs' set but not used [-Wunused-but-set-variable] int ii, cs, x0, y0, x1, y1, cnt=0, ^~ gocr/pgm2asc.c: In function 'glue_broken_chars': gocr/pgm2asc.c:1700:33: warning: variable 'box6' set but not used [-Wunused-but-set-variable] struct box *box5=NULL, *box6=NULL; // nearest and next nearest box ^~~~ gocr/pgm2asc.c: In function 'find_same_chars': gocr/pgm2asc.c:1903:25: warning: variable 'box4' set but not used [-Wunused-but-set-variable] struct box *box3,*box4; ^~~~ gocr/pgm2asc.c:1866:52: warning: variable 'box4' set but not used [-Wunused-but-set-variable] int i,k,d,cs,dist,n1,dx; struct box *box2,*box3,*box4,*box5; ^~~~ gocr/pgm2asc.c: In function 'char_recognition': gocr/pgm2asc.c:1944:27: warning: variable 'y1' set but not used [-Wunused-but-set-variable] int i,ii,ni,cs,x0,y0,x1,y1; ^~ gocr/pgm2asc.c:1944:24: warning: variable 'x1' set but not used [-Wunused-but-set-variable] int i,ii,ni,cs,x0,y0,x1,y1; ^~ gocr/pgm2asc.c:1944:21: warning: variable 'y0' set but not used [-Wunused-but-set-variable] int i,ii,ni,cs,x0,y0,x1,y1; ^~ gocr/pgm2asc.c:1944:18: warning: variable 'x0' set but not used [-Wunused-but-set-variable] int i,ii,ni,cs,x0,y0,x1,y1; ^~ gocr/ocr0.c: In function 'ocr0_wW': gocr/ocr0.c:3511:56: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] x=loop(bp,dx-1,y,dx,cs,0,LE); if( x>i ) i=x; if( xinternal; ^ devices/ocr.c: In function 'ocr_result_destroy': devices/ocr.c:137:9: warning: unused variable 't' [-Wunused-variable] int t; ^ rm -f librfxswf.a ar r librfxswf.a modules/swfaction.o modules/swfbits.o modules/swfbutton.o modules/swfcgi.o modules/swfdraw.o modules/swfdump.o modules/swffilter.o modules/swffont.o modules/swfobject.o modules/swfrender.o modules/swfshape.o modules/swfsound.o modules/swftext.o modules/swftools.o modules/swfalignzones.o rfxswf.o drawer.o h.263/dct.o h.263/h263tables.o h.263/swfvideo.o action/assembler.o action/compile.o action/lex.swf4.o action/lex.swf5.o action/libming.o action/swf4compiler.tab.o action/swf5compiler.tab.o action/actioncompiler.o as3/abc.o as3/pool.o as3/files.o as3/opcodes.o as3/code.o as3/registry.o as3/builtin.o as3/tokenizer.yy.o as3/parser.tab.o as3/scripts.o as3/compiler.o as3/import.o as3/expr.o as3/parser_help.o as3/state.o as3/common.o as3/initcode.o as3/assets.o ar: creating librfxswf.a ranlib librfxswf.a rm -f libbase.a ar r libbase.a q.o base64.o utf8.o png.o jpeg.o wav.o mp3.o os.o bitio.o log.o mem.o xml.o ttf.o kdtree.o graphcut.o ar: creating libbase.a ranlib libbase.a rm -f libgfx.a ar r libgfx.a gfximage.o gfxtools.o gfxfont.o gfxfilter.o devices/dummy.o devices/file.o devices/render.o devices/text.o devices/record.o devices/ops.o devices/polyops.o devices/bbox.o devices/rescale.o filters/alpha.o filters/remove_font_transforms.o filters/one_big_font.o filters/vectors_to_glyphs.o filters/remove_invisible_characters.o filters/flatten.o filters/rescale_images.o gfxpoly/active.o gfxpoly/convert.o gfxpoly/poly.o gfxpoly/renderpoly.o gfxpoly/stroke.o gfxpoly/wind.o gfxpoly/xrow.o gfxpoly/moments.o ar: creating libgfx.a ranlib libgfx.a rm -f libgfxswf.a ar r libgfxswf.a devices/swf.o readers/swf2.o readers/image.o ar: creating libgfxswf.a ranlib libgfxswf.a rm -f libocr.a ar r libocr.a gocr/box.o gocr/database.o gocr/detect.o gocr/job.o gocr/lines.o gocr/list.o gocr/ocr0.o gocr/ocr0n.o gocr/ocr1.o gocr/otsu.o gocr/output.o gocr/pgm2asc.o gocr/pixel.o gocr/progress.o gocr/remove.o gocr/unicode.o devices/ocr.o ar: creating libocr.a ranlib libocr.a make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib' making all in lib/pdf... cd lib/pdf;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib/pdf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib/pdf' making all in lib... cd lib;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib' making all in lib/python... cd lib/python;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib/python' gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -Wall -Wno-unused -fPIC -I/usr/include/python2.7 -I/usr/include/python2.7/Imaging/ -c gfx.c -o gfx.o gfx.c: In function 'output_print': gfx.c:903:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gfx.c: In function 'glyph_print': gfx.c:941:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gfx.c: In function 'font_print': gfx.c:999:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", self->gfxfont->id, _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gfx.c: In function 'char_print': gfx.c:1087:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gfx.c: In function 'page_print': gfx.c:1294:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gfx.c: In function 'doc_print': gfx.c:1512:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gfx.c: In function 'gfx_kdtree_print': gfx.c:1547:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gfx.c: In function 'gfx_bitmap_print': gfx.c:1665:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Py_ssize_t {aka long int}' [-Wformat=] fprintf(fi, "", _self, _self?_self->ob_refcnt:0); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %ld gcc -DHAVE_CONFIG_H -g -shared gfx.o -o gfx.so ../libgfxpdf.a ../libgfxswf.a ../librfxswf.a ../libgfx.a ../libocr.a ../libbase.a -lpython2.7 -lpthread -ldl -lutil -lm -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype -lstdc++ make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib/python' making all in lib/ruby... cd src;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/src' gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 wav2swf.c -o wav2swf.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 png2swf.c -o png2swf.o png2swf.c: In function 'args_callback_usage': png2swf.c:780:70: warning: ' ' flag used with '%s' gnu_printf format [-Wformat=] printf("-s , --scale Scale image to % size.\n"); ^ png2swf.c:780:70: warning: format '%s' expects a matching 'char *' argument [-Wformat=] printf("-s , --scale Scale image to % size.\n"); ~~^ png2swf.c: In function 'png_get_dword': png2swf.c:146:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&a,4,1,fi); ^~~~~~~~~~~~~~~~ png2swf.c: In function 'png_read_header': png2swf.c:166:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(head2,8,1,fi); ^~~~~~~~~~~~~~~~~~~ In file included from png2swf.c:28:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ wav2swf.c: In function 'main': wav2swf.c:312:32: warning: pointer targets in passing argument 2 of 'swf_SetSoundStreamBlock' differ in signedness [-Wpointer-sign] swf_SetSoundStreamBlock(tag, block1, seek, 1); ^~~~~~ In file included from wav2swf.c:24:0: ../lib/rfxswf.h:750:6: note: expected 'S16 * {aka short int *}' but argument is of type 'U16 * {aka short unsigned int *}' void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first); /* expects 2304 samples */ ^~~~~~~~~~~~~~~~~~~~~~~ wav2swf.c:317:32: warning: pointer targets in passing argument 2 of 'swf_SetSoundStreamBlock' differ in signedness [-Wpointer-sign] swf_SetSoundStreamBlock(tag, block1, seek, 0); ^~~~~~ In file included from wav2swf.c:24:0: ../lib/rfxswf.h:750:6: note: expected 'S16 * {aka short int *}' but argument is of type 'U16 * {aka short unsigned int *}' void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first); /* expects 2304 samples */ ^~~~~~~~~~~~~~~~~~~~~~~ wav2swf.c:298:13: warning: unused variable 'a' [-Wunused-variable] ActionTAG* a = 0; ^ wav2swf.c:338:33: warning: pointer targets in passing argument 2 of 'swf_SetSoundDefine' differ in signedness [-Wpointer-sign] swf_SetSoundDefine(tag, samples, numsamples); ^~~~~~~ In file included from wav2swf.c:24:0: ../lib/rfxswf.h:751:6: note: expected 'S16 * {aka short int *}' but argument is of type 'U16 * {aka short unsigned int *}' void swf_SetSoundDefine(TAG*tag, S16*samples, int num); ^~~~~~~~~~~~~~~~~~ wav2swf.c:205:11: warning: variable 'samplesperblock' set but not used [-Wunused-but-set-variable] float samplesperblock; ^~~~~~~~~~~~~~~ wav2swf.c:197:9: warning: unused variable 'count' [-Wunused-variable] int count; ^~~~~ wav2swf.c:196:17: warning: unused variable 'fs1' [-Wunused-variable] int f,i,ls1,fs1; ^~~ wav2swf.c:196:13: warning: unused variable 'ls1' [-Wunused-variable] int f,i,ls1,fs1; ^~~ wav2swf.c:196:11: warning: unused variable 'i' [-Wunused-variable] int f,i,ls1,fs1; ^ wav2swf.c:192:11: warning: unused variable 'r' [-Wunused-variable] SRECT r; ^ In file included from wav2swf.c:26:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfcombine.c -o swfcombine.o swfcombine.c: In function 'args_callback_usage': swfcombine.c:324:95: warning: unknown conversion type character '=' in format [-Wformat=] printf("-s , --scale Adjust size of slave by percent (e.g. 100% = original size)\n"); ^ swfcombine.c: In function 'makestackmaster': swfcombine.c:366:6: warning: unused variable 'ret' [-Wunused-variable] int ret; ^~~ swfcombine.c: In function 'jpeg_assert': swfcombine.c:480:9: warning: variable 'pos' set but not used [-Wunused-but-set-variable] int pos; ^~~ swfcombine.c: In function 'changedepth': swfcombine.c:585:17: warning: unused variable 'obj' [-Wunused-variable] SWFPLACEOBJECT obj; ^~~ swfcombine.c: In function 'write_sprite': swfcombine.c:677:10: warning: variable 'definespritetag' set but not used [-Wunused-but-set-variable] TAG* definespritetag; ^~~~~~~~~~~~~~~ swfcombine.c: In function 'catcombine': swfcombine.c:980:6: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ swfcombine.c:979:7: warning: unused variable 'data' [-Wunused-variable] char data[16]; ^~~~ swfcombine.c: In function 'normalcombine': swfcombine.c:1081:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char * name = tag->data; ^~~ swfcombine.c:1005:10: warning: unused variable 'framelabel' [-Wunused-variable] char*framelabel; ^~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfstrings.c -o swfstrings.o In file included from swfcombine.c:26:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ swfstrings.c: In function 'textcallback': swfstrings.c:153:6: warning: unused variable 'advance' [-Wunused-variable] int advance = 0; ^~~~~~~ swfstrings.c: In function 'fontcallback': swfstrings.c:180:8: warning: variable 't' set but not used [-Wunused-but-set-variable] TAG* t; ^ In file included from swfstrings.c:25:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfextract.c -o swfextract.o swfextract.c: In function 'extractTag': swfextract.c:425:10: warning: unused variable 'ttag' [-Wunused-variable] TAG*ttag = (TAG*)malloc(sizeof(TAG)); ^~~~ swfextract.c: In function 'listObjects': swfextract.c:600:11: warning: unused variable 'text' [-Wunused-variable] char text[80]; ^~~~ swfextract.c: In function 'handlefont': swfextract.c:653:9: warning: unused variable 't' [-Wunused-variable] int t; ^ swfextract.c: In function 'handlelossless': swfextract.c:890:9: warning: unused variable 'tmp32' [-Wunused-variable] U32 tmp32; ^~~~~ swfextract.c:877:8: warning: unused variable 'tmp' [-Wunused-variable] U8 tmp; ^~~ swfextract.c:872:9: warning: unused variable 'crc' [-Wunused-variable] int crc; ^~~ swfextract.c: In function 'handledefinesound': swfextract.c:1095:9: warning: variable 'samples' set but not used [-Wunused-but-set-variable] U32 samples; ^~~~~~~ In file included from swfextract.c:26:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfdump.c -o swfdump.o swfdump.c: In function 'dumpButton2Actions': swfdump.c:240:10: warning: unused variable 'a' [-Wunused-variable] { U8 a; ^ swfdump.c: In function 'handleDefineSound': swfdump.c:448:9: warning: unused variable 'id' [-Wunused-variable] U16 id = swf_GetU16(tag); ^~ swfdump.c: In function 'handleDefineBits': swfdump.c:476:9: warning: unused variable 'bpp' [-Wunused-variable] int bpp; ^~~ swfdump.c:473:9: warning: variable 'id' set but not used [-Wunused-but-set-variable] U16 id; ^~ swfdump.c: In function 'handleEditText': swfdump.c:492:9: warning: unused variable 't' [-Wunused-variable] int t; ^ swfdump.c:490:9: warning: variable 'id' set but not used [-Wunused-but-set-variable] U16 id ; ^~ swfdump.c: In function 'handleVideoStream': swfdump.c:566:9: warning: unused variable 'id' [-Wunused-variable] U16 id = swf_GetU16(tag); ^~ swfdump.c: In function 'handleVideoFrame': swfdump.c:587:28: warning: unused variable 'bit' [-Wunused-variable] U8 deblock,flags, tmp, bit; ^~~ swfdump.c:587:23: warning: unused variable 'tmp' [-Wunused-variable] U8 deblock,flags, tmp, bit; ^~~ swfdump.c:587:16: warning: unused variable 'flags' [-Wunused-variable] U8 deblock,flags, tmp, bit; ^~~~~ swfdump.c:585:9: warning: unused variable 'id' [-Wunused-variable] U16 id = swf_GetU16(tag); ^~ swfdump.c:582:24: warning: variable 'reference' set but not used [-Wunused-but-set-variable] U32 code, version, reference, sizeflags; ^~~~~~~~~ swfdump.c:582:15: warning: variable 'version' set but not used [-Wunused-but-set-variable] U32 code, version, reference, sizeflags; ^~~~~~~ swfdump.c:582:9: warning: variable 'code' set but not used [-Wunused-but-set-variable] U32 code, version, reference, sizeflags; ^~~~ swfdump.c: In function 'handlePlaceObject23': swfdump.c:784:10: warning: unused variable 't' [-Wunused-variable] int t; ^ swfdump.c: In function 'handleFontAlign1': swfdump.c:1015:12: warning: unused variable 'v2' [-Wunused-variable] float v2 = swf_GetF16(tag); ^~ swfdump.c:1014:12: warning: unused variable 'v1' [-Wunused-variable] float v1 = swf_GetF16(tag); ^~ swfdump.c:1017:5: warning: unused variable 'xyflags' [-Wunused-variable] U8 xyflags = swf_GetU8(tag); ^~~~~~~ swfdump.c: In function 'main': swfdump.c:1445:10: warning: unused variable 'id' [-Wunused-variable] U16 id = swf_GetU16(tag); ^~ swfdump.c:1500:10: warning: unused variable 'id' [-Wunused-variable] U16 id = swf_GetU16(tag); ^~ swfdump.c:1508:10: warning: unused variable 'id' [-Wunused-variable] U16 id = swf_GetU16(tag); ^~ swfdump.c:1151:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, header, 3); ^~~~~~~~~~~~~~~~~~ In file included from swfdump.c:41:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 parser.yy.c -o parser.o parser.lex: In function 'unescapeString': parser.lex:85:10: warning: unused variable 't' [-Wunused-variable] int t; ^ parser.lex: In function 'generateTokens': parser.lex:289:9: warning: variable 'num' set but not used [-Wunused-but-set-variable] ^ At top level: parser.yy.c:1541:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, register char * yy_bp ) ^~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfc.c -o swfc.o swfc.c: In function 's_swf': swfc.c:609:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(swf, 0, sizeof(swf)); ^ swfc.c: In function 's_buttonput': swfc.c:719:9: warning: unused variable 'flags' [-Wunused-variable] int flags = 0; ^~~~~ swfc.c: In function 'setPlacement': swfc.c:916:16: warning: unused variable 'flist' [-Wunused-variable] FILTERLIST flist; ^~~~~ swfc.c: In function 's_endSprite': swfc.c:981:17: warning: unused variable 'i' [-Wunused-variable] instance_t *i; ^ swfc.c: In function 's_filled': swfc.c:1259:13: warning: variable 'fs1' set but not used [-Wunused-but-set-variable] int ls1,fs1=0; ^~~ swfc.c:1259:9: warning: variable 'ls1' set but not used [-Wunused-but-set-variable] int ls1,fs1=0; ^~~ swfc.c: In function 's_text': swfc.c:1370:16: warning: unused variable 'm' [-Wunused-variable] MATRIX _m,*m=0; ^ swfc.c:1370:12: warning: unused variable '_m' [-Wunused-variable] MATRIX _m,*m=0; ^~ swfc.c: In function 's_quicktime': swfc.c:1400:16: warning: unused variable 'm' [-Wunused-variable] MATRIX _m,*m=0; ^ swfc.c:1400:12: warning: unused variable '_m' [-Wunused-variable] MATRIX _m,*m=0; ^~ swfc.c: In function 's_image': swfc.c:1484:28: warning: pointer targets in passing argument 2 of 'swf_GetJPEGSize' differ in signedness [-Wpointer-sign] swf_GetJPEGSize(filename, &width, &height); ^ In file included from swfc.c:30:0: ../lib/rfxswf.h:722:6: note: expected 'int *' but argument is of type 'unsigned int *' void swf_GetJPEGSize(const char * fname, int*width, int*height); ^~~~~~~~~~~~~~~ swfc.c:1484:36: warning: pointer targets in passing argument 3 of 'swf_GetJPEGSize' differ in signedness [-Wpointer-sign] swf_GetJPEGSize(filename, &width, &height); ^ In file included from swfc.c:30:0: ../lib/rfxswf.h:722:6: note: expected 'int *' but argument is of type 'unsigned int *' void swf_GetJPEGSize(const char * fname, int*width, int*height); ^~~~~~~~~~~~~~~ swfc.c: In function 's_sound': swfc.c:1670:13: warning: unused variable 't' [-Wunused-variable] int t; ^ swfc.c:1722:33: warning: pointer targets in passing argument 2 of 'swf_SetSoundDefine' differ in signedness [-Wpointer-sign] swf_SetSoundDefine(tag, samples, numsamples); ^~~~~~~ In file included from swfc.c:30:0: ../lib/rfxswf.h:751:6: note: expected 'S16 * {aka short int *}' but argument is of type 'U16 * {aka short unsigned int *}' void swf_SetSoundDefine(TAG*tag, S16*samples, int num); ^~~~~~~~~~~~~~~~~~ swfc.c: In function 's_outline': swfc.c:2024:13: warning: unused variable 'shape2' [-Wunused-variable] SHAPE2* shape2; ^~~~~~ swfc.c: In function 's_includeswf': swfc.c:2069:10: warning: variable 's' set but not used [-Wunused-but-set-variable] TAG* s; ^ swfc.c: In function 'parseRawTwip': swfc.c:2460:6: warning: unused variable 't' [-Wunused-variable] int t; ^ swfc.c:2459:6: warning: unused variable 'l' [-Wunused-variable] int l=strlen(str); ^ swfc.c: In function 'parseNameOrTwip': swfc.c:2505:12: warning: unused variable 'v' [-Wunused-variable] double v; ^ swfc.c: In function 'parseExpression': swfc.c:2567:21: warning: array subscript has type 'char' [-Wchar-subscripts] if(chr2index[*p]<0) { ^ swfc.c:2570:32: warning: array subscript has type 'char' [-Wchar-subscripts] while(chr2index[*pnext]<0) ^ swfc.c:2578:56: warning: array subscript has type 'char' [-Wchar-subscripts] action = table[stack[stackpos-1]][chr2index[*p]]; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfc-feedback.c -o swfc-feedback.o swfc.c: In function 'texture2': swfc.c:3015:11: warning: unused variable 'r' [-Wunused-variable] float r = 0; ^ swfc.c:3001:16: warning: unused variable 'size' [-Wunused-variable] SPOINT pos,size; ^~~~ swfc.c:3001:12: warning: unused variable 'pos' [-Wunused-variable] SPOINT pos,size; ^~~ swfc.c: In function 'c_movement': swfc.c:3300:11: warning: unused variable 'oldbbox' [-Wunused-variable] SRECT oldbbox; ^~~~~~~ swfc.c: In function 'c_placement': swfc.c:3409:18: warning: unused variable 'a' [-Wunused-variable] MULADD r,g,b,a; ^ swfc.c:3409:16: warning: unused variable 'b' [-Wunused-variable] MULADD r,g,b,a; ^ swfc.c:3409:14: warning: unused variable 'g' [-Wunused-variable] MULADD r,g,b,a; ^ swfc.c:3409:12: warning: unused variable 'r' [-Wunused-variable] MULADD r,g,b,a; ^ swfc.c:3398:16: warning: unused variable 'below' [-Wunused-variable] const char*below = lu(args, "below"); ^~~~~ swfc.c:3397:16: warning: unused variable 'above' [-Wunused-variable] const char*above = lu(args, "above"); /*FIXME*/ ^~~~~ swfc.c:3396:27: warning: variable 'anglestr' set but not used [-Wunused-but-set-variable] const char* ystr="", *anglestr=""; ^~~~~~~~ swfc.c: In function 'c_frame': swfc.c:3784:10: warning: unused variable 'buf' [-Wunused-variable] char buf[40]; ^~~ swfc.c: In function 'c_primitive': swfc.c:3822:10: warning: unused variable 'fill' [-Wunused-variable] RGBA fill; ^~~~ swfc.c:3820:17: warning: unused variable 'text' [-Wunused-variable] const char* text; ^~~~ swfc.c:3819:17: warning: unused variable 'font' [-Wunused-variable] const char* font; ^~~~ swfc.c:3817:9: warning: unused variable 'dofill' [-Wunused-variable] int dofill = 1; ^~~~~~ swfc.c: In function 'analyseArgumentsForCommand': swfc.c:4489:9: warning: unused variable 'glyphs_to_include' [-Wunused-variable] U8* glyphs_to_include; ^~~~~~~~~~~~~~~~~ swfc.c:4488:9: warning: variable 'nr' set but not used [-Wunused-but-set-variable] int nr = -1; ^~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfc-history.c -o swfc-history.o swfc.c: In function 'main': swfc.c:4567:9: warning: variable 't' set but not used [-Wunused-but-set-variable] int t; ^ At top level: swfc.c:3717:12: warning: 'c_arcchange' defined but not used [-Wunused-function] static int c_arcchange(map_t*args) ^~~~~~~~~~~ swfc.c:216:15: warning: 'fontUsage' defined but not used [-Wunused-variable] static dict_t fontUsage; ^~~~~~~~~ In file included from swfc.c:33:0: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ swfc-history.c: In function 'state_differs': swfc-history.c:199:14: warning: variable 'previous' set but not used [-Wunused-but-set-variable] state_t* previous = modification; ^~~~~~~~ swfc-history.c: In function 'interpolateGradient': swfc-history.c:436:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ swfc-history.c: In function 'interpolateGradientGlow': swfc-history.c:637:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ swfc-history.c:645:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return (FILTER*)f; ^~~~~~ swfc-history.c: In function 'filterState_differs': swfc-history.c:769:20: warning: variable 'previous' set but not used [-Wunused-but-set-variable] filterState_t* previous = modification; ^~~~~~~~ swfc-history.c: In function 'interpolateFilter': swfc-history.c:665:5: warning: 'filter_type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (filter_type) ^~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfc-interpolation.c -o swfc-interpolation.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 jpeg2swf.c -o jpeg2swf.o jpeg2swf.c: In function 'getJPEG': jpeg2swf.c:157:9: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ jpeg2swf.c:156:28: warning: unused variable 'mgr' [-Wunused-variable] struct jpeg_source_mgr mgr; ^~~ In file included from jpeg2swf.c:29:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 gif2swf.c -o gif2swf.o In file included from gif2swf.c:30:0: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfbbox.c -o swfbbox.o swfbbox.c: In function 'getMovieClipBBox': swfbbox.c:553:9: warning: unused variable 'frame' [-Wunused-variable] int frame=0; ^~~~~ In file included from swfbbox.c:29:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 font2swf.c -o font2swf.o font2swf.c: In function 'convertFont': font2swf.c:109:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] font->name = strdup(fontname); ^ font2swf.c: In function 'main': font2swf.c:118:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, 128); ^~~~~~~~~~~~~~~~ In file included from font2swf.c:27:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfrender.c -o swfrender.o In file included from swfrender.c:9:0: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 as3compile.c -o as3compile.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 pdf2swf.c -o pdf2swf.o as3compile.c: In function 'main': as3compile.c:217:9: warning: unused variable 't' [-Wunused-variable] int t; ^ In file included from as3compile.c:28:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ pdf2swf.c: In function 'main': pdf2swf.c:914:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(p->name) free((void*)p->name);p->name = 0; ^~ pdf2swf.c:914:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(p->name) free((void*)p->name);p->name = 0; ^ pdf2swf.c:915:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(p->value) free((void*)p->value);p->value =0; ^~ pdf2swf.c:915:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(p->value) free((void*)p->value);p->value =0; ^ pdf2swf.c:636:11: warning: unused variable 'y' [-Wunused-variable] int x,y; ^ pdf2swf.c:636:9: warning: unused variable 'x' [-Wunused-variable] int x,y; ^ pdf2swf.c:635:9: warning: unused variable 'nup_pos' [-Wunused-variable] int nup_pos = 0; ^~~~~~~ pdf2swf.c:634:10: warning: unused variable 't1searchpath' [-Wunused-variable] char t1searchpath[1024]; ^~~~~~~~~~~~ pdf2swf.c:632:9: warning: unused variable 'numfonts' [-Wunused-variable] int numfonts = 0; ^~~~~~~~ pdf2swf.c:631:10: warning: unused variable 'buf' [-Wunused-variable] char buf[256]; ^~~ pdf2swf.c:630:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ In file included from pdf2swf.c:39:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 swfbytes.c -o swfbytes.o swfbytes.c: In function 'dumpFile': swfbytes.c:99:9: warning: unused variable 't' [-Wunused-variable] int t; ^ swfbytes.c: In function 'parseFile': swfbytes.c:244:10: warning: unused variable 'n' [-Wunused-variable] int n; ^ swfbytes.c: In function 'main': swfbytes.c:348:9: warning: unused variable 'tag' [-Wunused-variable] TAG*tag = 0; ^~~ swfbytes.c: In function 'swf_IsSWF': swfbytes.c:338:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fi, buf, 3); ^~~~~~~~~~~~~~~~ In file included from swfbytes.c:28:0: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 ttftool.c -o ttftool.o gcc -DHAVE_CONFIG_H wav2swf.o -o wav2swf ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype In file included from ttftool.c:28:0: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] static char* filename2template(char*filename, int*startindex) ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] static char is_in_range(int t, char*irange) ^~~~~~~~~~~ debug enabled, not stripping wav2swf gcc -DHAVE_CONFIG_H png2swf.o -o png2swf ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping png2swf gcc -DHAVE_CONFIG_H swfcombine.o -o swfcombine ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype gcc -DHAVE_CONFIG_H swfstrings.o -o swfstrings ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfcombine gcc -DHAVE_CONFIG_H swfextract.o -o swfextract ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfstrings gcc -DHAVE_CONFIG_H swfdump.o -o swfdump ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfextract gcc -DHAVE_CONFIG_H parser.o swfc.o swfc-feedback.o swfc-history.o swfc-interpolation.o -o swfc ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfdump gcc -DHAVE_CONFIG_H jpeg2swf.o -o jpeg2swf ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping jpeg2swf gcc -DHAVE_CONFIG_H gif2swf.o -o gif2swf ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfc gcc -DHAVE_CONFIG_H swfbbox.o -o swfbbox ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping gif2swf gcc -DHAVE_CONFIG_H font2swf.o -o font2swf ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfbbox gcc -DHAVE_CONFIG_H swfrender.o -o swfrender ../lib/libgfxswf.a ../lib/librfxswf.a ../lib/libgfx.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping font2swf gcc -DHAVE_CONFIG_H as3compile.o -o as3compile ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfrender g++ -DHAVE_CONFIG_H pdf2swf.o -o pdf2swf ../lib/libgfxswf.a ../lib/librfxswf.a ../lib/libgfxpdf.a ../lib/libgfx.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype -lstdc++ debug enabled, not stripping as3compile gcc -DHAVE_CONFIG_H swfbytes.o -o swfbytes ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping swfbytes gcc -DHAVE_CONFIG_H ttftool.o -o ttftool ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype debug enabled, not stripping ttftool debug enabled, not stripping pdf2swf make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/src' making all in avi2swf... cd avi2swf;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/avi2swf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/avi2swf' making all in swfs... cd swfs;/usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/swfs' gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I../lib simple_viewer.c -o simple_viewer.o gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I../lib keyboard_viewer.c -o keyboard_viewer.o simple_viewer.c: In function 'main': simple_viewer.c:59:9: warning: unused variable 'i' [-Wunused-variable] int f,i,ls1,fs1; ^ keyboard_viewer.c: In function 'main': keyboard_viewer.c:45:9: warning: unused variable 'i' [-Wunused-variable] int f,i,ls1,fs1; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -I../lib PreLoaderTemplate.c -o PreLoaderTemplate.o gcc -DHAVE_CONFIG_H simple_viewer.o -o simple_viewer ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype PreLoaderTemplate.c: In function 'main': PreLoaderTemplate.c:41:7: warning: unused variable 't' [-Wunused-variable] int t; ^ PreLoaderTemplate.c:40:7: warning: unused variable 'count' [-Wunused-variable] int count; ^~~~~ PreLoaderTemplate.c:39:15: warning: unused variable 'fs1' [-Wunused-variable] int f,i,ls1,fs1; ^~~ PreLoaderTemplate.c:39:11: warning: unused variable 'ls1' [-Wunused-variable] int f,i,ls1,fs1; ^~~ PreLoaderTemplate.c:39:9: warning: unused variable 'i' [-Wunused-variable] int f,i,ls1,fs1; ^ PreLoaderTemplate.c:36:21: warning: unused variable 'a3' [-Wunused-variable] ActionTAG*a1,*a2,*a3; ^~ PreLoaderTemplate.c:35:10: warning: unused variable 'm' [-Wunused-variable] MATRIX m; ^ PreLoaderTemplate.c:34:10: warning: unused variable 's' [-Wunused-variable] SHAPE* s; ^ PreLoaderTemplate.c:33:9: warning: unused variable 'r' [-Wunused-variable] SRECT r; ^ gcc -DHAVE_CONFIG_H keyboard_viewer.o -o keyboard_viewer ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype gcc -DHAVE_CONFIG_H PreLoaderTemplate.o -o PreLoaderTemplate ../lib/librfxswf.a ../lib/libbase.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -L/usr/lib64 -lmp3lame -lzzip -lgif -ljpeg -lz -lm -lfontconfig -lfreetype Calling ./keybard_viewer to create keyboard_viewer.swf Calling ./simple_viewer to create simple_viewer.swf ./simple_viewer || true ./keyboard_viewer || true Calling ./PreLoaderTemplate to create PreLoaderTemplate.swf ./PreLoaderTemplate || true make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/swfs' make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2' make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.v8Asyn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le ++ dirname /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le + cd swftools-0.9.2 + make install DESTDIR=/builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le making install in m4... cd m4;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/m4' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/m4' making install in lib... cd lib;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib' making install in lib/pdf... cd lib/pdf;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib/pdf' /bin/sh ../../mkinstalldirs /usr/bin make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib/pdf' making install in lib... cd lib;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib' making install in lib/python... cd lib/python;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/lib/python' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/lib/python' making install in lib/ruby... cd src;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1 mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/man mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/man/man1 installing wav2swf to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./wav2swf.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/wav2swf.1 installing png2swf to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./png2swf.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/png2swf.1 installing swfcombine to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./swfcombine.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/swfcombine.1 installing swfstrings to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./swfstrings.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/swfstrings.1 installing swfextract to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./swfextract.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/swfextract.1 installing swfdump to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./swfdump.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/swfdump.1 installing swfc to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./swfc.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/swfc.1 installing jpeg2swf to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./jpeg2swf.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/jpeg2swf.1 installing gif2swf to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./gif2swf.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/gif2swf.1 installing swfbbox to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./swfbbox.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/swfbbox.1 installing font2swf to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./font2swf.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/font2swf.1 installing swfrender to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./swfrender.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/swfrender.1 installing as3compile to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./as3compile.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/as3compile.1 installing pdf2swf to /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/bin /usr/bin/install -c -m 644 ./pdf2swf.1 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/man/man1/pdf2swf.1 make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/src' making install in avi2swf... cd avi2swf;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/avi2swf' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/avi2swf' making install in swfs... cd swfs;make install make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2/swfs' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/swftools /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs mkdir /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/swftools/swfs /usr/bin/install -c -m 644 ./simple_viewer.swf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs/simple_viewer.swf /usr/bin/install -c -m 644 ./keyboard_viewer.swf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs/keyboard_viewer.swf /usr/bin/install -c -m 644 ./PreLoaderTemplate.swf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs/PreLoaderTemplate.swf /usr/bin/install -c -m 644 ./tessel_loader.swf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs/tessel_loader.swf /usr/bin/install -c -m 644 ./swft_loader.swf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs/swft_loader.swf ln -s simple_viewer.swf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs/default_viewer.swf ln -s tessel_loader.swf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le//usr/share/swftools/swfs/default_loader.swf make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2/swfs' make[1]: Entering directory '/builddir/build/BUILD/swftools-0.9.2' make[1]: Leaving directory '/builddir/build/BUILD/swftools-0.9.2' + install -dm 0755 /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/lib64/python2.7/site-packages/ + install -Dp lib/python/gfx.so /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/lib64/python2.7/site-packages/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.9.2-7.fc28 --unique-debug-suffix -0.9.2-7.fc28.ppc64le --unique-debug-src-base swftools-0.9.2-7.fc28.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/swftools-0.9.2 extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/pdf2swf extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/lib64/python2.7/site-packages/gfx.so extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/as3compile extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/swfrender extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/font2swf extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/swfbbox extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/gif2swf extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/jpeg2swf extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/swfc extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/swfdump extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/swfextract extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/swfstrings extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/swfcombine extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/png2swf extracting debug info from /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/bin/wav2swf /usr/lib/rpm/sepdebugcrcfix: Updated 15 CRC32s, 0 CRC32s did match. cpio: lib/lex.swf4.c: Cannot stat: No such file or directory cpio: lib/lex.swf5.c: Cannot stat: No such file or directory cpio: lib/parser.tab.c: Cannot stat: No such file or directory cpio: lib/parser.tab.h: Cannot stat: No such file or directory cpio: lib/parser.y: Cannot stat: No such file or directory cpio: lib/swf4compiler.flex: Cannot stat: No such file or directory cpio: lib/swf4compiler.tab.c: Cannot stat: No such file or directory cpio: lib/swf4compiler.tab.h: Cannot stat: No such file or directory cpio: lib/swf4compiler.y: Cannot stat: No such file or directory cpio: lib/swf5compiler.flex: Cannot stat: No such file or directory cpio: lib/swf5compiler.tab.c: Cannot stat: No such file or directory cpio: lib/swf5compiler.tab.h: Cannot stat: No such file or directory cpio: lib/swf5compiler.y: Cannot stat: No such file or directory cpio: lib/tokenizer.lex: Cannot stat: No such file or directory cpio: lib/tokenizer.yy.c: Cannot stat: No such file or directory 16173 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink Processing files: swftools-0.9.2-7.fc28.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HpI2Zd + umask 022 + cd /builddir/build/BUILD + cd swftools-0.9.2 + DOCDIR=/builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/doc/swftools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/doc/swftools + cp -pr AUTHORS /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/doc/swftools + cp -pr ChangeLog /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/doc/swftools + cp -pr doc/fileformat.sc /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/doc/swftools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ycdZr4 + umask 022 + cd /builddir/build/BUILD + cd swftools-0.9.2 + LICENSEDIR=/builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/licenses/swftools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/licenses/swftools + cp -pr COPYING /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le/usr/share/licenses/swftools + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: swftools = 0.9.2-7.fc28 swftools(ppc-64) = 0.9.2-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgif.so.4()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libmp3lame.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libz.so.1()(64bit) libzzip-0.so.13()(64bit) rtld(GNU_HASH) Processing files: python-swftools-0.9.2-7.fc28.ppc64le Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python-swftools = 0.9.2-7.fc28 python-swftools(ppc-64) = 0.9.2-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgif.so.4()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libmp3lame.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libpython2.7.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libutil.so.1()(64bit) libz.so.1()(64bit) libzzip-0.so.13()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: swftools-debugsource-0.9.2-7.fc28.ppc64le warning: Deprecated external dependency generator is used! Provides: swftools-debugsource = 0.9.2-7.fc28 swftools-debugsource(ppc-64) = 0.9.2-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: swftools-debuginfo-0.9.2-7.fc28.ppc64le warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " warning: Deprecated external dependency generator is used! Provides: debuginfo(build-id) = 01107dd371e2581c9956a89bffd35a669d205fc7 debuginfo(build-id) = 03305004dfedc7fa5bb1d003b3b28bba799ed292 debuginfo(build-id) = 1d0498d201ed3a5fd23c5378dc8cbe340be13f0b debuginfo(build-id) = 24f18d600e7e7d7a231a83accccdc1b682f840c9 debuginfo(build-id) = 2a8e0263b7a99562dfafddf9d13dfd8d3d751ec2 debuginfo(build-id) = 3f5869eec0b47659c25f14b0b949c445e1ad2d56 debuginfo(build-id) = 3f63219fbee555aeea3dfd9a77d01ca8627d667a debuginfo(build-id) = 4566fc1cd4b217759678e9416de787624e2ee8f4 debuginfo(build-id) = 78835365ca9ccd82357f157f94caa97176433230 debuginfo(build-id) = 798459d34e66caed7fdad5d6bb882995983034c7 debuginfo(build-id) = ac47ce8de4b1500d75a27b839f2e10b4346c2c4c debuginfo(build-id) = adb5cc77163fc2ac99beb86db655d5b4eac7588a debuginfo(build-id) = e13bccd3f391a6c815201b6ba7013fbf61b43463 debuginfo(build-id) = ef0a4c10a4aedfdb53c6336845fec30a1e0a9133 swftools-debuginfo = 0.9.2-7.fc28 swftools-debuginfo(ppc-64) = 0.9.2-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: swftools-debugsource(ppc-64) = 0.9.2-7.fc28 Processing files: python-swftools-debuginfo-0.9.2-7.fc28.ppc64le Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " warning: Deprecated external dependency generator is used! Provides: debuginfo(build-id) = acd9f42f4aeefa0f4a52301050000a2e91cae6ba python-swftools-debuginfo = 0.9.2-7.fc28 python-swftools-debuginfo(ppc-64) = 0.9.2-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: swftools-debugsource(ppc-64) = 0.9.2-7.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le Wrote: /builddir/build/RPMS/swftools-0.9.2-7.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/python-swftools-0.9.2-7.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/swftools-debugsource-0.9.2-7.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/swftools-debuginfo-0.9.2-7.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/python-swftools-debuginfo-0.9.2-7.fc28.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7ajFZZ + umask 022 + cd /builddir/build/BUILD + cd swftools-0.9.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/swftools-0.9.2-7.fc28.ppc64le + exit 0 Finish: rpmbuild swftools-0.9.2-7.fc28.src.rpm Finish: build phase for swftools-0.9.2-7.fc28.src.rpm INFO: Done(/var/lib/copr-rpmbuild/results/swftools-0.9.2-7.fc28.src.rpm) Config(child) 1 minutes 56 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run