<86>Feb 19 12:14:40 userdel[3535460]: delete user 'rooter' <86>Feb 19 12:14:40 groupadd[3535465]: group added to /etc/group: name=rooter, GID=651 <86>Feb 19 12:14:40 groupadd[3535465]: group added to /etc/gshadow: name=rooter <86>Feb 19 12:14:40 groupadd[3535465]: new group: name=rooter, GID=651 <86>Feb 19 12:14:40 useradd[3535472]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Feb 19 12:14:40 userdel[3535489]: delete user 'builder' <86>Feb 19 12:14:40 userdel[3535489]: removed group 'builder' owned by 'builder' <86>Feb 19 12:14:40 userdel[3535489]: removed shadow group 'builder' owned by 'builder' <86>Feb 19 12:14:40 groupadd[3535502]: group added to /etc/group: name=builder, GID=652 <86>Feb 19 12:14:40 groupadd[3535502]: group added to /etc/gshadow: name=builder <86>Feb 19 12:14:40 groupadd[3535502]: new group: name=builder, GID=652 <86>Feb 19 12:14:40 useradd[3535507]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/swftools-0.9.2-alt3.src.rpm: The use of such a license name is ambiguous: GPL <13>Feb 19 12:14:48 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Feb 19 12:14:49 rpmi: libicu67-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Feb 19 12:14:49 rpmi: icu-utils-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Feb 19 12:14:50 rpmi: libicu-devel-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Feb 19 12:14:50 rpmi: libgraphite2-devel-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Feb 19 12:14:50 rpmi: liblame-3.100-alt1 1527082574 installed <13>Feb 19 12:14:50 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Feb 19 12:14:50 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Feb 19 12:14:50 rpmi: libgif-4.1.6-alt3 1299634261 installed <13>Feb 19 12:14:50 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Feb 19 12:14:50 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Feb 19 12:14:50 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Feb 19 12:14:50 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Feb 19 12:14:50 rpmi: libharfbuzz-icu-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Feb 19 12:14:50 rpmi: libharfbuzz-gobject-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Feb 19 12:14:50 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 19 12:14:50 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Feb 19 12:14:50 rpmi: xml-utils-1:2.9.10-alt6 sisyphus+266293.100.1.1 1613284568 installed <13>Feb 19 12:14:50 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Feb 19 12:14:50 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Feb 19 12:14:52 rpmi: libstdc++10-devel-10.2.1-alt2 sisyphus+263054.100.3.1 1607510657 installed <13>Feb 19 12:14:55 rpmi: gcc10-c++-10.2.1-alt2 sisyphus+263054.100.3.1 1607510657 installed <13>Feb 19 12:14:55 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Feb 19 12:14:55 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Feb 19 12:14:55 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 19 12:14:55 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 19 12:14:55 rpmi: ca-certificates-2021.01.27-alt1 sisyphus+265371.200.1.1 1611759824 installed <13>Feb 19 12:14:55 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 19 12:14:55 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Feb 19 12:14:55 rpmi: libcrypto1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Feb 19 12:14:55 rpmi: libssl1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Feb 19 12:14:56 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 19 12:14:56 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 19 12:14:58 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Feb 19 12:14:58 rpmi: glib2-devel-2.66.7-alt1 sisyphus+266194.100.1.1 1613062029 installed <13>Feb 19 12:14:59 rpmi: libfreetype-devel-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Feb 19 12:14:59 rpmi: libharfbuzz-devel-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Feb 19 12:14:59 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>Feb 19 12:14:59 rpmi: libgif-devel-4.1.6-alt3 1299634261 installed <13>Feb 19 12:14:59 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Feb 19 12:14:59 rpmi: liblame-devel-3.100-alt1 1527082574 installed <13>Feb 19 12:14:59 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/swftools-0.9.2-alt3.nosrc.rpm (w1.gzdio) Installing swftools-0.9.2-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47166 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf swftools-0.9.2 + echo 'Source #0 (swftools-0.9.2.tar.gz):' Source #0 (swftools-0.9.2.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/swftools-0.9.2.tar.gz + cd swftools-0.9.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (swftools-0.9.2_general.patch):' Patch #1 (swftools-0.9.2_general.patch): + /usr/bin/patch -p1 patching file src/png2swf.c patching file swfs/Makefile.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.46339 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd swftools-0.9.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + readlink -e -- ./configure + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --disable-static checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking whether gcc supports lazy variable declaration... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /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... yes checking for zzip_file_open in -lzzip... no checking target system type... i586-alt-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... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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... no checking zzip/lib.h presence... no checking for zzip/lib.h... no 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*... 4 checking for freetype-config... /usr/bin/freetype-config Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes Package bzip2 was not found in the pkg-config search path. Perhaps you should add the directory containing `bzip2.pc' to the PKG_CONFIG_PATH environment variable Package 'bzip2', required by 'freetype2', not found checking whether we can compile the freetype test program... yes checking for FcInit in -lfontconfig... no checking fontconfig.h usability... no checking fontconfig.h presence... no checking for fontconfig.h... no checking for fftwf_plan_dft_r2c_2d in -lfftw3f... no checking fftw3.h usability... no checking fftw3.h presence... no checking for fftw3.h... 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... 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/readers/Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --disable-static + make -j8 make: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2' making all in m4... make: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2' cd m4;make all make: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2' making all in lib... make: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2' cd lib;make all make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swffilter.c -o modules/swffilter.o modules/swffilter.c: In function 'swf_SetFilter': modules/swffilter.c:17:14: warning: unused variable 'f' [-Wunused-variable] 17 | FILTER_GLOW*f = (FILTER_GLOW*)filter; | ^ modules/swffilter.c: In function 'swf_GetFilter': modules/swffilter.c:63:12: warning: unused variable 'filter' [-Wunused-variable] 63 | FILTER*filter; | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfbutton.c -o modules/swfbutton.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfobject.c -o modules/swfobject.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfdraw.c -o modules/swfdraw.o modules/swfdraw.c: In function 'swf_ShapeDrawerSetLineStyle': modules/swfdraw.c:78:20: warning: unused variable 'sdraw' [-Wunused-variable] 78 | SWFSHAPEDRAWER*sdraw = (SWFSHAPEDRAWER*)draw->internal; | ^~~~~ modules/swfdraw.c: In function 'swf_ShapeDrawerSetFillStyle': modules/swfdraw.c:82:20: warning: unused variable 'sdraw' [-Wunused-variable] 82 | SWFSHAPEDRAWER*sdraw = (SWFSHAPEDRAWER*)draw->internal; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfdump.c -o modules/swfdump.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfcgi.c -o modules/swfcgi.o modules/swfcgi.c: In function 'swf_cgienv': modules/swfcgi.c:93:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 93 | { 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' 94 | t = c + 1; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfshape.c -o modules/swfshape.o modules/swfshape.c: In function 'swf_ParseDefineShape': modules/swfshape.c:1067:5: warning: unused variable 'flags' [-Wunused-variable] 1067 | 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] 1045 | SHAPELINE*l; | ^ modules/swfshape.c:1043:18: warning: variable 'id' set but not used [-Wunused-but-set-variable] 1043 | int num = 0, id; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 477 | int c,t,parts,qparts; | ^~~~~~ modules/swfrender.c:410:24: warning: unused variable 'i' [-Wunused-variable] 410 | 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] 664 | int s; | ^ modules/swfrender.c: In function 'swf_Render': modules/swfrender.c:1016:13: warning: unused variable 'a' [-Wunused-variable] 1016 | int r,g,b,a; | ^ modules/swfrender.c:1016:11: warning: unused variable 'b' [-Wunused-variable] 1016 | int r,g,b,a; | ^ modules/swfrender.c:1016:9: warning: unused variable 'g' [-Wunused-variable] 1016 | int r,g,b,a; | ^ modules/swfrender.c:1016:7: warning: unused variable 'r' [-Wunused-variable] 1016 | int r,g,b,a; | ^ modules/swfrender.c:1010:10: warning: unused variable 'n' [-Wunused-variable] 1010 | int n; | ^ At top level: modules/swfrender.c:528:13: warning: 'color_black' defined but not used [-Wunused-variable] 528 | static RGBA color_black = {255,0,0,0}; | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 143 | 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] 184 | len += lame_encode_buffer(lame_flags, samples, samples, numsamples, &buf[len], bufsize-len); | ^~~~~~~~~ | | | char * In file included from modules/swfsound.c:98: /usr/include/lame/lame.h:721:29: note: expected 'unsigned char *' but argument is of type 'char *' 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ modules/swfsound.c:185:48: warning: pointer targets in passing argument 2 of 'lame_encode_flush_nogap' differ in signedness [-Wpointer-sign] 185 | len += lame_encode_flush_nogap(lame_flags, &buf[len], bufsize-len); | ^~~~~~~~~ | | | char * In file included from modules/swfsound.c:98: /usr/include/lame/lame.h:899:30: note: expected 'unsigned char *' but argument is of type 'char *' 899 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ modules/swfsound.c:186:23: warning: pointer targets in passing argument 2 of 'swf_SetBlock' differ in signedness [-Wpointer-sign] 186 | swf_SetBlock(tag, buf, len); | ^~~ | | | char * In file included from modules/swfsound.c:26: modules/../rfxswf.h:228:39: note: expected 'const U8 *' {aka 'const unsigned char *'} but argument is of type 'char *' 228 | 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] 226 | swf_SetU32(tag, (int)(tag,blocks*blocksize / | ^ modules/swfsound.c:240:5: warning: pointer targets in assignment from 'S16 *' {aka 'short int *'} to 'U16 *' {aka 'short unsigned int *'} differ in signedness [-Wpointer-sign] 240 | 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] 241 | len += lame_encode_buffer(lame_flags, pos, pos, blocksize, &buf[len], bufsize-len); | ^~~ | | | U16 * {aka short unsigned int *} In file included from modules/swfsound.c:98: /usr/include/lame/lame.h:718:29: note: expected 'const short int *' but argument is of type 'U16 *' {aka 'short unsigned int *'} 718 | const short int buffer_l [], /* PCM data for left channel */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ modules/swfsound.c:241:45: warning: pointer targets in passing argument 3 of 'lame_encode_buffer' differ in signedness [-Wpointer-sign] 241 | len += lame_encode_buffer(lame_flags, pos, pos, blocksize, &buf[len], bufsize-len); | ^~~ | | | U16 * {aka short unsigned int *} In file included from modules/swfsound.c:98: /usr/include/lame/lame.h:719:29: note: expected 'const short int *' but argument is of type 'U16 *' {aka 'short unsigned int *'} 719 | const short int buffer_r [], /* PCM data for right channel */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ modules/swfsound.c:241:61: warning: pointer targets in passing argument 5 of 'lame_encode_buffer' differ in signedness [-Wpointer-sign] 241 | len += lame_encode_buffer(lame_flags, pos, pos, blocksize, &buf[len], bufsize-len); | ^~~~~~~~~ | | | char * In file included from modules/swfsound.c:98: /usr/include/lame/lame.h:721:29: note: expected 'unsigned char *' but argument is of type 'char *' 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ modules/swfsound.c:242:45: warning: pointer targets in passing argument 2 of 'lame_encode_flush_nogap' differ in signedness [-Wpointer-sign] 242 | len += lame_encode_flush_nogap(lame_flags, &buf[len], bufsize-len); | ^~~~~~~~~ | | | char * In file included from modules/swfsound.c:98: /usr/include/lame/lame.h:899:30: note: expected 'unsigned char *' but argument is of type 'char *' 899 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ modules/swfsound.c:243:20: warning: pointer targets in passing argument 2 of 'swf_SetBlock' differ in signedness [-Wpointer-sign] 243 | swf_SetBlock(tag, buf, len); | ^~~ | | | char * In file included from modules/swfsound.c:26: modules/../rfxswf.h:228:39: note: expected 'const U8 *' {aka 'const unsigned char *'} but argument is of type 'char *' 228 | int swf_SetBlock(TAG * t,const U8 * b,int l); | ~~~~~~~~~~~^ modules/swfsound.c:238:6: warning: unused variable 's' [-Wunused-variable] 238 | int s; | ^ modules/swfsound.c:205:9: warning: unused variable 'oldlen' [-Wunused-variable] 205 | int oldlen=0,len = 0; | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swffont.c -o modules/swffont.o 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] 572 | fread(a, 4, 1, fi); | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 48 | 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] 165 | int u,x,v,t; | ^ h.263/dct.c:165:9: warning: unused variable 'u' [-Wunused-variable] 165 | int u,x,v,t; | ^ h.263/dct.c:164:12: warning: unused variable 'p' [-Wunused-variable] 164 | double*p; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic h.263/h263tables.c -o h.263/h263tables.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfaction.c -o modules/swfaction.o modules/swfaction.c: In function 'swf_DumpActions': modules/swfaction.c:434:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 434 | printf(" Float:%f", *(float*)&f); | ^~~~~~~~~~ modules/swfaction.c: In function 'action_PushFloat': modules/swfaction.c:1031:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1031 | U32 fd = *(U32*)&f; | ^~~~~~~~ At top level: modules/swfaction.c:665:18: warning: 'lastATAG' defined but not used [-Wunused-function] 665 | static ActionTAG*lastATAG(ActionTAG*atag) | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic drawer.c -o drawer.o drawer.c: In function 'approximate3': drawer.c:241:18: warning: unused variable 'gran' [-Wunused-variable] 241 | unsigned int gran = 0; | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 268 | 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] 277 | int len; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic action/assembler.c -o action/assembler.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swftools.c -o modules/swftools.o modules/swftools.c: In function 'swf_GetDefineBBox': modules/swftools.c:150:7: warning: variable 'id' set but not used [-Wunused-but-set-variable] 150 | U16 id = 0; | ^~ modules/swftools.c: In function 'swf_GetPlaceID': modules/swftools.c:209:11: warning: unused variable 'd' [-Wunused-variable] 209 | U16 d = swf_GetU16(t); | ^ modules/swftools.c:215:11: warning: unused variable 'd' [-Wunused-variable] 215 | U16 d = swf_GetU16(t); | ^ modules/swftools.c:214:10: warning: unused variable 'flags2' [-Wunused-variable] 214 | U8 flags2 = swf_GetU8(t); | ^~~~~~ modules/swftools.c: In function 'swf_GetDepth': modules/swftools.c:347:10: warning: unused variable 'flags' [-Wunused-variable] 347 | { U8 flags = swf_GetU8(t); | ^~~~~ modules/swftools.c:352:10: warning: unused variable 'flags2' [-Wunused-variable] 352 | U8 flags2 = swf_GetU8(t); | ^~~~~~ modules/swftools.c:351:10: warning: unused variable 'flags' [-Wunused-variable] 351 | { 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] 709 | int offset; | ^~~~~~ modules/swftools.c:735:10: warning: unused variable 'blendmode' [-Wunused-variable] 735 | U8 blendmode = swf_GetU8(tag); | ^~~~~~~~~ modules/swftools.c:742:16: warning: variable 'flags2' set but not used [-Wunused-but-set-variable] 742 | U8 flags1,flags2; | ^~~~~~ modules/swftools.c:756:10: warning: variable 'id' set but not used [-Wunused-but-set-variable] 756 | int id; | ^~ modules/swftools.c: In function 'tagHash': modules/swftools.c:1233:12: warning: unused variable 'h' [-Wunused-variable] 1233 | 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] 1335 | 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] 1047 | id = slaveids[id] = newid; | ~~~~~~~~~~~~~^~~~~~~ modules/swftools.c:1034:10: warning: 'newid' may be used uninitialized in this function [-Wmaybe-uninitialized] 1034 | bitmap[newid] = 1; | ^ modules/swftools.c:1000:10: warning: 'newid' may be used uninitialized in this function [-Wmaybe-uninitialized] 1000 | int newid; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfbits.c -o modules/swfbits.o modules/swfbits.c: In function 'swf_ImageGetNumberOfPaletteEntries': modules/swfbits.c:125:7: warning: unused variable 'col' [-Wunused-variable] 125 | RGBA col = img[t]; | ^~~ modules/swfbits.c: In function 'tag_term_source': modules/swfbits.c:570:10: warning: unused variable 'tag' [-Wunused-variable] 570 | TAG *tag = (TAG *) cinfo->client_data; | ^~~ modules/swfbits.c: In function 'swf_SetLosslessImage': modules/swfbits.c:901:6: warning: unused variable 'len' [-Wunused-variable] 901 | int len = width*height; | ^~~ modules/swfbits.c: In function 'swf_DefineLosslessBitsTagToImage': modules/swfbits.c:942:16: warning: unused variable 'data2' [-Wunused-variable] 942 | U8 *data, *data2; | ^~~~~ modules/swfbits.c:934:21: warning: unused variable 'datalen2' [-Wunused-variable] 934 | uLongf datalen, datalen2; | ^~~~~~~~ modules/swfbits.c: In function 'swf_SetJPEGBits3': modules/swfbits.c:1061:9: warning: unused variable 'res' [-Wunused-variable] 1061 | int res = 0; | ^~~ modules/swfbits.c: In function 'swf_ExtractImage': modules/swfbits.c:1207:11: warning: unused variable 'img' [-Wunused-variable] 1207 | RGBA *img; | ^~~ At top level: modules/swfbits.c:564:16: warning: 'tag_resync_to_restart' defined but not used [-Wunused-function] 564 | static boolean tag_resync_to_restart(struct jpeg_decompress_struct *cinfo, int desired) | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic action/libming.c -o action/libming.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic rfxswf.c -o rfxswf.o rfxswf.c: In function 'swf_SetD64': rfxswf.c:509:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 509 | 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] 1888 | write(fileno(stdout),s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic action/lex.swf4.c -o action/lex.swf4.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic action/swf4compiler.tab.c -o action/swf4compiler.tab.o swf4compiler.y: In function 'swf4parse': swf4compiler.y:397:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:404:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:666:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:672:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:677:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:682:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:688:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:693:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:701:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:703:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:705:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:726:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:728:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:730:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:883:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:888:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:917:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:922:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:930:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:935:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:975:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:984:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:986:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:997:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:999:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:1010:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:1012:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:1023:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf4compiler.y:1025:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf4compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic action/actioncompiler.c -o action/actioncompiler.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 145 | char*c = getcwd(buf,512); | ^ At top level: as3/files.c:196:13: warning: 'testnormalize' defined but not used [-Wunused-function] 196 | static void testnormalize() | ^~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swftext.c -o modules/swftext.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] 256 | 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] 440 | U16 cid; | ^~~ modules/swftext.c: In function 'cmp_chars': modules/swftext.c:846:9: warning: unused variable 'y' [-Wunused-variable] 846 | int y = *(const int*)b; | ^ modules/swftext.c:845:9: warning: unused variable 'x' [-Wunused-variable] 845 | 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] 1310 | 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' 1316 | rfx_free(f->glyph); | ^~~~~~~~ modules/swftext.c: In function 'swf_SetDefineText': modules/swftext.c:1612:9: warning: unused variable 'pos' [-Wunused-variable] 1612 | int pos = 0; | ^~~ modules/swftext.c: In function 'swf_FontCreateLayout': modules/swftext.c:1688:9: warning: unused variable 'leading' [-Wunused-variable] 1688 | S16 leading = 0; | ^~~~~~~ modules/swftext.c: In function 'swf_WriteFont': modules/swftext.c:1858:6: warning: unused variable 'xpos' [-Wunused-variable] 1858 | 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] 842 | static SWFFONT* font_to_sort; | ^~~~~~~~~~~~ modules/swftext.c: In function 'swf_WriteFont_AS3': modules/swftext.c:1787:26: warning: 'tag' is used uninitialized in this function [-Wuninitialized] 1787 | swf.firstTag = tag = swf_InsertTag(tag, ST_DEFINEFONT3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic action/lex.swf5.c -o action/lex.swf5.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 131 | int uvposx, uvposy; | ^~~~~~ h.263/swfvideo.c:131:9: warning: unused variable 'uvposx' [-Wunused-variable] 131 | int uvposx, uvposy; | ^~~~~~ h.263/swfvideo.c: In function 'copy_block_pic': h.263/swfvideo.c:297:14: warning: unused variable 'yy' [-Wunused-variable] 297 | int u,v,yy; | ^~ h.263/swfvideo.c:297:12: warning: unused variable 'v' [-Wunused-variable] 297 | int u,v,yy; | ^ h.263/swfvideo.c:297:10: warning: unused variable 'u' [-Wunused-variable] 297 | int u,v,yy; | ^ h.263/swfvideo.c: In function 'coefbits8x8': h.263/swfvideo.c:497:9: warning: unused variable 't' [-Wunused-variable] 497 | int t; | ^ h.263/swfvideo.c: In function 'encode8x8': h.263/swfvideo.c:543:9: warning: unused variable 't' [-Wunused-variable] 543 | int t; | ^ In file included from h.263/swfvideo.c:24: h.263/swfvideo.c: In function 'setQuant': h.263/swfvideo.c:746:10: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 746 | assert(0*strlen("invalid dquant")); | ^ h.263/swfvideo.c:746:10: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 746 | assert(0*strlen("invalid dquant")); | ~^~~~~~~~~~~~~~~~~~~~~~~~~ h.263/swfvideo.c:733:9: warning: unused variable 'code' [-Wunused-variable] 733 | int code = 0; | ^~~~ h.263/swfvideo.c: In function 'predictmvd': h.263/swfvideo.c:773:15: warning: unused variable 'p' [-Wunused-variable] 773 | int x4,y4,p; | ^ h.263/swfvideo.c:771:12: warning: unused variable 'i2' [-Wunused-variable] 771 | int i1,i2; | ^~ h.263/swfvideo.c:771:9: warning: unused variable 'i1' [-Wunused-variable] 771 | int i1,i2; | ^~ h.263/swfvideo.c: In function 'prepareIBlock': h.263/swfvideo.c:877:21: warning: unused variable 'ctable' [-Wunused-variable] 877 | struct huffcode*ctable; | ^~~~~~ h.263/swfvideo.c:875:13: warning: unused variable 'b' [-Wunused-variable] 875 | block_t b; | ^ h.263/swfvideo.c: In function 'writeIBlock': h.263/swfvideo.c:918:13: warning: unused variable 'b' [-Wunused-variable] 918 | block_t b; | ^ h.263/swfvideo.c: In function 'writeMVDBlock': h.263/swfvideo.c:1066:9: warning: unused variable 't' [-Wunused-variable] 1066 | int t; | ^ At top level: h.263/swfvideo.c:750:13: warning: 'change_quant' defined but not used [-Wunused-function] 750 | static void change_quant(int quant, int*dquant) | ^~~~~~~~~~~~ h.263/swfvideo.c:731:13: warning: 'setQuant' defined but not used [-Wunused-function] 731 | static void setQuant(TAG*tag, int dquant) | ^~~~~~~~ h.263/swfvideo.c:275:13: warning: 'yuv2rgb' defined but not used [-Wunused-function] 275 | static void yuv2rgb(RGBA*dest, YUV*src, int linex, int width, int height) | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic modules/swfalignzones.c -o modules/swfalignzones.o In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'graphcut_workspace_delete': modules/../graphcut.c:175:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | 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' 175 | if(w->flags1) free(w->flags1);w->flags1=0; | ^ modules/../graphcut.c:176:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 176 | 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' 176 | if(w->flags2) free(w->flags2);w->flags2=0; | ^ modules/../graphcut.c:177:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 177 | 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' 177 | 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] 38 | #define assert(x) (x) | ~~~ ...... 218 | assert(p!=old); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c:237:22: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 237 | assert(mytree[NR(p)]&IN_TREE); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c:239:19: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 239 | assert(dir->node == p); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c:246:12: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 246 | assert(!t); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c:252:25: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 252 | assert(othertree[NR(p)]&IN_TREE); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c:266:14: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 266 | assert(t == len1+len2+1); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ In file included from modules/swfalignzones.c:2: modules/../graphcut.c:209:12: warning: unused variable 'nodes' [-Wunused-variable] 209 | node_t*nodes = work->graph->nodes; | ^~~~~ In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'path_print': modules/../graphcut.c:287:57: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 287 | assert(( path->firsthalf[t] && path->dir[t]->used) || modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'expand_pos': modules/../graphcut.c:315:9: warning: unused variable 'dir' [-Wunused-variable] 315 | int dir; | ^~~ modules/../graphcut.c:314:13: warning: unused variable 'graph' [-Wunused-variable] 314 | graph_t*graph = w->graph; | ^~~~~ In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'decrease_weights': modules/../graphcut.c:386:16: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 386 | assert(path->length); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c:38:19: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ^ modules/../graphcut.c:394:5: note: in expansion of macro 'assert' 394 | assert(min); | ^~~~~~ In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'reconnect': modules/../graphcut.c:407:13: warning: unused variable 'graph' [-Wunused-variable] 407 | graph_t*graph = w->graph; | ^~~~~ In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'combust_tree': modules/../graphcut.c:500:23: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 500 | assert(newpos == newpos2); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ In file included from modules/swfalignzones.c:2: modules/../graphcut.c:471:13: warning: unused variable 'graph' [-Wunused-variable] 471 | graph_t*graph = w->graph; | ^~~~~ In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'check_graph': modules/../graphcut.c:524:23: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 524 | assert(g->nodes[t].nr==t); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c:527:22: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 527 | assert(!e->used || !e->fwd->used); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ modules/../graphcut.c: In function 'graph_reset': modules/../graphcut.c:538:23: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 538 | assert(g->nodes[t].nr==t); modules/../graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ In file included from modules/swfalignzones.c:2: modules/../graphcut.c: In function 'graph_maxflow': modules/../graphcut.c:563:19: warning: unused variable 'done2' [-Wunused-variable] 563 | char done1=0,done2=0; | ^~~~~ modules/../graphcut.c:563:11: warning: unused variable 'done1' [-Wunused-variable] 563 | char done1=0,done2=0; | ^~~~~ modules/../graphcut.c: In function 'do_dfs': modules/../graphcut.c:630:9: warning: unused variable 't' [-Wunused-variable] 630 | int t; | ^ At top level: modules/../graphcut.c:301:13: warning: 'myassert' defined but not used [-Wunused-function] 301 | static void myassert(graphcut_workspace_t*w, char assertion, const char*file, int line, const char*func) | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic action/swf5compiler.tab.c -o action/swf5compiler.tab.o swf5compiler.y: In function 'swf5parse': swf5compiler.y:435:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:440:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:555:44: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:587:44: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:665:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:672:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:679:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | 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: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:842:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:928:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:943:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:1017:60: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:1025:60: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:1204:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:1210:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:1358:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:1373:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ swf5compiler.y:1379:56: warning: pointer targets in passing argument 2 of 'bufferWriteString' differ in signedness [-Wpointer-sign] In file included from swf5compiler.y:10: action/compile.h:133:41: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 133 | int bufferWriteString(Buffer out, byte *string, int length); | ~~~~~~^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/registry.c -o as3/registry.o In file included from as3/pool.h:27, 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] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/registry.c:121:5: note: in expansion of macro 'list_append' 121 | list_append(assets, bundle); | ^~~~~~~~~~~ as3/registry.c: In function 'schedule_for_resolve': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/registry.c:149:5: note: in expansion of macro 'list_append' 149 | list_append(unresolved, s); | ^~~~~~~~~~~ as3/registry.c: In function 'classinfo_to_multiname': as3/registry.c:400:17: warning: unused variable 'm' [-Wunused-variable] 400 | multiname_t*m=0; | ^ as3/registry.c: At top level: as3/registry.c:540:25: warning: missing braces around initializer [-Wmissing-braces] 540 | classinfo_t nullclass = { | ^ 541 | INFOTYPE_CLASS,0,0,ACCESS_PACKAGE, "", "null", 0, 0, 0 | { 542 | }; | } as3/registry.c:546:25: warning: missing braces around initializer [-Wmissing-braces] 546 | classinfo_t voidclass = { | ^ 547 | INFOTYPE_CLASS,0,0,ACCESS_PACKAGE, "", "void", 0, 0, 0 | { 548 | }; | } as3/registry.c: In function 'slotinfo_dump': as3/registry.c:579:21: warning: unused variable 'c' [-Wunused-variable] 579 | classinfo_t*c = (classinfo_t*)s; | ^ as3/registry.c:590:22: warning: unused variable 'm' [-Wunused-variable] 590 | methodinfo_t*m = (methodinfo_t*)s; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/opcodes.c -o as3/opcodes.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/pool.c -o as3/pool.o In file included from as3/pool.h:27, 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] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/pool.c:336:9: note: in expansion of macro 'list_append' 336 | 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] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/pool.c:388:9: note: in expansion of macro 'list_free' 388 | list_free(set->namespaces); | ^~~~~~~~~ as3/pool.c: In function 'pool_find_namespace': as3/pool.c:969:58: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'int' [-Wformat=] 969 | fprintf(stderr, "Couldn't find namespace \"%s\" %p in constant pool\n", s, (int)ns); | ~^ ~~~~~~~ | | | | void * int | %d In file included from as3/pool.h:27, from as3/pool.c:25: as3/pool.c: In function 'pool_read': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/pool.c:1158:13: note: in expansion of macro 'list_append' 1158 | list_append(nsset->namespaces, namespace_clone(ns)); | ^~~~~~~~~~~ as3/pool.c:1203:17: warning: unused variable 'v3' [-Wunused-variable] 1203 | int v3 = swf_GetU30(tag); //multiname | ^~ as3/pool.c:1202:17: warning: unused variable 'v2' [-Wunused-variable] 1202 | int v2 = swf_GetU30(tag); //counter? | ^~ In file included from as3/pool.h:27, 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/pool.c:1346:19: note: in expansion of macro 'list_length' 1346 | int len = list_length(i); | ^~~~~~~~~~~ as3/pool.c: In function 'pool_destroy': as3/pool.c:1394:9: warning: unused variable 't' [-Wunused-variable] 1394 | int t; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/scripts.c -o as3/scripts.o In file included from as3/abc.h:27, from as3/scripts.c:25: as3/scripts.c: In function 'swf_AddButtonLinks': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/scripts.c:140:17: note: in expansion of macro 'list_append' 140 | 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] 99 | char needs_framescript=0; | ^~~~~~~~~~~~~~~~~ as3/scripts.c:212:25: warning: unused variable 's' [-Wunused-variable] 212 | multiname_t*s = multiname_fromstring(buttonname); | ^ as3/scripts.c:45:19: warning: unused variable 'h' [-Wunused-variable] 45 | unsigned char h[16]; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/abc.c -o as3/abc.o In file included from as3/abc.c:27: as3/abc.c: In function 'params_dump': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:46:13: note: in expansion of macro 'list_length' 46 | int n = list_length(l); | ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:47:14: note: in expansion of macro 'list_length' 47 | 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] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:159:5: note: in expansion of macro 'list_append' 159 | 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:247:22: note: in expansion of macro 'list_length' 247 | trait->slot_id = list_length(*traits)+1; | ^~~~~~~~~~~ as3/abc.c:248:18: warning: unused variable 'l' [-Wunused-variable] 248 | trait_list_t*l = *traits; | ^ In file included from as3/abc.c:27: 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:265:22: note: in expansion of macro 'list_length' 265 | 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] 272 | 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] 279 | 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] 287 | 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] 295 | abc_file_t*file = cls->file; | ^~~~ In file included from as3/abc.c:27: as3/abc.c: In function 'abc_method_body_addClassTrait': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:322:5: note: in expansion of macro 'list_append' 322 | list_append(code->traits, trait); | ^~~~~~~~~~~ as3/abc.c:318:16: warning: unused variable 'file' [-Wunused-variable] 318 | abc_file_t*file = code->file; | ^~~~ In file included from as3/abc.c:27: 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:331:18: note: in expansion of macro 'list_length' 331 | int slotid = list_length(script->traits)+1; | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:334:5: note: in expansion of macro 'list_append' 334 | list_append(script->traits, trait); | ^~~~~~~~~~~ as3/abc.c:329:16: warning: unused variable 'file' [-Wunused-variable] 329 | abc_file_t*file = script->file; | ^~~~ In file included from as3/abc.c:27: as3/abc.c: In function 'dump_method': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:370:47: note: in expansion of macro 'list_length' 370 | 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:370:75: note: in expansion of macro 'list_length' 370 | 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] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/abc.c:425:5: note: in expansion of macro 'list_free' 425 | list_free(traits); | ^~~~~~~~~ as3/abc.c: In function 'traits_parse': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:445:2: note: in expansion of macro 'list_append' 445 | list_append(traits, trait); | ^~~~~~~~~~~ as3/abc.c:469:35: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'int' [-Wformat=] 469 | DEBUG printf(" class %s %d %p\n", name, trait->slot_id, (int)trait->cls); | ~^ ~~~~~~~~~~~~~~~ | | | | void * int | %d In file included from as3/abc.c:27: as3/abc.c: In function 'traits_write': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:523:21: note: in expansion of macro 'list_length' 523 | swf_SetU30(tag, list_length(traits)); | ^~~~~~~~~~~ as3/abc.c:524:9: warning: unused variable 's' [-Wunused-variable] 524 | int s; | ^ as3/abc.c: In function 'traits_dump': as3/abc.c:605:10: warning: unused variable 'slot_id' [-Wunused-variable] 605 | int slot_id = trait->slot_id; | ^~~~~~~ as3/abc.c:566:9: warning: unused variable 't' [-Wunused-variable] 566 | int t; | ^ as3/abc.c: In function 'swf_DumpABC': as3/abc.c:677:18: warning: statement with no effect [-Wunused-value] 677 | ilist->next; | ~~~~~^~~~~~ In file included from as3/abc.c:27: as3/abc.c: In function 'swf_ReadABC': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:767:13: note: in expansion of macro 'list_append' 767 | list_append(m->parameters, param); | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:790:17: note: in expansion of macro 'list_append' 790 | list_append(m->optional_parameters, c); | ^~~~~~~~~~~ as3/abc.c:798:21: warning: unused variable 'name' [-Wunused-variable] 798 | const char*name = pool_lookup_string(pool, swf_GetU30(tag)); | ^~~~ In file included from as3/abc.c:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:831:13: note: in expansion of macro 'list_append' 831 | list_append(cls->interfaces, m); | ^~~~~~~~~~~ as3/abc.c:849:6: warning: unused variable 'init' [-Wunused-variable] 849 | int init = swf_GetU30(tag); | ^~~~ In file included from as3/abc.c:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/abc.c:894:13: note: in expansion of macro 'list_append' 894 | list_append(c->exceptions, e); | ^~~~~~~~~~~ as3/abc.c:917:13: warning: unused variable 'ns' [-Wunused-variable] 917 | const char*ns = ""; | ^~ In file included from as3/abc.c:27: as3/abc.c: In function 'writeABC': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:1058:26: note: in expansion of macro 'list_length' 1058 | int num_params = list_length(m->parameters); | ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:1084:29: note: in expansion of macro 'list_length' 1084 | swf_SetU30(tag, list_length(m->optional_parameters)); | ^~~~~~~~~~~ as3/abc.c:1064:6: warning: unused variable 's' [-Wunused-variable] 1064 | int s; | ^ as3/abc.c:1056:13: warning: unused variable 'n' [-Wunused-variable] 1056 | int n = 0; | ^ In file included from as3/abc.c:27: as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:1131:25: note: in expansion of macro 'list_length' 1131 | swf_SetU30(tag, list_length(c->interfaces)); | ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:1173:25: note: in expansion of macro 'list_length' 1173 | 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/abc.c:1187:18: note: in expansion of macro 'list_length' 1187 | 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] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/abc.c:1263:9: note: in expansion of macro 'list_free' 1263 | list_free(m->parameters);m->parameters=0; | ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/abc.c:1270:9: note: in expansion of macro 'list_free' 1270 | list_free(m->optional_parameters);m->optional_parameters=0; | ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/abc.c:1299:9: note: in expansion of macro 'list_free' 1299 | list_free(cls->interfaces);cls->interfaces=0; | ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/abc.c:1329:9: note: in expansion of macro 'list_free' 1329 | list_free(body->exceptions);body->exceptions=0; | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/code.c -o as3/code.o In file included from as3/code.h:27, from as3/code.c:25: as3/code.c: In function 'code_parse': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/code.c:369:21: note: in expansion of macro 'list_append' 369 | 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] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/code.c:453:17: note: in expansion of macro 'list_free' 453 | 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] 459 | memset(c, 0, sizeof(c)); | ^ In file included from as3/code.h:27, 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/code.c:572:20: note: in expansion of macro 'list_length' 572 | if(list_length(t)) { | ^~~~~~~~~~~ as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/code.c:573:42: note: in expansion of macro 'list_length' 573 | 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] 612 | int skip = 0; | ^~~~ as3/code.c: In function 'code_dump2': as3/code.c:989:39: warning: unused variable 'b' [-Wunused-variable] 989 | 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] 948 | char first = 1; | ^~~~~ as3/code.c:926:7: warning: unused variable 'found' [-Wunused-variable] 926 | char found = 0; | ^~~~~ In file included from as3/code.h:27, 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] 303 | #define list_clone(list) (sizeof((list)->next),(list?list_clone_(&(list)):0)) | ^ as3/code.c:1144:18: note: in expansion of macro 'list_clone' 1144 | n->targets = list_clone(l->targets); | ^~~~~~~~~~ At top level: as3/code.c:669:13: warning: 'dumpstack' defined but not used [-Wunused-function] 669 | static void dumpstack(currentstats_t*stats) | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 250 | char type = 0; | ^~~~ as3/compiler.c: In function 'schedule_class': as3/compiler.c:310:13: warning: unused variable 'i' [-Wunused-variable] 310 | int i; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/state.c -o as3/state.o In file included from as3/state.h:4, 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] 303 | #define list_clone(list) (sizeof((list)->next),(list?list_clone_(&(list)):0)) | ^ as3/state.c:28:40: note: in expansion of macro 'list_clone' 28 | 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] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/state.c:34:9: note: in expansion of macro 'list_free' 34 | list_free(state->wildcard_imports); | ^~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/state.c:44:5: note: in expansion of macro 'list_free' 44 | 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] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/state.c:79:5: note: in expansion of macro 'list_free' 79 | list_free(m->innerfunctions);m->innerfunctions=0; | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 36 | int l; | ^ as3/common.c: In function 'as3_warning': as3/common.c:51:9: warning: unused variable 'l' [-Wunused-variable] 51 | int l; | ^ as3/common.c: In function 'as3_softwarning': as3/common.c:64:9: warning: unused variable 'l' [-Wunused-variable] 64 | int l; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/initcode.c -o as3/initcode.o In file included from as3/initcode.c:29: as3/initcode.c: In function 'initcode_add_classlist': as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/initcode.c:217:9: note: in expansion of macro 'MULTINAME' 217 | MULTINAME(classname2,cls); | ^~~~~~~~~ as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] 181 | #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) | ^ as3/initcode.c:232:30: note: in expansion of macro 'sig2mname' 232 | multiname_t*s2 = sig2mname(s); | ^~~~~~~~~ as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] 181 | #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) | ^ as3/initcode.c:242:32: note: in expansion of macro 'sig2mname' 242 | multiname_t*extends2 = sig2mname(cls->superclass); | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' cd pdf;make libgfxpdf make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/import.c -o as3/import.o In file included from as3/abc.h:27, 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] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/import.c:79:6: note: in expansion of macro 'list_append' 79 | list_append(asset_bundles, a); | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/import.c:97:4: note: in expansion of macro 'list_append' 97 | list_append(a->dependencies, other); | ^~~~~~~~~~~ as3/../q.h:301:26: warning: statement with no effect [-Wunused-value] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/import.c:110:5: note: in expansion of macro 'list_free' 110 | list_free(asset_bundles); | ^~~~~~~~~ as3/import.c: In function 'import_code': as3/../q.h:304:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/import.c:312:71: note: in expansion of macro 'list_length' 312 | classinfo_t*c = classinfo_register(access, package, name, list_length(i)); | ^~~~~~~~~~~ as3/import.c:436:18: warning: unused variable 'np' [-Wunused-variable] 436 | 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] 243 | fread(head, 3, 1, fi); | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/tokenizer.yy.c -o as3/tokenizer.yy.o tokenizer.yy.c:3436:17: warning: 'yyunput' defined but not used [-Wunused-function] In file included from /usr/include/string.h:532, from tokenizer.yy.c:40: In function 'memcpy', inlined from 'handleregexp' at tokenizer.lex:435:5, inlined from 'as3_lex' at tokenizer.lex:575:29: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' writing 18446744073709551615 bytes into a region of size 0 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tokenizer.yy.c: In function 'as3_lex': tokenizer.lex:433:14: note: at offset 0 to an object with size 0 allocated by 'malloc' here make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 31 | const unsigned char*end = b + strlen(b); | ^ | | | const unsigned char * In file included from base64.c:22: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic utf8.c -o utf8.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/assets.c -o as3/assets.o In file included from as3/abc.h:27, 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] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/assets.c:49:3: note: in expansion of macro 'list_append' 49 | list_append(asset->tags, t); | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #define list_append(list, e) {sizeof((list)->next);list_append_(&(list),(e));} | ^~~~~~ as3/assets.c:57:3: note: in expansion of macro 'list_append' 57 | list_append(asset->tags, t); | ^~~~~~~~~~~ as3/assets.c: In function 'swf_ResolveAssets': as3/assets.c:84:9: warning: unused variable 'num' [-Wunused-variable] 84 | int num = assets->name2asset->num; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 94 | state_t*top = s; | ^~~ In file included from as3/state.h:6, 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] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/parser_help.c:144:8: note: in expansion of macro 'MULTINAME' 144 | MULTINAME(m, type); | ^~~~~~~~~ as3/parser_help.c: In function 'var_block': as3/parser_help.c:213:9: warning: unused variable 't' [-Wunused-variable] 213 | int t; | ^ In file included from as3/state.h:4, 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] 301 | #define list_free(list) {sizeof((list)->next);list_free_(&(list));} | ^~~~~~ as3/parser_help.c:324:5: note: in expansion of macro 'list_free' 324 | list_free(m->innerfunctions); | ^~~~~~~~~ In file included from as3/state.h:6, 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] 209 | #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' 421 | variable_t* v = new_variable2(state->method, m->info->name, TYPE_FUNCTION(m->info), 0, 0); | ^~~~~~~~~~~~~ In file included from as3/state.h:4, 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] 304 | #define list_length(list) (sizeof((list)->next),list_length_(list)) | ^ as3/parser_help.c:552:31: note: in expansion of macro 'list_length' 552 | int num_interfaces = (list_length(implements)); | ^~~~~~~~~~~ In file included from as3/state.h:6, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/parser_help.c:587:9: note: in expansion of macro 'MULTINAME' 587 | MULTINAME(classname2,state->cls->info); | ^~~~~~~~~ as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] 181 | #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) | ^ as3/parser_help.c:588:32: note: in expansion of macro 'sig2mname' 588 | multiname_t*extends2 = sig2mname(extends); | ^~~~~~~~~ as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/parser_help.c:603:13: note: in expansion of macro 'MULTINAME' 603 | MULTINAME(m, mlist->classinfo); | ^~~~~~~~~ In file included from as3/state.h:4, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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' 608 | list_append(global->classes, state->cls->dependencies); | ^~~~~~~~~~~ as3/parser_help.c:501:18: warning: unused variable 't' [-Wunused-variable] 501 | token_list_t*t=0; | ^ In file included from as3/state.h:4, 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] 298 | #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' 841 | 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] 918 | variable_t*v; | ^ as3/parser_help.c:915:13: warning: unused variable 't' [-Wunused-variable] 915 | int t; | ^ In file included from as3/state.h:6, 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] 181 | #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) | ^ as3/parser_help.c:988:29: note: in expansion of macro 'sig2mname' 988 | multiname_t*type2 = sig2mname(return_type); | ^~~~~~~~~ as3/parser_help.c:1009:21: warning: unused variable 't' [-Wunused-variable] 1009 | trait_t*t = trait_new_method(&global->init->traits, multiname_clone(&mname), f); | ^ In file included from as3/state.h:6, 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] 181 | #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) | ^ as3/parser_help.c:1027:29: note: in expansion of macro 'sig2mname' 1027 | multiname_t*m = sig2mname(p->param->type); | ^~~~~~~~~ In file included from as3/state.h:4, from as3/parser_help.h:4, from as3/parser_help.c:1: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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' 1028 | list_append(f->parameters, m); | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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' 1031 | opt=1;list_append(f->optional_parameters, p->param->value); | ^~~~~~~~~~~ In file included from as3/state.h:6, 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] 181 | #define sig2mname(x) (x->superclass,classinfo_to_multiname((slotinfo_t*)(x))) | ^ as3/parser_help.c:1040:40: note: in expansion of macro 'sig2mname' 1040 | multiname_t*type = sig2mname(v->type); | ^~~~~~~~~ as3/parser_help.c:989:13: warning: variable 'slot' set but not used [-Wunused-but-set-variable] 989 | int slot = 0; | ^~~~ In file included from as3/state.h:6, 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] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/parser_help.c:1104:5: note: in expansion of macro 'MULTINAME' 1104 | MULTINAME(m, to); | ^~~~~~~~~ as3/parser_help.c: In function 'coerce_to_type': as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/parser_help.c:1181:9: note: in expansion of macro 'MULTINAME' 1181 | MULTINAME(m, t); | ^~~~~~~~~ In file included from as3/state.h:4, 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] 298 | #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' 1209 | list_append(searchlist, namespace_new_package(state->package)); | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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' 1214 | list_append(searchlist, ns); | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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' 1217 | list_append(searchlist, namespace_new_package("")); | ^~~~~~~~~~~ as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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' 1218 | list_append(searchlist, namespace_new_package(internal_filename_package)); | ^~~~~~~~~~~ In file included from as3/state.h:6, 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] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/parser_help.c:1275:9: note: in expansion of macro 'MULTINAME' 1275 | MULTINAME(m, a); | ^~~~~~~~~ as3/registry.h:209:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] 209 | #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' 1280 | x.t = TYPE_FUNCTION(f); | ^~~~~~~~~~~~~ as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] 136 | (x)->package; \ | ~~~^~~~~~~~~ as3/parser_help.c:1298:13: note: in expansion of macro 'MULTINAME' 1298 | MULTINAME(m, c); | ^~~~~~~~~ as3/registry.h:211:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] 211 | #define TYPE_CLASS(f) ((f)->superclass,slotinfo_asclass((slotinfo_t*)(f))) | ^ as3/parser_help.c:1301:15: note: in expansion of macro 'TYPE_CLASS' 1301 | x.t = TYPE_CLASS(c); | ^~~~~~~~~~ In file included from as3/state.h:4, 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] 298 | #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' 1361 | list_append(l->targets, target); | ^~~~~~~~~~~ as3/parser_help.c:1366:15: warning: unused variable 'f' [-Wunused-variable] 1366 | code_t*j,*f; | ^ as3/parser_help.c:1366:12: warning: unused variable 'j' [-Wunused-variable] 1366 | code_t*j,*f; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/expr.c -o as3/expr.o as3/expr.c: In function 'node_plus_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:347:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 347 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:347:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 347 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_minus_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:411:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 411 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:411:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 411 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_multiply_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:752:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 752 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:752:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 752 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_div_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:785:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 785 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:785:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 785 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_mod_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:818:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 818 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:818:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 818 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_lt_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:851:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 851 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:851:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 851 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_gt_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:884:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 884 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:884:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 884 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_le_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:917:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 917 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:917:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 917 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_ge_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:950:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 950 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:950:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 950 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_eqeq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:983:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 983 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:983:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 983 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_eqeqeq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1016:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1016 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1016:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1016 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_noteqeq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1050:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1050 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1050:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1050 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_noteq_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1084:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1084 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1084:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1084 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_not_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] 43 | classinfo_t*t=0; | ^ as3/expr.c:1209:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1209 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] 42 | code_t*c=0;\ | ^ as3/expr.c:1209:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1209 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitnot_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] 43 | classinfo_t*t=0; | ^ as3/expr.c:1242:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1242 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] 42 | code_t*c=0;\ | ^ as3/expr.c:1242:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1242 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitand_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1275:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1275 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1275:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1275 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitxor_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1308:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1308 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1308:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1308 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitor_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1341:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1341 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1341:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1341 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shr_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1374:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1374 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1374:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1374 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shl_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1407:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1407 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1407:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1407 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_ushr_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1440:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1440 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1440:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1440 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_in_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1473:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1473 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1473:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1473 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_as_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1513:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1513 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1513:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1513 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_instanceof_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1546:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1546 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1546:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1546 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_is_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1579:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1579 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1579:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1579 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_arraylookup_exec': as3/expr.c:49:17: warning: unused variable 't' [-Wunused-variable] 49 | classinfo_t*t=0; | ^ as3/expr.c:1621:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1621 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c:48:12: warning: unused variable 'c' [-Wunused-variable] 48 | code_t*c=0;\ | ^ as3/expr.c:1621:5: note: in expansion of macro 'EXEC_HEADER_LEFTRIGHT' 1621 | EXEC_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_typeof_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] 43 | classinfo_t*t=0; | ^ as3/expr.c:1654:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1654 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] 42 | code_t*c=0;\ | ^ as3/expr.c:1654:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1654 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_void_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] 43 | classinfo_t*t=0; | ^ as3/expr.c:1686:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1686 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] 42 | code_t*c=0;\ | ^ as3/expr.c:1686:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1686 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_neg_exec': as3/expr.c:43:17: warning: unused variable 't' [-Wunused-variable] 43 | classinfo_t*t=0; | ^ as3/expr.c:1724:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1724 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c:42:12: warning: unused variable 'c' [-Wunused-variable] 42 | code_t*c=0;\ | ^ as3/expr.c:1724:5: note: in expansion of macro 'EXEC_HEADER_ONE' 1724 | EXEC_HEADER_ONE; | ^~~~~~~~~~~~~~~ as3/expr.c: In function 'node_muleq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:1766:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 1766 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_modeq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:1810:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 1810 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shleq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:1846:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 1846 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_shreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:1882:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 1882 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_ushreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:1918:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 1918 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_diveq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:1954:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 1954 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitoreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:1990:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 1990 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitxoreq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:2026:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 2026 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_bitandeq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:2062:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 2062 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_pluseq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:2103:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 2103 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_minuseq_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:2149:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 2149 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ as3/expr.c: In function 'node_assign_exec': as3/expr.c:33:17: warning: unused variable 't' [-Wunused-variable] 33 | classinfo_t*t=0; | ^ as3/expr.c:2190:5: note: in expansion of macro 'READ_HEADER_LEFTRIGHT' 2190 | READ_HEADER_LEFTRIGHT; | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic jpeg.c -o jpeg.o jpeg.c: In function 'mem_term_source': jpeg.c:305:29: warning: unused variable 'mgr' [-Wunused-variable] 305 | 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] 332 | cinfo.out_color_space == JCS_RGB; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ jpeg.c: In function 'jpeg_load': jpeg.c:369:28: warning: unused variable 'mgr' [-Wunused-variable] 369 | struct jpeg_source_mgr mgr; | ^~~ At top level: jpeg.c:19:12: warning: 'pos' defined but not used [-Wunused-variable] 19 | static int pos; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic mp3.c -o mp3.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DSWFTOOLS_DATADIR=\"/usr/share/swftools\" os.c -o os.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic wav.c -o wav.o wav.c: In function 'getWAVBlock': wav.c:34:18: warning: unused variable 'size' [-Wunused-variable] 34 | unsigned int size; | ^~~~ wav.c: In function 'wav_read': wav.c:120:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 120 | else | ^~~~ wav.c:144:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 144 | pos+=block.size; | ^~~ wav.c: In function 'wav_convert2mono': wav.c:210:9: warning: unused variable 'pos2' [-Wunused-variable] 210 | int pos2 = 0; | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic mem.c -o mem.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic q.c -o q.o q.c: In function 'up': q.c:279:9: warning: unused variable 'tmp' [-Wunused-variable] 279 | int tmp = node; | ^~~ q.c: In function 'stringarray_init': q.c:826:9: warning: unused variable 't' [-Wunused-variable] 826 | int t; | ^ q.c: In function 'stringarray_put': q.c:836:9: warning: unused variable 'pos' [-Wunused-variable] 836 | int pos; | ^~~ q.c: In function 'stringarray_find': q.c:900:9: warning: unused variable 't' [-Wunused-variable] 900 | int t; | ^ q.c: In function 'dict_foreach_keyvalue': q.c:1323:25: warning: unused variable 'next' [-Wunused-variable] 1323 | dictentry_t*next = e->next; | ^~~~ q.c: In function 'dict_foreach_value': q.c:1337:25: warning: unused variable 'next' [-Wunused-variable] 1337 | dictentry_t*next = e->next; | ^~~~ q.c: In function 'map_put': q.c:1455:14: warning: unused variable 's' [-Wunused-variable] 1455 | string_t s; | ^ q.c: In function 'map_dump': q.c:1477:9: warning: unused variable 't' [-Wunused-variable] 1477 | int t; | ^ At top level: q.c:1068:12: warning: 'max' defined but not used [-Wunused-function] 1068 | static int max(int x, int y) { | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic xml.c -o xml.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic log.c -o log.o log.c: In function 'log_str': log.c:102:9: warning: unused variable 'tbuffer' [-Wunused-variable] 102 | char tbuffer[9]; | ^~~~~~~ log.c:101:9: warning: unused variable 'dbuffer' [-Wunused-variable] 101 | char dbuffer[9]; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/builtin.c -o as3/builtin.o as3/builtin.c:4032:64: warning: initialization of 'string_t *' {aka 'struct _string_t *'} from incompatible pointer type 'namespace_t *' {aka 'struct _namespace *'} [-Wincompatible-pointer-types] 4032 | 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] 4032 | static constant_t flash_utils_flash_proxy_constant = {type: 8, &flash_utils_flash_proxy_constant_ns}; | ^ | { } as3/builtin.c:5469:45: warning: initialization of 'string_t *' {aka 'struct _string_t *'} from incompatible pointer type 'namespace_t *' {aka 'struct _namespace *'} [-Wincompatible-pointer-types] 5469 | 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] 5469 | static constant_t _AS3_constant = {type: 8, &_AS3_constant_ns}; | ^ | { } make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic png.c -o png.o png.c: In function 'png_get_dword': png.c:80:18: warning: unused variable 'a' [-Wunused-variable] 80 | unsigned int a; | ^ png.c: In function 'png_load': png.c:529:7: warning: unused variable 't' [-Wunused-variable] 529 | int t; | ^ png.c:584:6: warning: unused variable 'x' [-Wunused-variable] 584 | int x,y; | ^ png.c:583:8: warning: unused variable 's' [-Wunused-variable] 583 | int i,s=0; | ^ png.c:583:6: warning: unused variable 'i' [-Wunused-variable] 583 | int i,s=0; | ^ png.c:623:6: warning: unused variable 'x' [-Wunused-variable] 623 | int x,y; | ^ png.c:622:8: warning: unused variable 's' [-Wunused-variable] 622 | int i,s=0; | ^ png.c:622:6: warning: unused variable 'i' [-Wunused-variable] 622 | int i,s=0; | ^ png.c:738:11: warning: unused variable 't' [-Wunused-variable] 738 | int t; | ^ png.c:733:7: warning: unused variable 'bitpos' [-Wunused-variable] 733 | int bitpos = 0; | ^~~~~~ png.c:676:8: warning: unused variable 'x' [-Wunused-variable] 676 | int i,x,y; | ^ png.c:481:20: warning: unused variable 'scanline' [-Wunused-variable] 481 | unsigned char *scanline; | ^~~~~~~~ png.c: In function 'png_patch_len': png.c:1013:10: warning: unused variable 'filepos' [-Wunused-variable] 1013 | 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] 1443 | if(!pairs[i][p]&b) { | ^~~~~~~~~~~~ png.c: In function 'png_write_palette_based2': png.c:1633:6: warning: unused variable 'x' [-Wunused-variable] 1633 | int x,y; | ^ png.c:1539:9: warning: unused variable 'tmp32' [-Wunused-variable] 1539 | u32 tmp32; | ^~~~~ png.c:1538:9: warning: unused variable 'error' [-Wunused-variable] 1538 | int error; | ^~~~~ png.c:1537:9: warning: unused variable 'pos' [-Wunused-variable] 1537 | int pos = 0; | ^~~ png.c:1532:19: warning: unused variable 'tmp' [-Wunused-variable] 1532 | unsigned char tmp; | ^~~ png.c:1529:9: warning: unused variable 'crc' [-Wunused-variable] 1529 | 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] 102 | fread(head2,8,1,fi); | ^~~~~~~~~~~~~~~~~~~ At top level: png.c:1074:12: warning: 'test_line' defined but not used [-Wunused-function] 1074 | static int test_line(z_stream*zs_orig, Bytef*line, int linelen) | ^~~~~~~~~ png.c:770:13: warning: 'hasAlpha' defined but not used [-Wunused-function] 770 | static char hasAlpha(unsigned char*_image, int size) | ^~~~~~~~ png.c:78:21: warning: 'png_get_dword' defined but not used [-Wunused-function] 78 | static unsigned int png_get_dword(FILE*fi) | ^~~~~~~~~~~~~ png.c: In function 'png_load': png.c:662:36: warning: 'alphacolor[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] 661 | if(dest[x*4+1] == alphacolor[0] && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 662 | dest[x*4+2] == alphacolor[1] && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 663 | dest[x*4+3] == alphacolor[2]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c:661:36: warning: 'alphacolor[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 661 | if(dest[x*4+1] == alphacolor[0] && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 662 | dest[x*4+2] == alphacolor[1] && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c:661:6: warning: 'alphacolor[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 661 | if(dest[x*4+1] == alphacolor[0] && | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic kdtree.c -o kdtree.o kdtree.c: In function 'kdbranch_print': kdtree.c:447:14: warning: unused variable 'b' [-Wunused-variable] 447 | 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] 454 | int i; | ^ At top level: kdtree.c:32:12: warning: 'vy_and' defined but not used [-Wunused-variable] 32 | static int vy_and[4] = {0, INT_MAX, 0, INT_MAX}; | ^~~~~~ kdtree.c:31:12: warning: 'vx_and' defined but not used [-Wunused-variable] 31 | static int vx_and[4] = {INT_MAX, 0, INT_MAX, 0}; | ^~~~~~ kdtree.c: In function 'kdarea_neighbor': kdtree.c:252:9: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 252 | node = kdbranch_follow(node->split, x,y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kdtree.c:411:11: note: 'y' was declared here 411 | int x,y; | ^ kdtree.c:252:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 252 | node = kdbranch_follow(node->split, x,y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kdtree.c:411:9: note: 'x' was declared here 411 | int x,y; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic bitio.c -o bitio.o bitio.c: In function 'writer_growmemwrite_reset': bitio.c:306:20: warning: unused variable 'mw' [-Wunused-variable] 306 | 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] 612 | writer_t*output; | ^~~~~~ bitio.c: In function 'reader_readFloat': bitio.c:789:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 789 | return *(float*)&w; | ^~~~~~~~~~ bitio.c: In function 'reader_readDouble': bitio.c:800:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 800 | return *(double*)&w; | ^~~~~~~~~~~ bitio.c: In function 'read_compressed_uint': bitio.c:822:19: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 822 | 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] 842 | i = i<<7|b&0x7f; | ~^~~~~ bitio.c: In function 'writer_writeFloat': bitio.c:883:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 883 | unsigned v = *(unsigned*)&f; | ^~~~~~~~~~~~~ bitio.c: In function 'writer_writeDouble': bitio.c:898:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 898 | 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] 945 | writer_writeU8(w, (i>>7)&0x7f|0x80); | ~~~~~~^~~~~ bitio.c:948:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 948 | writer_writeU8(w, (i>>14)&0x7f|0x80); | ~~~~~~~^~~~~ bitio.c:949:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 949 | writer_writeU8(w, (i>>7)&0x7f|0x80); | ~~~~~~^~~~~ bitio.c:952:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 952 | writer_writeU8(w, (i>>21)&0x7f|0x80); | ~~~~~~~^~~~~ bitio.c:953:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 953 | writer_writeU8(w, (i>>14)&0x7f|0x80); | ~~~~~~~^~~~~ bitio.c:954:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 954 | writer_writeU8(w, (i>>7)&0x7f|0x80); | ~~~~~~^~~~~ bitio.c:957:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 957 | writer_writeU8(w, (i>>28)&0x7f|0x80); | ~~~~~~~^~~~~ bitio.c:958:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 958 | writer_writeU8(w, (i>>21)&0x7f|0x80); | ~~~~~~~^~~~~ bitio.c:959:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 959 | writer_writeU8(w, (i>>14)&0x7f|0x80); | ~~~~~~~^~~~~ bitio.c:960:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 960 | writer_writeU8(w, (i>>7)&0x7f|0x80); | ~~~~~~^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic graphcut.c -o graphcut.o graphcut.c: In function 'graphcut_workspace_delete': graphcut.c:175:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 175 | 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' 175 | if(w->flags1) free(w->flags1);w->flags1=0; | ^ graphcut.c:176:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 176 | 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' 176 | if(w->flags2) free(w->flags2);w->flags2=0; | ^ graphcut.c:177:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 177 | 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' 177 | 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] 38 | #define assert(x) (x) | ~~~ ...... 218 | assert(p!=old); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:237:22: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 237 | assert(mytree[NR(p)]&IN_TREE); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:239:19: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 239 | assert(dir->node == p); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:246:12: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 246 | assert(!t); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:252:25: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 252 | assert(othertree[NR(p)]&IN_TREE); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:266:14: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 266 | assert(t == len1+len2+1); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:209:12: warning: unused variable 'nodes' [-Wunused-variable] 209 | node_t*nodes = work->graph->nodes; | ^~~~~ graphcut.c: In function 'path_print': graphcut.c:287:57: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 287 | assert(( path->firsthalf[t] && path->dir[t]->used) || graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c: In function 'expand_pos': graphcut.c:315:9: warning: unused variable 'dir' [-Wunused-variable] 315 | int dir; | ^~~ graphcut.c:314:13: warning: unused variable 'graph' [-Wunused-variable] 314 | graph_t*graph = w->graph; | ^~~~~ graphcut.c: In function 'decrease_weights': graphcut.c:386:16: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 386 | assert(path->length); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:38:19: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ^ graphcut.c:394:5: note: in expansion of macro 'assert' 394 | assert(min); | ^~~~~~ graphcut.c: In function 'reconnect': graphcut.c:407:13: warning: unused variable 'graph' [-Wunused-variable] 407 | graph_t*graph = w->graph; | ^~~~~ graphcut.c: In function 'combust_tree': graphcut.c:500:23: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 500 | assert(newpos == newpos2); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:471:13: warning: unused variable 'graph' [-Wunused-variable] 471 | graph_t*graph = w->graph; | ^~~~~ graphcut.c: In function 'check_graph': graphcut.c:524:23: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 524 | assert(g->nodes[t].nr==t); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c:527:22: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 527 | assert(!e->used || !e->fwd->used); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c: In function 'graph_reset': graphcut.c:538:23: warning: statement with no effect [-Wunused-value] 38 | #define assert(x) (x) | ~~~ ...... 538 | assert(g->nodes[t].nr==t); graphcut.c:38:20: note: in definition of macro 'assert' 38 | #define assert(x) (x) | ^ graphcut.c: In function 'graph_maxflow': graphcut.c:563:19: warning: unused variable 'done2' [-Wunused-variable] 563 | char done1=0,done2=0; | ^~~~~ graphcut.c:563:11: warning: unused variable 'done1' [-Wunused-variable] 563 | char done1=0,done2=0; | ^~~~~ graphcut.c: In function 'do_dfs': graphcut.c:630:9: warning: unused variable 't' [-Wunused-variable] 630 | int t; | ^ At top level: graphcut.c:301:13: warning: 'myassert' defined but not used [-Wunused-function] 301 | static void myassert(graphcut_workspace_t*w, char assertion, const char*file, int line, const char*func) | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic devices/dummy.c -o devices/dummy.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gfximage.c -o gfximage.o gfximage.c: In function 'gfximage_save_jpeg': gfximage.c:29:11: warning: unused variable 'y' [-Wunused-variable] 29 | int x,y; | ^ gfximage.c:29:9: warning: unused variable 'x' [-Wunused-variable] 29 | int x,y; | ^ gfximage.c: In function 'gfximage_rescale_old': gfximage.c:323:21: warning: unused variable 'p_x' [-Wunused-variable] 323 | scale_lookup_t*p_x; | ^~~ gfximage.c:318:13: warning: unused variable 'l' [-Wunused-variable] 318 | rgba_int_t*l = tmpline; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 133 | internal_t*i = (internal_t*)dev->internal; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 50 | 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] 72 | 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] 76 | 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] 80 | 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] 84 | 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] 88 | 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] 92 | 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] 138 | 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] 143 | 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] 148 | textpage_t*i= (textpage_t*)r->internal; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gfxtools.c -o gfxtools.o gfxtools.c: In function 'spline_get_controlpoint': gfxtools.c:171:12: warning: unused variable 'nay' [-Wunused-variable] 171 | double nay = q->ay*dt*dt; | ^~~ gfxtools.c:170:12: warning: unused variable 'nax' [-Wunused-variable] 170 | double nax = q->ax*dt*dt; | ^~~ gfxtools.c: In function 'approximate3': gfxtools.c:570:6: warning: unused variable 'probes' [-Wunused-variable] 570 | int probes = 15; | ^~~~~~ gfxtools.c:569:6: warning: unused variable 't' [-Wunused-variable] 569 | int t; | ^ gfxtools.c:555:18: warning: unused variable 'gran' [-Wunused-variable] 555 | unsigned int gran = 0; | ^~~~ At top level: gfxtools.c:545:19: warning: 'qspline_getpoint' defined but not used [-Wunused-function] 545 | static gfxpoint_t qspline_getpoint(const qspline_t*s, double t) | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 464 | int lastx; | ^~~~~ devices/render.c:456:9: warning: unused variable 'clipdepth' [-Wunused-variable] 456 | U32 clipdepth = 0; | ^~~~~~~~~ devices/render.c: In function 'draw_line': devices/render.c:621:20: warning: unused variable 'qparts' [-Wunused-variable] 621 | int c,t,parts,qparts; | ^~~~~~ devices/render.c:612:28: warning: unused variable 'y3' [-Wunused-variable] 612 | int x1,y1,x2,y2,x3,y3; | ^~ devices/render.c:612:25: warning: unused variable 'x3' [-Wunused-variable] 612 | int x1,y1,x2,y2,x3,y3; | ^~ devices/render.c:612:22: warning: unused variable 'y2' [-Wunused-variable] 612 | int x1,y1,x2,y2,x3,y3; | ^~ devices/render.c:612:19: warning: unused variable 'x2' [-Wunused-variable] 612 | int x1,y1,x2,y2,x3,y3; | ^~ devices/render.c:612:16: warning: unused variable 'y1' [-Wunused-variable] 612 | int x1,y1,x2,y2,x3,y3; | ^~ devices/render.c:612:13: warning: unused variable 'x1' [-Wunused-variable] 612 | 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] 652 | 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] 663 | 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] 669 | 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] 721 | int t; | ^ devices/render.c: In function 'render_result_write': devices/render.c:780:23: warning: unused variable 'i' [-Wunused-variable] 780 | 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] 967 | int r,g,b,a; | ^ devices/render.c:967:11: warning: unused variable 'b' [-Wunused-variable] 967 | int r,g,b,a; | ^ devices/render.c:967:9: warning: unused variable 'g' [-Wunused-variable] 967 | int r,g,b,a; | ^ devices/render.c:967:7: warning: unused variable 'r' [-Wunused-variable] 967 | int r,g,b,a; | ^ devices/render.c:961:10: warning: unused variable 'n' [-Wunused-variable] 961 | int n; | ^ devices/render.c: In function 'render_endpage': devices/render.c:1017:11: warning: unused variable 'x' [-Wunused-variable] 1017 | int y,x; | ^ devices/render.c: In function 'render_stroke': devices/render.c:570:26: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 570 | 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] 570 | double x1=x*i->zoom,y1=y*i->zoom; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gfxfont.c -o gfxfont.o gfxfont.c: In function 'glyph_clear': gfxfont.c:40:15: warning: unused variable 'line' [-Wunused-variable] 40 | 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] 162 | int has_had_errors = 0; | ^~~~~~~~~~~~~~ gfxfont.c:152:17: warning: variable 'fontname' set but not used [-Wunused-but-set-variable] 152 | const char* fontname = 0; | ^~~~~~~~ gfxfont.c: In function 'gfxfont_to_ttf': gfxfont.c:714:17: warning: unused variable 'src' [-Wunused-variable] 714 | gfxglyph_t*src = &font->glyphs[t]; | ^~~ gfxfont.c:630:9: warning: unused variable 'remap_pos' [-Wunused-variable] 630 | int remap_pos=0; | ^~~~~~~~~ At top level: gfxfont.c:144:12: warning: 'errorno' defined but not used [-Wunused-variable] 144 | static int errorno = 0; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 200 | gfxline_t*gfxline = 0; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic devices/record.c -o devices/record.o devices/record.c: In function 'dumpImage': devices/record.c:178:9: warning: unused variable 'oldpos' [-Wunused-variable] 178 | int oldpos = w->pos; | ^~~~~~ devices/record.c: In function 'dumpFont': devices/record.c:386:9: warning: unused variable 'oldpos' [-Wunused-variable] 386 | int oldpos = w->pos; | ^~~~~~ devices/record.c: In function 'record_drawchar': devices/record.c:595:10: warning: unused variable 'same_color' [-Wunused-variable] 595 | 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] 594 | 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] 593 | 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] 800 | 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] 892 | static void hexdumpMem(unsigned char*data, int len) | ^~~~~~~~~~ devices/record.c:839:13: warning: 'record_result_write' defined but not used [-Wunused-function] 839 | static void record_result_write(gfxresult_t*r, int filedesc) | ^~~~~~~~~~~~~~~~~~~ devices/record.c: In function 'replay': devices/record.c:774:3: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] 774 | out->fillgradient(out, line, gradient, type, &matrix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/record.c:724:3: warning: 'jointtype' may be used uninitialized in this function [-Wmaybe-uninitialized] 724 | 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] make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gfxfilter.c -o gfxfilter.o gfxfilter.c:219:21: warning: 'discard_finish' defined but not used [-Wunused-function] 219 | static gfxresult_t* discard_finish(gfxdevice_t*dev) | ^~~~~~~~~~~~~~ gfxfilter.c:216:13: warning: 'discard_endpage' defined but not used [-Wunused-function] 216 | static void discard_endpage(gfxdevice_t*dev) | ^~~~~~~~~~~~~~~ gfxfilter.c:213:13: warning: 'discard_drawlink' defined but not used [-Wunused-function] 213 | 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] 210 | 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] 207 | static void discard_addfont(gfxdevice_t*dev, gfxfont_t*font) | ^~~~~~~~~~~~~~~ gfxfilter.c:204:13: warning: 'discard_fillgradient' defined but not used [-Wunused-function] 204 | 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] 201 | 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] 198 | 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] 195 | 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] 192 | static void discard_endclip(gfxdevice_t*dev) | ^~~~~~~~~~~~~~~ gfxfilter.c:189:13: warning: 'discard_startclip' defined but not used [-Wunused-function] 189 | static void discard_startclip(gfxdevice_t*dev, gfxline_t*line) | ^~~~~~~~~~~~~~~~~ gfxfilter.c:186:13: warning: 'discard_startpage' defined but not used [-Wunused-function] 186 | static void discard_startpage(gfxdevice_t*dev, int width, int height) | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 73 | 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] 49 | static void dbg(char*format, ...) | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic filters/one_big_font.c -o filters/one_big_font.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 75 | gfxcolor_t color2 = transform_color(i, color); | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 74 | 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] 79 | 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] 112 | 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] 132 | 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] 137 | internal_t*i = (internal_t*)dev->internal; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 145 | gfxcolor_t color2 = transform_color(i, color); | ^~~~~~ At top level: devices/ops.c:41:13: warning: 'dbg' defined but not used [-Wunused-function] 41 | static void dbg(char*format, ...) | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I xpdf VectorGraphicOutputDev.cc -o VectorGraphicOutputDev.o cc1plus: warning: command-line option '-Wimplicit' is valid for C/ObjC but not for C++ VectorGraphicOutputDev.cc: In constructor 'VectorGraphicOutputDev::VectorGraphicOutputDev(InfoOutputDev*, PDFDoc*, int*, int, int, int, int, int, int, int)': VectorGraphicOutputDev.cc:113:37: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class GFXOutputState'; use assignment or value-initialization instead [-Wclass-memaccess] 113 | memset(states, 0, sizeof(states)); | ^ In file included from VectorGraphicOutputDev.cc:34: VectorGraphicOutputDev.h:15:7: note: 'class GFXOutputState' declared here 15 | class GFXOutputState { | ^~~~~~~~~~~~~~ VectorGraphicOutputDev.cc: In function 'void gfxPath_dump(GfxPath*)': VectorGraphicOutputDev.cc:170:9: warning: unused variable 'cpos' [-Wunused-variable] 170 | int cpos=0; | ^~~~ VectorGraphicOutputDev.cc: In member function 'virtual void VectorGraphicOutputDev::beginPage(GfxState*, int)': VectorGraphicOutputDev.cc:855:16: warning: unused variable 'black' [-Wunused-variable] 855 | 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] 1034 | gfxcolor_t*newpic=0; | ^~~~~~ VectorGraphicOutputDev.cc:1036:12: warning: unused variable 'l1' [-Wunused-variable] 1036 | double l1 = sqrt((x4-x1)*(x4-x1) + (y4-y1)*(y4-y1)); | ^~ VectorGraphicOutputDev.cc:1037:12: warning: unused variable 'l2' [-Wunused-variable] 1037 | 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] 1308 | 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] 1620 | static unsigned char clampU8(unsigned char c, unsigned char min, unsigned char max) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3/parser.tab.c -o as3/parser.tab.o In file included from as3/abc.h:27, 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] 303 | #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, 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] 209 | #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] 211 | #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, from parser.y:27: parser.y: In function 'add_active_url': as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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, from parser.y:31: as3/registry.h:181:36: warning: left-hand operand of comma expression has no effect [-Wunused-value] 181 | #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, from parser.y:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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] 298 | #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] 298 | #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] 298 | #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] 299 | #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] 299 | #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, from parser.y:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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] 302 | #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, from parser.y:31: as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] 136 | (x)->package; \ | ~~~^~~~~~~~~ parser.y:1106:13: note: in expansion of macro 'MULTINAME' In file included from as3/abc.h:27, from parser.y:27: as3/../q.h:298:31: warning: statement with no effect [-Wunused-value] 298 | #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] 298 | #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] 298 | #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] 298 | #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] 302 | #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, from parser.y:31: as3/registry.h:209:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] 209 | #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, from parser.y:27: as3/../q.h:302:31: warning: statement with no effect [-Wunused-value] 302 | #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] 298 | #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] 298 | #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, from parser.y:31: as3/registry.h:136:8: warning: statement with no effect [-Wunused-value] 136 | (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, from parser.y:31: as3/registry.h:136:8: warning: value computed is not used [-Wunused-value] 136 | (x)->package; \ | ~~~^~~~~~~~~ parser.y:2218:9: note: in expansion of macro 'MULTINAME' parser.y:508:23: warning: 'myjmp' may be used uninitialized in this function [-Wmaybe-uninitialized] parser.y:499:12: note: 'myjmp' was declared here parser.y:788:20: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] parser.y:762:9: note: 'tmp' was declared here make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 78 | 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] 116 | int x; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic filters/remove_font_transforms.c -o filters/remove_font_transforms.o filters/remove_font_transforms.c: In function 'mymatrix_equals': filters/remove_font_transforms.c:77:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 77 | return *(U32*)&m1->m00 == *(U32*)&m2->m00 && | ^~~~~~~~~~~~~~ filters/remove_font_transforms.c:77:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 77 | return *(U32*)&m1->m00 == *(U32*)&m2->m00 && | ^~~~~~~~~~~~~~ filters/remove_font_transforms.c:78:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 78 | *(U32*)&m1->m01 == *(U32*)&m2->m01 && | ^~~~~~~~~~~~~~ filters/remove_font_transforms.c:78:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 78 | *(U32*)&m1->m01 == *(U32*)&m2->m01 && | ^~~~~~~~~~~~~~ filters/remove_font_transforms.c:79:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 79 | *(U32*)&m1->m10 == *(U32*)&m2->m10 && | ^~~~~~~~~~~~~~ filters/remove_font_transforms.c:79:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 79 | *(U32*)&m1->m10 == *(U32*)&m2->m10 && | ^~~~~~~~~~~~~~ filters/remove_font_transforms.c:80:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 80 | *(U32*)&m1->m11 == *(U32*)&m2->m11 && | ^~~~~~~~~~~~~~ filters/remove_font_transforms.c:80:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 80 | *(U32*)&m1->m11 == *(U32*)&m2->m11 && | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 49 | internal_t*i = (internal_t*)dev->internal; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 139 | 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] 165 | 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] 183 | 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] 206 | internal_t*i = (internal_t*)f->internal; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 87 | 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] 189 | gfxline_t*gfxline = 0; | ^~~~~~~ filters/flatten.c: In function 'flatten_addfont': filters/flatten.c:285:16: warning: unused variable 'i' [-Wunused-variable] 285 | 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] 345 | 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] 352 | internal_t*i = (internal_t*)dev->internal; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gfxpoly/wind.c -o gfxpoly/wind.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 23 | char bad = 0; | ^~~ gfxpoly/active.c: In function 'actlist_find': gfxpoly/active.c:155:15: warning: unused variable 'out' [-Wunused-variable] 155 | segment_t*out = last; | ^~~ gfxpoly/active.c: In function 'actlist_splay_dump2': gfxpoly/active.c:299:13: warning: unused variable 't' [-Wunused-variable] 299 | int t; | ^ gfxpoly/active.c: In function 'move_to_root': gfxpoly/active.c:343:9: warning: unused variable 'nr' [-Wunused-variable] 343 | int nr=0; | ^~ gfxpoly/active.c: In function 'actlist_splay': gfxpoly/active.c:421:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 421 | 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' 422 | c = 1;break; | ^~~~~ gfxpoly/active.c:388:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] 388 | int c = 0; | ^ At top level: gfxpoly/active.c:380:13: warning: 'actlist_splay' defined but not used [-Wunused-function] 380 | 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] 332 | static void actlist_splay_dump(actlist_t*a) | ^~~~~~~~~~~~~~~~~~ gfxpoly/active.c:287:12: warning: 'actlist_splay_verify' defined but not used [-Wunused-function] 287 | 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] 30 | fprintf(stderr, "?%.2f<->%.2f? ", lastx * gridsize, x * gridsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gfxpoly/moments.c -o gfxpoly/moments.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gfxpoly/xrow.c -o gfxpoly/xrow.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 88 | double lastx=0,lasty=0; | ^~~~~ gfxpoly/convert.c:88:12: warning: unused variable 'lastx' [-Wunused-variable] 88 | double lastx=0,lasty=0; | ^~~~~ gfxpoly/convert.c: In function 'gfxpoly_destroy': gfxpoly/convert.c:263:9: warning: unused variable 't' [-Wunused-variable] 263 | int t; | ^ gfxpoly/convert.c: In function 'mkgfxline': gfxpoly/convert.c:460:11: warning: unused variable 'del2' [-Wunused-variable] 460 | char del2 = dict_del2(d, &stroke->points[stroke->num_points-1], stroke); | ^~~~ gfxpoly/convert.c:459:11: warning: unused variable 'del1' [-Wunused-variable] 459 | char del1 = dict_del2(d, &stroke->points[0], stroke); | ^~~~ gfxpoly/convert.c:499:7: warning: unused variable 'del' [-Wunused-variable] 499 | char del = dict_del(todo, stroke); | ^~~ gfxpoly/convert.c:456:10: warning: variable 'should_connect' set but not used [-Wunused-but-set-variable] 456 | char should_connect = 0; | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 34 | double lasty = y+sin(a1)*r; | ^~~~~ gfxpoly/stroke.c:33:12: warning: variable 'lastx' set but not used [-Wunused-but-set-variable] 33 | 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] 129 | double py2 = p[pos+incr].y + addy; | ^~~ gfxpoly/stroke.c:128:13: warning: unused variable 'px2' [-Wunused-variable] 128 | double px2 = p[pos+incr].x + addx; | ^~~ gfxpoly/stroke.c:76:9: warning: unused variable 'pos' [-Wunused-variable] 76 | int pos = 0; | ^~~ gfxpoly/stroke.c:107:10: warning: 'turn' may be used uninitialized in this function [-Wmaybe-uninitialized] 107 | 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] 181 | 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] 181 | int parts = (int)(sqrt(fabs(line->x-2*line->sx+lastx) + fabs(line->y-2*line->sy+lasty))*SUBFRACTION); | ~~~~~~~~~~~~~~~~~~^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic readers/swf.c -o readers/swf2.o readers/swf.c: In function 'findimage': readers/swf.c:217:16: warning: unused variable 'img' [-Wunused-variable] 217 | gfximage_t*img = (gfximage_t*)c->data; | ^~~ readers/swf.c: In function 'extractFrame': readers/swf.c:441:9: warning: unused variable 'insprite' [-Wunused-variable] 441 | int insprite = 0; | ^~~~~~~~ readers/swf.c: In function 'renderCharacter': readers/swf.c:541:12: warning: unused variable 'line' [-Wunused-variable] 541 | SHAPELINE*line = shape.lines; | ^~~~ readers/swf.c: In function 'swfpage_destroy': readers/swf.c:628:25: warning: unused variable 'i' [-Wunused-variable] 628 | 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] 662 | 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] 677 | 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] 719 | gfxdevice_t d; | ^ readers/swf.c:718:14: warning: unused variable 'r' [-Wunused-variable] 718 | render_t r; | ^ readers/swf.c:717:9: warning: unused variable 'frame' [-Wunused-variable] 717 | int frame; | ^~~~~ readers/swf.c:715:9: warning: unused variable 'tag' [-Wunused-variable] 715 | TAG*tag = 0; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic readers/image.c -o readers/image.o readers/image.c: In function 'imagepage_destroy': readers/image.c:24:27: warning: unused variable 'i' [-Wunused-variable] 24 | 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] 31 | 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] 53 | 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] 92 | image_doc_internal_t*i= (image_doc_internal_t*)gfx->internal; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 145 | int s,t; | ^ gfxpoly/renderpoly.c: In function 'intbbox_from_polygon': gfxpoly/renderpoly.c:242:9: warning: unused variable 's' [-Wunused-variable] 242 | int s,t; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 188 | int s,t; | ^ gfxpoly/poly.c:188:9: warning: unused variable 's' [-Wunused-variable] 188 | int s,t; | ^ gfxpoly/poly.c: In function 'gfxpoly_check': gfxpoly/poly.c:261:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 261 | if(a.x == p2->x && a.y == p2->y || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gfxpoly/poly.c:201:11: warning: unused variable 't' [-Wunused-variable] 201 | int s,t; | ^ gfxpoly/poly.c: In function 'gfxpoly_dump': gfxpoly/poly.c:283:11: warning: unused variable 't' [-Wunused-variable] 283 | int s,t; | ^ gfxpoly/poly.c: In function 'gfxpoly_save': gfxpoly/poly.c:312:11: warning: unused variable 't' [-Wunused-variable] 312 | int s,t; | ^ gfxpoly/poly.c: In function 'gfxpoly_save_arrows': gfxpoly/poly.c:333:9: warning: unused variable 't' [-Wunused-variable] 333 | int t; | ^ gfxpoly/poly.c: In function 'gfxpoly_enqueue': gfxpoly/poly.c:540:9: warning: unused variable 't' [-Wunused-variable] 540 | int t; | ^ gfxpoly/poly.c: In function 'add_points_to_ending_segments': gfxpoly/poly.c:1035:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1035 | 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] 1109 | edgestyle_t*fs_old = s->fs_out; | ^~~~~~ gfxpoly/poly.c:1067:15: warning: unused variable 'last' [-Wunused-variable] 1067 | 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] 1148 | point_t o = h->a; | ^ At top level: gfxpoly/poly.c:404:13: warning: 'segment_dump' defined but not used [-Wunused-function] 404 | static void segment_dump(segment_t*s) | ^~~~~~~~~~~~ gfxpoly/poly.c:382:13: warning: 'event_dump' defined but not used [-Wunused-function] 382 | static void event_dump(status_t*status, event_t*e) | ^~~~~~~~~~ In file included from gfxpoly/poly.c:13: gfxpoly/poly.c:138:13: warning: 'hqueue_destroy' defined but not used [-Wunused-function] 138 | HEAP_DEFINE(hqueue,event_t,COMPARE_EVENTS_SIMPLE); | ^~~~~~ gfxpoly/heap.h:71:13: note: in definition of macro 'HEAP_DEFINE' 71 | static void name##_destroy(name##_t*h) \ | ^~~~ gfxpoly/poly.c:138:13: warning: 'hqueue_init' defined but not used [-Wunused-function] 138 | HEAP_DEFINE(hqueue,event_t,COMPARE_EVENTS_SIMPLE); | ^~~~~~ gfxpoly/heap.h:65:13: note: in definition of macro 'HEAP_DEFINE' 65 | static void name##_init(name##_t*h) \ | ^~~~ gfxpoly/poly.c:138:13: warning: 'hqueue_get' defined but not used [-Wunused-function] 138 | HEAP_DEFINE(hqueue,event_t,COMPARE_EVENTS_SIMPLE); | ^~~~~~ gfxpoly/heap.h:44:11: note: in definition of macro 'HEAP_DEFINE' 44 | static t* name##_get(name##_t*h) \ | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/job.c -o gocr/job.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/box.c -o gocr/box.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/lines.c -o gocr/lines.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/list.c -o gocr/list.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 56 | 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] 56 | int i, jj, j2, y, yy, my, mi, mc, i1, i2, i3, i4, | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/database.c -o gocr/database.o gocr/database.c: In function 'load_db': gocr/database.c:58:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 58 | 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' 58 | 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] 218 | 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' 218 | 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] 219 | 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' 219 | 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] 401 | fgets(buf,200,stdin); /* including \n=0x0a */ | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from gocr/database.c:27: In function 'strncpy', inlined from 'store_db' at gocr/database.c:157:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gocr/database.c: In function 'store_db': gocr/database.c:157:3: note: length computed here 157 | strncpy(s2+i2,s3,strlen(s3)); s2[i2+strlen(s3)]=0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/ocr1.c -o gocr/ocr1.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 34 | int x,y,x2,y2,yy0,tx,ty,n1,i; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/otsu.c -o gocr/otsu.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 254 | i->fillstyleid; | ~^~~~~~~~~~~~~ devices/swf.c:255:6: warning: statement with no effect [-Wunused-value] 255 | i->linestyleid; | ~^~~~~~~~~~~~~ devices/swf.c: In function 'moveto': devices/swf.c:391:24: warning: unused variable 'i' [-Wunused-variable] 391 | 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] 636 | int lastchar; | ^~~~~~~~ devices/swf.c: In function 'swf_endframe': devices/swf.c:1131:10: warning: statement with no effect [-Wunused-value] 1131 | for(i->depth;i->depth>i->startdepth;i->depth--) { | ~^~~~~~~ devices/swf.c:1138:7: warning: statement with no effect [-Wunused-value] 1138 | 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] 1236 | SRECT r; | ^ devices/swf.c: In function 'changeRect': devices/swf.c:1294:24: warning: unused variable 'i' [-Wunused-variable] 1294 | 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] 1836 | char lastwasmoveto; | ^~~~~~~~~~~~~ devices/swf.c:1835:37: warning: variable 'py' set but not used [-Wunused-but-set-variable] 1835 | 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] 1835 | 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] 1999 | swf_ObjectPlace(i->tag, buttonid, getNewDepth(dev),&m,0,(U8*)name); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from devices/swf.c:40: devices/../rfxswf.h:941:81: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 941 | 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] 2001 | swf_ObjectPlace(i->tag, buttonid, getNewDepth(dev),&i->page_matrix,0,(U8*)name); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from devices/swf.c:40: devices/../rfxswf.h:941:81: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 941 | 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] 1877 | int lsid=0; | ^~~~ devices/swf.c: In function 'gfxline_type': devices/swf.c:2540:9: warning: unused variable 'haszerosegments' [-Wunused-variable] 2540 | int haszerosegments=0; | ^~~~~~~~~~~~~~~ devices/swf.c: In function 'gfxline_has_dots': devices/swf.c:2569:9: warning: unused variable 'tmplines' [-Wunused-variable] 2569 | int tmplines=0; | ^~~~~~~~ devices/swf.c: In function 'swf_stroke': devices/swf.c:2663:9: warning: unused variable 'is_outside_page' [-Wunused-variable] 2663 | 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] 2728 | 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] 219 | 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] 1369 | static void endshape_noput(gfxdevice_t*dev) | ^~~~~~~~~~~~~~ devices/swf.c:1146:13: warning: 'setBackground' defined but not used [-Wunused-function] 1146 | 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] 612 | static chararray_t*chararray_reverse(chararray_t*buf) | ^~~~~~~~~~~~~~~~~ devices/swf.c: In function 'swf_stroke': devices/swf.c:2615:42: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 2615 | if(fabs(line->x - x) + fabs(line->y - y) < 0.01) { | ~~~~~~~~^~~ devices/swf.c:2612:14: note: 'y' was declared here 2612 | double x,y; | ^ devices/swf.c:2615:22: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 2615 | if(fabs(line->x - x) + fabs(line->y - y) < 0.01) { | ~~~~~~~~^~~ devices/swf.c:2612:12: note: 'x' was declared here 2612 | double x,y; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/progress.c -o gocr/progress.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I xpdf FullBitmapOutputDev.cc -o FullBitmapOutputDev.o cc1plus: warning: command-line option '-Wimplicit' is valid for C/ObjC but not for C++ FullBitmapOutputDev.cc:41:20: warning: 'splash_black' defined but not used [-Wunused-variable] 41 | static SplashColor splash_black = {0,0,0}; | ^~~~~~~~~~~~ FullBitmapOutputDev.cc: In member function 'void FullBitmapOutputDev::flushBitmap()': FullBitmapOutputDev.cc:111:21: warning: 'ymax' may be used uninitialized in this function [-Wmaybe-uninitialized] 111 | if(*xmin>=*xmax || *ymin>=*ymax) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ FullBitmapOutputDev.cc:127:24: note: 'ymax' was declared here 127 | int xmin,ymin,xmax,ymax; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic ttf.c -o ttf.o ttf.c: In function 'reader_reset': ttf.c:121:6: warning: statement with no effect [-Wunused-value] 121 | r->pos; | ~^~~~~ ttf.c: In function 'head_parse': ttf.c:309:9: warning: unused variable 'checksum2' [-Wunused-variable] 309 | U32 checksum2 = readU32(r); | ^~~~~~~~~ ttf.c:308:9: warning: unused variable 'revision' [-Wunused-variable] 308 | U32 revision = readU32(r); | ^~~~~~~~ ttf.c: In function 'hea_parse': ttf.c:745:9: warning: unused variable 'version' [-Wunused-variable] 745 | U32 version = readU32(r); | ^~~~~~~ ttf.c: In function 'parse_simple_glyph': ttf.c:1001:10: warning: unused variable 'oldx' [-Wunused-variable] 1001 | int oldx = x; | ^~~~ ttf.c:990:9: warning: unused variable 'bytepos' [-Wunused-variable] 990 | int bytepos = r->pos; | ^~~~~~~ ttf.c: In function 'write_simple_glyph': ttf.c:1129:9: warning: unused variable 'bytepos' [-Wunused-variable] 1129 | int bytepos = w->len; | ^~~~~~~ ttf.c: In function 'cmap_parse': ttf.c:1260:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1260 | platform==3 && encoding == 1 || | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ttf.c:1261:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1261 | platform==3 && encoding == 10; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ttf.c:1302:10: warning: unused variable 'glyphmap_size' [-Wunused-variable] 1302 | int glyphmap_size = t.size - glyphmap_start; | ^~~~~~~~~~~~~ ttf.c:1249:15: warning: variable 'data' set but not used [-Wunused-but-set-variable] 1249 | unicode_t*data = 0; | ^~~~ ttf.c: In function 'cmap_write': ttf.c:1395:9: warning: unused variable 'glyphmap_start' [-Wunused-variable] 1395 | 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] 1517 | INIT_READ(ss, r->mem, r->size, offset+offset_2); | ^~ ttf.c:123:50: note: in definition of macro 'INIT_READ' 123 | #define INIT_READ(r,data,length,pos) memreader_t r = {(data),(pos),(length)}; | ^ ttf.c:1510:6: warning: unused variable 'language' [-Wunused-variable] 1510 | U16 language = readU16(r); | ^~~~~~~~ ttf.c:1502:9: warning: unused variable 'format' [-Wunused-variable] 1502 | U16 format = readU16(r); | ^~~~~~ ttf.c: In function 'post_parse': ttf.c:1645:9: warning: unused variable 'is_monospaced' [-Wunused-variable] 1645 | U16 is_monospaced = readU32(r); | ^~~~~~~~~~~~~ ttf.c:1641:9: warning: unused variable 'format' [-Wunused-variable] 1641 | U32 format = readU32(r); | ^~~~~~ ttf.c: In function 'ttf_load': ttf.c:2093:10: warning: unused variable 'c' [-Wunused-variable] 2093 | U8 c = readU16(&r)>>8; | ^ ttf.c:2059:6: warning: unused variable 'flags' [-Wunused-variable] 2059 | U32 flags = readU32(&r); | ^~~~~ ttf.c:2058:6: warning: unused variable 'version' [-Wunused-variable] 2058 | U32 version = readU32(&r); | ^~~~~~~ ttf.c:2057:6: warning: unused variable 'fontDataSize' [-Wunused-variable] 2057 | U32 fontDataSize = readU32(&r); | ^~~~~~~~~~~~ ttf.c:2120:6: warning: unused variable 'num_fonts' [-Wunused-variable] 2120 | U32 num_fonts = readU32(&r); // number of fonts | ^~~~~~~~~ ttf.c:2119:6: warning: unused variable 'ttcf_version' [-Wunused-variable] 2119 | U32 ttcf_version = readU32(&r); // 0x00000100: v1.0, 0x00000200: v2.0, includes DSIG table | ^~~~~~~~~~~~ ttf.c:2153:6: warning: unused variable 'checksum' [-Wunused-variable] 2153 | 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] 2243 | int table_dictionary_pos = file->len; | ^~~~~~~~~~~~~~~~~~~~ At top level: ttf.c:274:13: warning: 'ttf_table_dump' defined but not used [-Wunused-function] 274 | static void ttf_table_dump(ttf_table_t*t, const char*prefix) | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/pixel.c -o gocr/pixel.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic devices/ocr.c -o devices/ocr.o devices/ocr.c: In function 'ocr_result_write': devices/ocr.c:80:16: warning: unused variable 'i' [-Wunused-variable] 80 | textpage_t*i= (textpage_t*)r->internal; | ^ devices/ocr.c: In function 'ocr_result_destroy': devices/ocr.c:137:9: warning: unused variable 't' [-Wunused-variable] 137 | int t; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' 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 make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' 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 make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' 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 make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' rm -f libgfxswf.a ar r libgfxswf.a devices/swf.o readers/swf2.o readers/image.o ar: creating libgfxswf.a ranlib libgfxswf.a make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/remove.c -o gocr/remove.o gocr/remove.c: In function 'smooth_borders': gocr/remove.c:200:33: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 200 | int ii=0,x,y,x0,x1,y0,y1,dx,dy,cs,i0,i1,i2,i3,i4,n1,n2, | ^~ gocr/remove.c:200:30: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 200 | int ii=0,x,y,x0,x1,y0,y1,dx,dy,cs,i0,i1,i2,i3,i4,n1,n2, | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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] 148 | double m01 = ctm[1]*tm[0] + ctm[3]*tm[1]; | ^~~ CommonOutputDev.cc:150:12: warning: unused variable 'm11' [-Wunused-variable] 150 | double m11 = ctm[1]*tm[2] + ctm[3]*tm[3]; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I xpdf XMLOutputDev.cc -o XMLOutputDev.o cc1plus: warning: command-line option '-Wimplicit' is valid for C/ObjC but not for C++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/unicode.c -o gocr/unicode.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic fonts.c -o fonts.o make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 41 | U32 m00 = (*(U32*)&m->m00)&0xfff00000; | ^~~~~~~~~~~~~ InfoOutputDev.cc:42:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | U32 m01 = (*(U32*)&m->m01)&0xfff00000; | ^~~~~~~~~~~~~ InfoOutputDev.cc:43:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 43 | U32 m10 = (*(U32*)&m->m10)&0xfff00000; | ^~~~~~~~~~~~~ InfoOutputDev.cc:44:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 44 | U32 m11 = (*(U32*)&m->m11)&0xfff00000; | ^~~~~~~~~~~~~ InfoOutputDev.cc: In function 'char fontclass_equals(const void*, const void*)': InfoOutputDev.cc:73:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | if(((*(U32*)&m1->m00 ^ *(U32*)&m2->m00)&0xfff00000) || | ^~~~~~~~~~~~~~ InfoOutputDev.cc:73:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | if(((*(U32*)&m1->m00 ^ *(U32*)&m2->m00)&0xfff00000) || | ^~~~~~~~~~~~~~ InfoOutputDev.cc:74:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 74 | ((*(U32*)&m1->m01 ^ *(U32*)&m2->m01)&0xfff00000) || | ^~~~~~~~~~~~~~ InfoOutputDev.cc:74:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 74 | ((*(U32*)&m1->m01 ^ *(U32*)&m2->m01)&0xfff00000) || | ^~~~~~~~~~~~~~ InfoOutputDev.cc:75:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 75 | ((*(U32*)&m1->m10 ^ *(U32*)&m2->m10)&0xfff00000) || | ^~~~~~~~~~~~~~ InfoOutputDev.cc:75:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 75 | ((*(U32*)&m1->m10 ^ *(U32*)&m2->m10)&0xfff00000) || | ^~~~~~~~~~~~~~ InfoOutputDev.cc:76:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 76 | ((*(U32*)&m1->m11 ^ *(U32*)&m2->m11)&0xfff00000)) | ^~~~~~~~~~~~~~ InfoOutputDev.cc:76:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 76 | ((*(U32*)&m1->m11 ^ *(U32*)&m2->m11)&0xfff00000)) | ^~~~~~~~~~~~~~ InfoOutputDev.cc: In destructor 'virtual InfoOutputDev::~InfoOutputDev()': InfoOutputDev.cc:114:15: warning: unused variable 'i' [-Wunused-variable] 114 | GHashIter*i; | ^ InfoOutputDev.cc: In function 'int findSpace(gfxfont_t*)': InfoOutputDev.cc:197:9: warning: unused variable 'first_space' [-Wunused-variable] 197 | int first_space = -1; | ^~~~~~~~~~~ InfoOutputDev.cc: In member function 'gfxfont_t* FontInfo::createGfxFont()': InfoOutputDev.cc:303:10: warning: unused variable 'count' [-Wunused-variable] 303 | int count = 0; | ^~~~~ InfoOutputDev.cc:387:13: warning: unused variable 'line' [-Wunused-variable] 387 | 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:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 622 | *(U32*)&out->m00 = (*(U32*)&out->m00)&0xffe00000; | ^~~~~~~~~~~~~~~ InfoOutputDev.cc:622:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 622 | *(U32*)&out->m00 = (*(U32*)&out->m00)&0xffe00000; | ^~~~~~~~~~~~~~~ InfoOutputDev.cc:623:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 623 | *(U32*)&out->m01 = (*(U32*)&out->m01)&0xffe00000; | ^~~~~~~~~~~~~~~ InfoOutputDev.cc:623:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 623 | *(U32*)&out->m01 = (*(U32*)&out->m01)&0xffe00000; | ^~~~~~~~~~~~~~~ InfoOutputDev.cc:624:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 624 | *(U32*)&out->m10 = (*(U32*)&out->m10)&0xffe00000; | ^~~~~~~~~~~~~~~ InfoOutputDev.cc:624:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 624 | *(U32*)&out->m10 = (*(U32*)&out->m10)&0xffe00000; | ^~~~~~~~~~~~~~~ InfoOutputDev.cc:625:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 625 | *(U32*)&out->m11 = (*(U32*)&out->m11)&0xffe00000; | ^~~~~~~~~~~~~~~ InfoOutputDev.cc:625:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 625 | *(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 of integer expressions of different signedness: 'Unicode' {aka 'unsigned int'} and 'int' [-Wsign-compare] 786 | 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] 973 | GHashIter*i; | ^ InfoOutputDev.cc:974:13: warning: unused variable 'key' [-Wunused-variable] 974 | 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] 238 | static void transform_glyph(gfxglyph_t*g, fontclass_t*mm, double scale) | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I xpdf popplercompat.cc -o popplercompat.o cc1plus: warning: command-line option '-Wimplicit' is valid for C/ObjC but not for C++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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] 100 | 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] 179 | 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] 185 | 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] 454 | char buf[80]; | ^~~ pdf.cc: In function 'gfxdocument_t* pdf_open(gfxsource_t*, const char*)': pdf.cc:485:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'pdf_doc_internal_t' {aka 'struct _pdf_doc_internal'}; use assignment or value-initialization instead [-Wclass-memaccess] 485 | memset(i, 0, sizeof(pdf_doc_internal_t)); | ^ pdf.cc:43:16: note: 'pdf_doc_internal_t' {aka 'struct _pdf_doc_internal'} declared here 43 | typedef struct _pdf_doc_internal | ^~~~~~~~~~~~~~~~~ pdf.cc: At global scope: pdf.cc:89:20: warning: 'const char* dirseparator()' defined but not used [-Wunused-function] 89 | static const char* dirseparator() | ^~~~~~~~~~~~ pdf.cc:31:12: warning: 'globalparams_count' defined but not used [-Wunused-variable] 31 | static int globalparams_count=0; | ^~~~~~~~~~~~~~~~~~ In file included from pdf.cc:22: ../args.h:210:14: warning: 'char* filename2template(char*, int*)' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 1569 | 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] 1700 | 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] 1903 | struct box *box3,*box4; | ^~~~ gocr/pgm2asc.c:1866:52: warning: variable 'box4' set but not used [-Wunused-but-set-variable] 1866 | 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] 1944 | 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] 1944 | 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] 1944 | 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] 1944 | int i,ii,ni,cs,x0,y0,x1,y1; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic bbox.c -o bbox.o bbox.c: In function 'get_bitmap_bboxes': bbox.c:438:11: warning: unused variable 'group' [-Wunused-variable] 438 | void**group = annotate(&context); | ^~~~~ bbox.c:426:9: warning: unused variable 'size' [-Wunused-variable] 426 | int size = width*height; | ^~~~ At top level: bbox.c:395:13: warning: 'display' defined but not used [-Wunused-function] 395 | static void display(context_t*context) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 213 | for(t=0;t= current_fontinfo->num_glyphs || !current_fontinfo->glyphs[charid]) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CharOutputDev.cc:818:15: warning: unused variable 'bbox' [-Wunused-variable] 818 | 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 of integer expressions of different signedness: 'CharCode' {aka 'unsigned int'} and 'int' [-Wsign-compare] 930 | 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] 1148 | LinkUnknown*l = (LinkUnknown*)actionobj; | ^ CharOutputDev.cc:1052:10: warning: variable 'named' set but not used [-Wunused-but-set-variable] 1052 | char*named = 0; | ^~~~~ CharOutputDev.cc: At global scope: CharOutputDev.cc:746:19: warning: 'gfxline_t* mkEmptyGfxShape(double, double)' defined but not used [-Wunused-function] 746 | static gfxline_t* mkEmptyGfxShape(double x, double y) | ^~~~~~~~~~~~~~~ CharOutputDev.cc:585:13: warning: 'void showFontError(GfxFont*, int)' defined but not used [-Wunused-function] 585 | static void showFontError(GfxFont*font, int nr) | ^~~~~~~~~~~~~ CharOutputDev.cc:202:12: warning: 'fcinitcalled' defined but not used [-Wunused-variable] 202 | static int fcinitcalled = 0; | ^~~~~~~~~~~~ CharOutputDev.cc:201:12: warning: 'config_use_fontconfig' defined but not used [-Wunused-variable] 201 | static int config_use_fontconfig = 1; | ^~~~~~~~~~~~~~~~~~~~~ CharOutputDev.cc:75:12: warning: 'fontnum' defined but not used [-Wunused-variable] 75 | static int fontnum = 0; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gocr/ocr0n.c -o gocr/ocr0n.o gocr/ocr0n.c: In function 'ocr0n': gocr/ocr0n.c:277:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 277 | 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' 277 | 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] 866 | 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' 866 | 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] 934 | 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' 934 | 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] 960 | 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' 960 | if (j>x) x=j; i=y; } | ^ gocr/ocr0n.c:979:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 979 | 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' 979 | if( ji+dx/16 ) break; | ^~ gocr/ocr0n.c:984:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 984 | 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' 984 | 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] 1117 | 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' 1117 | if (ix) x=i; | ^~ gocr/ocr0n.c:76:12: warning: variable 'bc' set but not used [-Wunused-but-set-variable] 76 | wchar_t bc=UNKNOWN; // best char | ^~ gocr/ocr0n.c:73:18: warning: variable 'yb' set but not used [-Wunused-but-set-variable] 73 | int xa,xb,ya,yb, /* tmp-vars */ | ^~ gocr/ocr0n.c:73:15: warning: variable 'ya' set but not used [-Wunused-but-set-variable] 73 | int xa,xb,ya,yb, /* tmp-vars */ | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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] 514 | int x,y; | ^ BitmapOutputDev.cc:503:9: warning: unused variable 'size' [-Wunused-variable] 503 | 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] 554 | int width = btm->getWidth(); | ^~~~~ BitmapOutputDev.cc:555:6: warning: unused variable 'height' [-Wunused-variable] 555 | 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] 811 | SplashBitmap*clip0 = clip0bitmap; | ^~~~~ BitmapOutputDev.cc:812:15: warning: unused variable 'clip1' [-Wunused-variable] 812 | 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] 925 | int t; | ^ BitmapOutputDev.cc:926:16: warning: unused variable 'c' [-Wunused-variable] 926 | unsigned char c=0; | ^ BitmapOutputDev.cc:933:13: warning: unused variable 'x' [-Wunused-variable] 933 | 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] 1469 | 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] 1635 | 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] 588 | static void getBitmapBBox(SplashBitmap*b, int*xmin, int*ymin, int*xmax, int*ymax) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ 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] 255 | err1: | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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] 3005 | 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] 3036 | int length; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I xpdf xpdf/FoFiTrueType.cc -o xpdf/FoFiTrueType.o cc1plus: warning: command-line option '-Wimplicit' is valid for C/ObjC but not for C++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 of integer expressions of different signedness: 'CharCode' {aka 'unsigned int'} and 'int' [-Wsign-compare] 254 | if (code1 > maxCode) { | ~~~~~~^~~~~~~~~ xpdf/CharCodeToUnicode.cc:283:19: warning: comparison of integer expressions of different signedness: 'CharCode' {aka 'unsigned int'} and 'int' [-Wsign-compare] 283 | if (code1 > maxCode || code2 > maxCode) { | ~~~~~~^~~~~~~~~ xpdf/CharCodeToUnicode.cc:283:38: warning: comparison of integer expressions of different signedness: 'CharCode' {aka 'unsigned int'} and 'int' [-Wsign-compare] 283 | 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] 334 | map = oldmap; | ~~~~^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I ./ -I xpdf xpdf/BuiltinFont.cc -o xpdf/BuiltinFont.o cc1plus: warning: command-line option '-Wimplicit' is valid for C/ObjC but not for C++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ xpdf/Function.cc: In constructor 'SampledFunction::SampledFunction(SampledFunction*)': xpdf/Function.cc:365:45: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class SampledFunction' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 365 | memcpy(this, func, sizeof(SampledFunction)); | ^ In file included from xpdf/Function.cc:24: xpdf/Function.h:103:7: note: 'class SampledFunction' declared here 103 | class SampledFunction: public Function { | ^~~~~~~~~~~~~~~ xpdf/Function.cc: In constructor 'ExponentialFunction::ExponentialFunction(ExponentialFunction*)': xpdf/Function.cc:516:49: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class ExponentialFunction' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 516 | memcpy(this, func, sizeof(ExponentialFunction)); | ^ In file included from xpdf/Function.cc:24: xpdf/Function.h:143:7: note: 'class ExponentialFunction' declared here 143 | class ExponentialFunction: public Function { | ^~~~~~~~~~~~~~~~~~~ xpdf/Function.cc: In constructor 'PostScriptFunction::PostScriptFunction(PostScriptFunction*)': xpdf/Function.cc:1052:48: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class PostScriptFunction' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1052 | memcpy(this, func, sizeof(PostScriptFunction)); | ^ In file included from xpdf/Function.cc:24: xpdf/Function.h:203:7: note: 'class PostScriptFunction' declared here 203 | class PostScriptFunction: public Function { | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ 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] 2553 | double *ctm; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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] 3133 | GBool isUnicode; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ 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] 65 | int curSubpath, curSubpathX, i, j; | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ 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] 118 | GBool isCID; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ xpdf/Splash.cc: In member function 'void Splash::compositeBackground(SplashColorPtr)': xpdf/Splash.cc:2829:52: warning: unused variable 'color3' [-Wunused-variable] 2829 | Guchar alpha, alpha1, c, color0, color1, color2, color3; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' i586-alt-linux-g++ -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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++ make[2]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[2]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' 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 '/usr/src/RPM/BUILD/swftools-0.9.2/lib/pdf' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 359 | 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' 359 | 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] 358 | 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] 361 | 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' 361 | 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] 360 | 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] 363 | 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' 363 | 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] 362 | 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] 365 | 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' 365 | 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] 364 | 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] 241 | 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] 591 | 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] 591 | 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] 729 | 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] 797 | 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] 1055 | 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] 1341 | 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' 1342 | 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] 1265 | 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] 1376 | 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] 1517 | 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] 1517 | 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] 1517 | 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] 2128 | 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] 2491 | 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] 2534 | 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] 2835 | 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' 2836 | 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] 3020 | 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] 3020 | 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] 3422 | 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] 3609 | 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' 3610 | 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] 3634 | 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' 3807 | 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] 3833 | 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' 4530 | 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] 4529 | for(i=0,y=0;y 2 ) i++; if(i>dy/8) Break; // ~a \it a | ^~ gocr/ocr0.c: In function 'ocr0p9': gocr/ocr0.c:5425:8: warning: variable 'dbg' set but not used [-Wunused-but-set-variable] 5425 | 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] 5423 | 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] 5831 | 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' 5831 | 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] 5850 | 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' 5850 | if( i<=dx/2 ) break; ya-=y0; | ^~ gocr/ocr0.c:5803:17: warning: variable 'i4' set but not used [-Wunused-but-set-variable] 5803 | i1,i2,i3,i4,j1,cs=sdata->cs; /* tmp-vars */ | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/lib' 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 '/usr/src/RPM/BUILD/swftools-0.9.2/lib' make: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2' making all in lib/pdf... make: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2' cd lib/pdf;make all make[1]: Nothing to be done for 'all'. make: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2' making all in lib... make: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2' cd lib;make all make[1]: Nothing to be done for 'all'. make: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2' making all in lib/python... make: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2' cd lib/python;make all make[1]: Nothing to be done for 'all'. make: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2' making all in lib/ruby... make: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2' cd src;make all make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic png2swf.c -o png2swf.o 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] 146 | 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] 166 | fread(head2,8,1,fi); | ^~~~~~~~~~~~~~~~~~~ In file included from png2swf.c:28: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfc-feedback.c -o swfc-feedback.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfstrings.c -o swfstrings.o swfstrings.c: In function 'textcallback': swfstrings.c:153:6: warning: unused variable 'advance' [-Wunused-variable] 153 | int advance = 0; | ^~~~~~~ swfstrings.c: In function 'fontcallback': swfstrings.c:180:8: warning: variable 't' set but not used [-Wunused-but-set-variable] 180 | TAG* t; | ^ In file included from swfstrings.c:25: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic parser.yy.c -o parser.o parser.lex: In function 'unescapeString': parser.lex:85:10: warning: unused variable 't' [-Wunused-variable] 85 | int t; | ^ parser.lex: In function 'generateTokens': parser.lex:289:9: warning: variable 'num' set but not used [-Wunused-but-set-variable] 289 | | ^ At top level: parser.yy.c:1541:17: warning: 'yyunput' defined but not used [-Wunused-function] 1541 | static void yyunput (int c, register char * yy_bp ) | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic wav2swf.c -o wav2swf.o wav2swf.c: In function 'main': wav2swf.c:312:32: warning: pointer targets in passing argument 2 of 'swf_SetSoundStreamBlock' differ in signedness [-Wpointer-sign] 312 | swf_SetSoundStreamBlock(tag, block1, seek, 1); | ^~~~~~ | | | U16 * {aka short unsigned int *} In file included from wav2swf.c:24: ../lib/rfxswf.h:750:43: note: expected 'S16 *' {aka 'short int *'} but argument is of type 'U16 *' {aka 'short unsigned int *'} 750 | 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] 317 | swf_SetSoundStreamBlock(tag, block1, seek, 0); | ^~~~~~ | | | U16 * {aka short unsigned int *} In file included from wav2swf.c:24: ../lib/rfxswf.h:750:43: note: expected 'S16 *' {aka 'short int *'} but argument is of type 'U16 *' {aka 'short unsigned int *'} 750 | void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first); /* expects 2304 samples */ | ~~~~^~~~~~~ wav2swf.c:298:13: warning: unused variable 'a' [-Wunused-variable] 298 | ActionTAG* a = 0; | ^ wav2swf.c:338:33: warning: pointer targets in passing argument 2 of 'swf_SetSoundDefine' differ in signedness [-Wpointer-sign] 338 | swf_SetSoundDefine(tag, samples, numsamples); | ^~~~~~~ | | | U16 * {aka short unsigned int *} In file included from wav2swf.c:24: ../lib/rfxswf.h:751:38: note: expected 'S16 *' {aka 'short int *'} but argument is of type 'U16 *' {aka 'short unsigned int *'} 751 | void swf_SetSoundDefine(TAG*tag, S16*samples, int num); | ~~~~^~~~~~~ wav2swf.c:205:11: warning: variable 'samplesperblock' set but not used [-Wunused-but-set-variable] 205 | float samplesperblock; | ^~~~~~~~~~~~~~~ wav2swf.c:197:9: warning: unused variable 'count' [-Wunused-variable] 197 | int count; | ^~~~~ wav2swf.c:196:17: warning: unused variable 'fs1' [-Wunused-variable] 196 | int f,i,ls1,fs1; | ^~~ wav2swf.c:196:13: warning: unused variable 'ls1' [-Wunused-variable] 196 | int f,i,ls1,fs1; | ^~~ wav2swf.c:196:11: warning: unused variable 'i' [-Wunused-variable] 196 | int f,i,ls1,fs1; | ^ wav2swf.c:192:11: warning: unused variable 'r' [-Wunused-variable] 192 | SRECT r; | ^ In file included from wav2swf.c:26: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfc-history.c -o swfc-history.o swfc-history.c: In function 'state_differs': swfc-history.c:199:14: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 199 | state_t* previous = modification; | ^~~~~~~~ swfc-history.c: In function 'interpolateGradient': swfc-history.c:436:9: warning: unused variable 'i' [-Wunused-variable] 436 | int i; | ^ swfc-history.c: In function 'interpolateGradientGlow': swfc-history.c:637:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 637 | else | ^~~~ swfc-history.c:645:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 645 | 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] 769 | 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] 665 | switch (filter_type) | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic gif2swf.c -o gif2swf.o In file included from gif2swf.c:30: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ gif2swf.c: In function 'MovieAddFrame': gif2swf.c:35:22: warning: '){n=n+1;gotoAndPlay(1);}else...' directive writing 36 bytes into a region of size between 33 and 42 [-Wformat-overflow=] 35 | #define AS_LASTFRAME "if(n<%d){n=n+1;gotoAndPlay(1);}else stop();" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gif2swf.c:35:22: note: in definition of macro 'AS_LASTFRAME' 35 | #define AS_LASTFRAME "if(n<%d){n=n+1;gotoAndPlay(1);}else stop();" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gif2swf.c:35:30: note: format string is defined here 35 | #define AS_LASTFRAME "if(n<%d){n=n+1;gotoAndPlay(1);}else stop();" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from gif2swf.c:26: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 43 and 52 bytes into a destination of size 48 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfdump.c -o swfdump.o swfdump.c: In function 'dumpButton2Actions': swfdump.c:240:10: warning: unused variable 'a' [-Wunused-variable] 240 | { U8 a; | ^ swfdump.c: In function 'handleDefineSound': swfdump.c:448:9: warning: unused variable 'id' [-Wunused-variable] 448 | U16 id = swf_GetU16(tag); | ^~ swfdump.c: In function 'handleDefineBits': swfdump.c:476:9: warning: unused variable 'bpp' [-Wunused-variable] 476 | int bpp; | ^~~ swfdump.c:473:9: warning: variable 'id' set but not used [-Wunused-but-set-variable] 473 | U16 id; | ^~ swfdump.c: In function 'handleEditText': swfdump.c:492:9: warning: unused variable 't' [-Wunused-variable] 492 | int t; | ^ swfdump.c:490:9: warning: variable 'id' set but not used [-Wunused-but-set-variable] 490 | U16 id ; | ^~ swfdump.c: In function 'handleVideoStream': swfdump.c:566:9: warning: unused variable 'id' [-Wunused-variable] 566 | U16 id = swf_GetU16(tag); | ^~ swfdump.c: In function 'handleVideoFrame': swfdump.c:587:28: warning: unused variable 'bit' [-Wunused-variable] 587 | U8 deblock,flags, tmp, bit; | ^~~ swfdump.c:587:23: warning: unused variable 'tmp' [-Wunused-variable] 587 | U8 deblock,flags, tmp, bit; | ^~~ swfdump.c:587:16: warning: unused variable 'flags' [-Wunused-variable] 587 | U8 deblock,flags, tmp, bit; | ^~~~~ swfdump.c:585:9: warning: unused variable 'id' [-Wunused-variable] 585 | U16 id = swf_GetU16(tag); | ^~ swfdump.c:582:24: warning: variable 'reference' set but not used [-Wunused-but-set-variable] 582 | U32 code, version, reference, sizeflags; | ^~~~~~~~~ swfdump.c:582:15: warning: variable 'version' set but not used [-Wunused-but-set-variable] 582 | U32 code, version, reference, sizeflags; | ^~~~~~~ swfdump.c:582:9: warning: variable 'code' set but not used [-Wunused-but-set-variable] 582 | U32 code, version, reference, sizeflags; | ^~~~ swfdump.c: In function 'handlePlaceObject23': swfdump.c:784:10: warning: unused variable 't' [-Wunused-variable] 784 | int t; | ^ swfdump.c: In function 'handleFontAlign1': swfdump.c:1015:12: warning: unused variable 'v2' [-Wunused-variable] 1015 | float v2 = swf_GetF16(tag); | ^~ swfdump.c:1014:12: warning: unused variable 'v1' [-Wunused-variable] 1014 | float v1 = swf_GetF16(tag); | ^~ swfdump.c:1017:5: warning: unused variable 'xyflags' [-Wunused-variable] 1017 | U8 xyflags = swf_GetU8(tag); | ^~~~~~~ swfdump.c: In function 'main': swfdump.c:1445:10: warning: unused variable 'id' [-Wunused-variable] 1445 | U16 id = swf_GetU16(tag); | ^~ swfdump.c:1500:10: warning: unused variable 'id' [-Wunused-variable] 1500 | U16 id = swf_GetU16(tag); | ^~ swfdump.c:1508:10: warning: unused variable 'id' [-Wunused-variable] 1508 | U16 id = swf_GetU16(tag); | ^~ swfdump.c:1151:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1151 | read(f, header, 3); | ^~~~~~~~~~~~~~~~~~ In file included from swfdump.c:41: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfbbox.c -o swfbbox.o swfbbox.c: In function 'getMovieClipBBox': swfbbox.c:553:9: warning: unused variable 'frame' [-Wunused-variable] 553 | int frame=0; | ^~~~~ In file included from swfbbox.c:29: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfc-interpolation.c -o swfc-interpolation.o make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic jpeg2swf.c -o jpeg2swf.o jpeg2swf.c: In function 'getJPEG': jpeg2swf.c:157:9: warning: unused variable 'x' [-Wunused-variable] 157 | int x,y; | ^ jpeg2swf.c:156:28: warning: unused variable 'mgr' [-Wunused-variable] 156 | struct jpeg_source_mgr mgr; | ^~~ In file included from jpeg2swf.c:29: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic as3compile.c -o as3compile.o as3compile.c: In function 'main': as3compile.c:217:9: warning: unused variable 't' [-Wunused-variable] 217 | int t; | ^ In file included from as3compile.c:28: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfrender.c -o swfrender.o In file included from swfrender.c:9: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic ttftool.c -o ttftool.o In file included from ttftool.c:28: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfextract.c -o swfextract.o swfextract.c: In function 'extractTag': swfextract.c:425:10: warning: unused variable 'ttag' [-Wunused-variable] 425 | TAG*ttag = (TAG*)malloc(sizeof(TAG)); | ^~~~ swfextract.c: In function 'listObjects': swfextract.c:600:11: warning: unused variable 'text' [-Wunused-variable] 600 | char text[80]; | ^~~~ swfextract.c: In function 'handlefont': swfextract.c:653:9: warning: unused variable 't' [-Wunused-variable] 653 | int t; | ^ swfextract.c: In function 'handlelossless': swfextract.c:890:9: warning: unused variable 'tmp32' [-Wunused-variable] 890 | U32 tmp32; | ^~~~~ swfextract.c:877:8: warning: unused variable 'tmp' [-Wunused-variable] 877 | U8 tmp; | ^~~ swfextract.c:872:9: warning: unused variable 'crc' [-Wunused-variable] 872 | int crc; | ^~~ swfextract.c: In function 'handledefinesound': swfextract.c:1095:9: warning: variable 'samples' set but not used [-Wunused-but-set-variable] 1095 | U32 samples; | ^~~~~~~ In file included from swfextract.c:26: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H wav2swf.o -o wav2swf ../lib/librfxswf.a ../lib/libbase.a -L/usr/local/lib -L/usr/lib -lmp3lame -lungif -ljpeg -lz -lm -lfreetype debug enabled, not stripping wav2swf make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H png2swf.o -o png2swf ../lib/librfxswf.a ../lib/libbase.a -L/usr/local/lib -L/usr/lib -lmp3lame -lungif -ljpeg -lz -lm -lfreetype debug enabled, not stripping png2swf make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic font2swf.c -o font2swf.o font2swf.c: In function 'convertFont': font2swf.c:109:20: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 109 | 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] 118 | getcwd(cwd, 128); | ^~~~~~~~~~~~~~~~ In file included from font2swf.c:27: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H swfstrings.o -o swfstrings ../lib/librfxswf.a ../lib/libbase.a -L/usr/local/lib -L/usr/lib -lmp3lame -lungif -ljpeg -lz -lm -lfreetype ld: ../lib/librfxswf.a(assets.o):/usr/src/RPM/BUILD/swftools-0.9.2/lib/as3/registry.h:156: multiple definition of `voidclass'; ../lib/librfxswf.a(abc.o):/usr/src/RPM/BUILD/swftools-0.9.2/lib/as3/registry.h:156: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:99: swfstrings] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfbytes.c -o swfbytes.o swfbytes.c: In function 'dumpFile': swfbytes.c:99:9: warning: unused variable 't' [-Wunused-variable] 99 | int t; | ^ swfbytes.c: In function 'parseFile': swfbytes.c:244:10: warning: unused variable 'n' [-Wunused-variable] 244 | int n; | ^ swfbytes.c: In function 'main': swfbytes.c:348:9: warning: unused variable 'tag' [-Wunused-variable] 348 | 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] 338 | read(fi, buf, 3); | ^~~~~~~~~~~~~~~~ In file included from swfbytes.c:28: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic 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] 609 | memset(swf, 0, sizeof(swf)); | ^ swfc.c: In function 's_buttonput': swfc.c:719:9: warning: unused variable 'flags' [-Wunused-variable] 719 | int flags = 0; | ^~~~~ swfc.c: In function 'setPlacement': swfc.c:916:16: warning: unused variable 'flist' [-Wunused-variable] 916 | FILTERLIST flist; | ^~~~~ swfc.c: In function 's_endSprite': swfc.c:981:17: warning: unused variable 'i' [-Wunused-variable] 981 | instance_t *i; | ^ swfc.c: In function 's_filled': swfc.c:1259:13: warning: variable 'fs1' set but not used [-Wunused-but-set-variable] 1259 | int ls1,fs1=0; | ^~~ swfc.c:1259:9: warning: variable 'ls1' set but not used [-Wunused-but-set-variable] 1259 | int ls1,fs1=0; | ^~~ swfc.c: In function 's_text': swfc.c:1370:16: warning: unused variable 'm' [-Wunused-variable] 1370 | MATRIX _m,*m=0; | ^ swfc.c:1370:12: warning: unused variable '_m' [-Wunused-variable] 1370 | MATRIX _m,*m=0; | ^~ swfc.c: In function 's_quicktime': swfc.c:1400:16: warning: unused variable 'm' [-Wunused-variable] 1400 | MATRIX _m,*m=0; | ^ swfc.c:1400:12: warning: unused variable '_m' [-Wunused-variable] 1400 | 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] 1484 | swf_GetJPEGSize(filename, &width, &height); | ^~~~~~ | | | unsigned int * In file included from swfc.c:30: ../lib/rfxswf.h:722:46: note: expected 'int *' but argument is of type 'unsigned int *' 722 | 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] 1484 | swf_GetJPEGSize(filename, &width, &height); | ^~~~~~~ | | | unsigned int * In file included from swfc.c:30: ../lib/rfxswf.h:722:57: note: expected 'int *' but argument is of type 'unsigned int *' 722 | 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] 1670 | int t; | ^ swfc.c:1722:33: warning: pointer targets in passing argument 2 of 'swf_SetSoundDefine' differ in signedness [-Wpointer-sign] 1722 | swf_SetSoundDefine(tag, samples, numsamples); | ^~~~~~~ | | | U16 * {aka short unsigned int *} In file included from swfc.c:30: ../lib/rfxswf.h:751:38: note: expected 'S16 *' {aka 'short int *'} but argument is of type 'U16 *' {aka 'short unsigned int *'} 751 | 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] 2024 | SHAPE2* shape2; | ^~~~~~ swfc.c: In function 's_includeswf': swfc.c:2069:10: warning: variable 's' set but not used [-Wunused-but-set-variable] 2069 | TAG* s; | ^ swfc.c: In function 'parseRawTwip': swfc.c:2460:6: warning: unused variable 't' [-Wunused-variable] 2460 | int t; | ^ swfc.c:2459:6: warning: unused variable 'l' [-Wunused-variable] 2459 | int l=strlen(str); | ^ swfc.c: In function 'parseNameOrTwip': swfc.c:2505:12: warning: unused variable 'v' [-Wunused-variable] 2505 | double v; | ^ swfc.c: In function 'parseExpression': swfc.c:2567:22: warning: array subscript has type 'char' [-Wchar-subscripts] 2567 | if(chr2index[*p]<0) { | ^~ swfc.c:2570:33: warning: array subscript has type 'char' [-Wchar-subscripts] 2570 | while(chr2index[*pnext]<0) | ^~~~~~ swfc.c:2578:57: warning: array subscript has type 'char' [-Wchar-subscripts] 2578 | action = table[stack[stackpos-1]][chr2index[*p]]; | ^~ swfc.c: In function 'texture2': swfc.c:3015:11: warning: unused variable 'r' [-Wunused-variable] 3015 | float r = 0; | ^ swfc.c:3001:16: warning: unused variable 'size' [-Wunused-variable] 3001 | SPOINT pos,size; | ^~~~ swfc.c:3001:12: warning: unused variable 'pos' [-Wunused-variable] 3001 | SPOINT pos,size; | ^~~ swfc.c: In function 'c_movement': swfc.c:3300:11: warning: unused variable 'oldbbox' [-Wunused-variable] 3300 | SRECT oldbbox; | ^~~~~~~ swfc.c: In function 'c_placement': swfc.c:3409:18: warning: unused variable 'a' [-Wunused-variable] 3409 | MULADD r,g,b,a; | ^ swfc.c:3409:16: warning: unused variable 'b' [-Wunused-variable] 3409 | MULADD r,g,b,a; | ^ swfc.c:3409:14: warning: unused variable 'g' [-Wunused-variable] 3409 | MULADD r,g,b,a; | ^ swfc.c:3409:12: warning: unused variable 'r' [-Wunused-variable] 3409 | MULADD r,g,b,a; | ^ swfc.c:3398:16: warning: unused variable 'below' [-Wunused-variable] 3398 | const char*below = lu(args, "below"); | ^~~~~ swfc.c:3397:16: warning: unused variable 'above' [-Wunused-variable] 3397 | const char*above = lu(args, "above"); /*FIXME*/ | ^~~~~ swfc.c:3396:27: warning: variable 'anglestr' set but not used [-Wunused-but-set-variable] 3396 | const char* ystr="", *anglestr=""; | ^~~~~~~~ swfc.c: In function 'c_frame': swfc.c:3784:10: warning: unused variable 'buf' [-Wunused-variable] 3784 | char buf[40]; | ^~~ swfc.c: In function 'c_primitive': swfc.c:3822:10: warning: unused variable 'fill' [-Wunused-variable] 3822 | RGBA fill; | ^~~~ swfc.c:3820:17: warning: unused variable 'text' [-Wunused-variable] 3820 | const char* text; | ^~~~ swfc.c:3819:17: warning: unused variable 'font' [-Wunused-variable] 3819 | const char* font; | ^~~~ swfc.c:3817:9: warning: unused variable 'dofill' [-Wunused-variable] 3817 | int dofill = 1; | ^~~~~~ swfc.c: In function 'analyseArgumentsForCommand': swfc.c:4489:9: warning: unused variable 'glyphs_to_include' [-Wunused-variable] 4489 | U8* glyphs_to_include; | ^~~~~~~~~~~~~~~~~ swfc.c:4488:9: warning: variable 'nr' set but not used [-Wunused-but-set-variable] 4488 | int nr = -1; | ^~ swfc.c: In function 'main': swfc.c:4567:9: warning: variable 't' set but not used [-Wunused-but-set-variable] 4567 | int t; | ^ At top level: swfc.c:3717:12: warning: 'c_arcchange' defined but not used [-Wunused-function] 3717 | static int c_arcchange(map_t*args) | ^~~~~~~~~~~ swfc.c:216:15: warning: 'fontUsage' defined but not used [-Wunused-variable] 216 | static dict_t fontUsage; | ^~~~~~~~~ In file included from swfc.c:33: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H swfextract.o -o swfextract ../lib/librfxswf.a ../lib/libbase.a -L/usr/local/lib -L/usr/lib -lmp3lame -lungif -ljpeg -lz -lm -lfreetype ld: ../lib/librfxswf.a(assets.o):/usr/src/RPM/BUILD/swftools-0.9.2/lib/as3/registry.h:156: multiple definition of `voidclass'; ../lib/librfxswf.a(abc.o):/usr/src/RPM/BUILD/swftools-0.9.2/lib/as3/registry.h:156: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:96: swfextract] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H swfdump.o -o swfdump ../lib/librfxswf.a ../lib/libbase.a -L/usr/local/lib -L/usr/lib -lmp3lame -lungif -ljpeg -lz -lm -lfreetype ld: ../lib/librfxswf.a(assets.o):/usr/src/RPM/BUILD/swftools-0.9.2/lib/as3/registry.h:156: multiple definition of `voidclass'; ../lib/librfxswf.a(abc.o):/usr/src/RPM/BUILD/swftools-0.9.2/lib/as3/registry.h:156: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:87: swfdump] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -DHAVE_CONFIG_H jpeg2swf.o -o jpeg2swf ../lib/librfxswf.a ../lib/libbase.a -L/usr/local/lib -L/usr/lib -lmp3lame -lungif -ljpeg -lz -lm -lfreetype debug enabled, not stripping jpeg2swf make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic pdf2swf.c -o pdf2swf.o pdf2swf.c: In function 'main': pdf2swf.c:914:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 914 | 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' 914 | if(p->name) free((void*)p->name);p->name = 0; | ^ pdf2swf.c:915:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 915 | 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' 915 | if(p->value) free((void*)p->value);p->value =0; | ^ pdf2swf.c:636:11: warning: unused variable 'y' [-Wunused-variable] 636 | int x,y; | ^ pdf2swf.c:636:9: warning: unused variable 'x' [-Wunused-variable] 636 | int x,y; | ^ pdf2swf.c:635:9: warning: unused variable 'nup_pos' [-Wunused-variable] 635 | int nup_pos = 0; | ^~~~~~~ pdf2swf.c:634:10: warning: unused variable 't1searchpath' [-Wunused-variable] 634 | char t1searchpath[1024]; | ^~~~~~~~~~~~ pdf2swf.c:632:9: warning: unused variable 'numfonts' [-Wunused-variable] 632 | int numfonts = 0; | ^~~~~~~~ pdf2swf.c:631:10: warning: unused variable 'buf' [-Wunused-variable] 631 | char buf[256]; | ^~~ pdf2swf.c:630:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 630 | int ret; | ^~~ In file included from pdf2swf.c:39: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make[1]: Entering directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' i586-alt-linux-gcc -c -DHAVE_CONFIG_H -I/usr/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/lame -fPIC -Wimplicit -Wreturn-type -Wno-write-strings -Wformat -O -fomit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic swfcombine.c -o swfcombine.o swfcombine.c: In function 'args_callback_usage': swfcombine.c:324:95: warning: unknown conversion type character '=' in format [-Wformat=] 324 | 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] 366 | int ret; | ^~~ swfcombine.c: In function 'jpeg_assert': swfcombine.c:480:9: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 480 | int pos; | ^~~ swfcombine.c: In function 'changedepth': swfcombine.c:585:17: warning: unused variable 'obj' [-Wunused-variable] 585 | SWFPLACEOBJECT obj; | ^~~ swfcombine.c: In function 'write_sprite': swfcombine.c:677:10: warning: variable 'definespritetag' set but not used [-Wunused-but-set-variable] 677 | TAG* definespritetag; | ^~~~~~~~~~~~~~~ swfcombine.c: In function 'catcombine': swfcombine.c:980:6: warning: unused variable 'len' [-Wunused-variable] 980 | int len; | ^~~ swfcombine.c:979:7: warning: unused variable 'data' [-Wunused-variable] 979 | char data[16]; | ^~~~ swfcombine.c: In function 'normalcombine': swfcombine.c:1081:20: warning: pointer targets in initialization of 'char *' from 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1081 | char * name = tag->data; | ^~~ swfcombine.c:1005:10: warning: unused variable 'framelabel' [-Wunused-variable] 1005 | char*framelabel; | ^~~~~~~~~~ In file included from swfcombine.c:26: At top level: ../lib/args.h:210:14: warning: 'filename2template' defined but not used [-Wunused-function] 210 | static char* filename2template(char*filename, int*startindex) | ^~~~~~~~~~~~~~~~~ ../lib/args.h:140:13: warning: 'is_in_range' defined but not used [-Wunused-function] 140 | static char is_in_range(int t, char*irange) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/swftools-0.9.2/src' make: *** [Makefile:18: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.46339 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.46339 (%build) Command exited with non-zero status 1 231.43user 11.69system 1:27.48elapsed 277%CPU (0avgtext+0avgdata 99564maxresident)k 0inputs+0outputs (0major+1955814minor)pagefaults 0swaps hsh-rebuild: rebuild of `swftools-0.9.2-alt3.src.rpm' failed. Command exited with non-zero status 1 246.60user 17.72system 2:02.51elapsed 215%CPU (0avgtext+0avgdata 106976maxresident)k 0inputs+0outputs (0major+2232594minor)pagefaults 0swaps