D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/transfig.spec line 26: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/transfig-3.2.8b-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PdIxdu Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x3BQmw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build + rm -rf fig2dev-3.2.8b + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/fig2dev-3.2.8b.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd fig2dev-3.2.8b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv -f ISO-8859-15 -t UTF-8 man/fig2dev.1.in -o fig2dev.1.in.new + touch -r man/fig2dev.1.in fig2dev.1.in.new + mv fig2dev.1.in.new man/fig2dev.1.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DqO7PF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fig2dev-3.2.8b + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:30: warning: file 'version.m4' included several times autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-transfig checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for x86_64-mageia-linux-gnu-lib... no checking for x86_64-mageia-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether ln -s works... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for fgrep... /usr/bin/grep -F checking for a sed that does not truncate output... /usr/bin/sed checking for gs... gs checking for library containing cos... -lm checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for iconv.h... yes checking for library providing iconv... none required checking for limits.h... yes checking for netinet/in.h... yes checking for sys/file.h... yes checking for sys/param.h... yes checking for zlib.h... yes checking for library containing deflate... -lz checking for library containing png_read_info... -lpng checking for png.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking for size_t... yes checking for ssize_t... yes checking for gethostname... yes checking for strerror... yes checking for getpwuid... yes checking for mkstemp... yes checking for fdopen... yes checking for _setmode... no checking for getline... yes checking for getopt... yes checking for isascii... yes checking for strstr... yes checking for strchr... yes checking for strrchr... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strdup... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating man/fig2dev.1 config.status: creating fig2dev/Makefile config.status: creating fig2dev/dev/Makefile config.status: creating fig2dev/i18n/Makefile config.status: creating fig2dev/tests/Makefile config.status: creating fig2dev/tests/atlocal config.status: creating fig2dev/tests/data/patterns.svg config.status: creating fig2dev/tests/data/fillswclip.svg config.status: creating transfig/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing fig2dev/tests/atconfig commands configure: Results: preprocessor CPP: preprocessor flags CPPFLAGS: compiler CC: gcc compiler flags CFLAGS: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full linker flags LDFLAGS: -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld libraries LIBS: -lpng -lz -lm install location prefix: /usr Files will be installed under /usr. + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in fig2dev Making all in dev make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genbox.o genbox.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genibmgl.o genibmgl.c genibmgl.c: In function 'draw_arrow_head': genibmgl.c:521:9: error: too many arguments to function 'set_style'; expected 0, have 2 521 | set_style(SOLID_LINE, 0.0); | ^~~~~~~~~ genibmgl.c:67:13: note: declared here 67 | static void set_style(); | ^~~~~~~~~ genibmgl.c:527:9: error: too many arguments to function 'set_style'; expected 0, have 2 527 | set_style(style, length); | ^~~~~~~~~ ~~~~~ genibmgl.c:67:13: note: declared here 67 | static void set_style(); | ^~~~~~~~~ genibmgl.c: At top level: genibmgl.c:534:1: error: conflicting types for 'set_style'; have 'void(int, double)' 534 | set_style(int style, double length) | ^~~~~~~~~ genibmgl.c:67:13: note: previous declaration of 'set_style' with type 'void(void)' 67 | static void set_style(); | ^~~~~~~~~ genibmgl.c:67:13: warning: 'set_style' used but never defined genibmgl.c: In function 'genibmgl_option': genibmgl.c:226:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | fscanf(ffp, "%d%d%lf%lf%lf", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227 | &standard[font], /* 0-4 6-9 30-39 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | &alternate[font], /* 0-4 6-9 30-39 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | &slant[font], /* degrees */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 230 | &wide[font], /* ~1.0 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | &high[font]); /* ~1.0 */ | ~~~~~~~~~~~~ genibmgl.c:244:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 244 | fscanf(ffp, "%d%lf%d%lf%lf", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | &line_type[pattern], /* -1-6 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | &line_space[pattern], /* inches */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 247 | &fill_type[pattern], /* 1-5 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | &fill_space[pattern], /* inches */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 249 | &fill_angle[pattern]); /* degrees */ | ~~~~~~~~~~~~~~~~~~~~~ genibmgl.c:269:41: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 269 | fscanf(ffp, "%d%lf", | ^~~~~~~~~~~~~~~~~~~~ 270 | &pen_number[color], /* 1-8 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | &pen_thickness[color]); /* mm */ | ~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:459: genibmgl.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genpdf.o genpdf.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o encode.o encode.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genemf.o genemf.c genemf.c:724:1: error: conflicting types for 'delete_handle'; have 'void(struct emfhandle *)' 724 | delete_handle(struct emfhandle *h) | ^~~~~~~~~~~~~ genemf.c:652:13: note: previous declaration of 'delete_handle' with type 'void(void)' 652 | static void delete_handle(); | ^~~~~~~~~~~~~ genemf.c: In function 'delete_handle': genemf.c:754:9: error: too many arguments to function 'emh_write'; expected 0, have 4 754 | emh_write(&em_so, sizeof(EMRSELECTOBJECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:767:5: error: too many arguments to function 'emh_write'; expected 0, have 4 767 | emh_write(&em_so, sizeof(EMRDELETEOBJECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:773:1: error: conflicting types for 'clear_current_handle'; have 'void(enum emfhandletype)' 773 | clear_current_handle(enum emfhandletype type) | ^~~~~~~~~~~~~~~~~~~~ genemf.c:653:13: note: previous declaration of 'clear_current_handle' with type 'void(void)' 653 | static void clear_current_handle(); | ^~~~~~~~~~~~~~~~~~~~ genemf.c:787:1: error: conflicting types for 'select_object'; have 'void(unsigned int)' 787 | select_object(unsigned handle) | ^~~~~~~~~~~~~ genemf.c:654:13: note: previous declaration of 'select_object' with type 'void(void)' 654 | static void select_object(); | ^~~~~~~~~~~~~ genemf.c: In function 'select_object': genemf.c:799:5: error: too many arguments to function 'emh_write'; expected 0, have 4 799 | emh_write(&em_so, sizeof(EMRSELECTOBJECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:805:1: error: conflicting types for 'use_handle'; have 'void(struct emfhandle *)' 805 | use_handle(struct emfhandle *h) | ^~~~~~~~~~ genemf.c:655:13: note: previous declaration of 'use_handle' with type 'void(void)' 655 | static void use_handle(); | ^~~~~~~~~~ genemf.c:832:1: error: conflicting types for 'get_handle'; have 'struct emfhandle *(enum emfhandletype)' 832 | get_handle(enum emfhandletype type) | ^~~~~~~~~~ genemf.c:656:26: note: previous declaration of 'get_handle' with type 'struct emfhandle *(void)' 656 | static struct emfhandle *get_handle(); | ^~~~~~~~~~ genemf.c:872:1: error: conflicting types for 'conv_color'; have 'int(int)' 872 | conv_color(int colorIndex) | ^~~~~~~~~~ genemf.c:657:12: note: previous declaration of 'conv_color' with type 'int(void)' 657 | static int conv_color(); | ^~~~~~~~~~ genemf.c:908:1: error: conflicting types for 'conv_fill_color'; have 'int(int, int)' 908 | conv_fill_color(int style, int color) | ^~~~~~~~~~~~~~~ genemf.c:658:12: note: previous declaration of 'conv_fill_color' with type 'int(void)' 658 | static int conv_fill_color(); | ^~~~~~~~~~~~~~~ genemf.c:957:1: error: conflicting types for 'conv_fontindex'; have 'int(int, int)' 957 | conv_fontindex(int font, int flags) | ^~~~~~~~~~~~~~ genemf.c:659:12: note: previous declaration of 'conv_fontindex' with type 'int(void)' 659 | static int conv_fontindex(); | ^~~~~~~~~~~~~~ genemf.c:982:1: error: conflicting types for 'conv_capstyle'; have 'int(int)' 982 | conv_capstyle(int cap) | ^~~~~~~~~~~~~ genemf.c:660:12: note: previous declaration of 'conv_capstyle' with type 'int(void)' 660 | static int conv_capstyle(); | ^~~~~~~~~~~~~ genemf.c:1006:1: error: conflicting types for 'conv_joinstyle'; have 'int(int)' 1006 | conv_joinstyle(int join) | ^~~~~~~~~~~~~~ genemf.c:661:12: note: previous declaration of 'conv_joinstyle' with type 'int(void)' 661 | static int conv_joinstyle(); | ^~~~~~~~~~~~~~ genemf.c:1032:1: error: conflicting types for 'conv_linetype'; have 'int(int)' 1032 | conv_linetype(int type) | ^~~~~~~~~~~~~ genemf.c:662:12: note: previous declaration of 'conv_linetype' with type 'int(void)' 662 | static int conv_linetype(); | ^~~~~~~~~~~~~ genemf.c:1046:1: error: conflicting types for 'edgeattr'; have 'void(int, int, int, int, int, int)' 1046 | edgeattr( | ^~~~~~~~ genemf.c:663:13: note: previous declaration of 'edgeattr' with type 'void(void)' 663 | static void edgeattr(); | ^~~~~~~~ genemf.c: In function 'edgeattr': genemf.c:1165:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1165 | emh_write(&em_pn, sizeof(EMREXTCREATEPEN), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1167:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1167 | emh_write(&styleEntry, sizeof styleEntry, (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~~~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1183:1: error: conflicting types for 'edgevis'; have 'void(int)' 1183 | edgevis(int onoff) | ^~~~~~~ genemf.c:664:13: note: previous declaration of 'edgevis' with type 'void(void)' 664 | static void edgevis(); | ^~~~~~~ genemf.c:1191:1: error: conflicting types for 'bkmode'; have 'void(int)' 1191 | bkmode(int mode) | ^~~~~~ genemf.c:665:13: note: previous declaration of 'bkmode' with type 'void(void)' 665 | static void bkmode(); | ^~~~~~ genemf.c: In function 'bkmode': genemf.c:1206:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1206 | emh_write(&em_bm, sizeof(EMRSETBKMODE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1211:1: error: conflicting types for 'bkcolor'; have 'void(int)' 1211 | bkcolor(int rgb) | ^~~~~~~ genemf.c:666:13: note: previous declaration of 'bkcolor' with type 'void(void)' 666 | static void bkcolor(); | ^~~~~~~ genemf.c: In function 'bkcolor': genemf.c:1226:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1226 | emh_write(&em_bc, sizeof(EMRSETBKCOLOR), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1231:1: error: conflicting types for 'create_brush_pattern'; have 'void(unsigned char *, int)' 1231 | create_brush_pattern(unsigned char *bits, int pattern) | ^~~~~~~~~~~~~~~~~~~~ genemf.c:667:13: note: previous declaration of 'create_brush_pattern' with type 'void(void)' 667 | static void create_brush_pattern(); | ^~~~~~~~~~~~~~~~~~~~ genemf.c:1264:1: error: conflicting types for 'fillstyle'; have 'void(int, int, int)' 1264 | fillstyle(int fill_color, int fill_style, int pen_color) | ^~~~~~~~~ genemf.c:668:13: note: previous declaration of 'fillstyle' with type 'void(void)' 668 | static void fillstyle(); | ^~~~~~~~~ genemf.c: In function 'fillstyle': genemf.c:1435:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1435 | emh_write(&em_pb, sizeof(EMRCREATEDIBPATTERNBRUSHPT), (size_t) 1, | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1437:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1437 | emh_write(&bmi, sizeof(BITMAPINFO), (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1438:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1438 | emh_write(hatchcolors, sizeof(RGBQUAD), (size_t) 2, EMH_DATA); | ^~~~~~~~~ ~~~~~~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1439:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1439 | emh_write(bits, bsize, (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1455:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1455 | emh_write(&em_bi, sizeof(EMRCREATEBRUSHINDIRECT), (size_t) 1, | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1472:1: error: conflicting types for 'textfont'; have 'void(int, double, int)' 1472 | textfont( | ^~~~~~~~ genemf.c:669:13: note: previous declaration of 'textfont' with type 'void(void)' 669 | static void textfont(); | ^~~~~~~~ genemf.c: In function 'textfont': genemf.c:1515:5: error: too many arguments to function 'textunicode'; expected 0, have 4 1515 | textunicode( | ^~~~~~~~~~~ 1516 | #if defined(I18N) && defined(HAVE_ICONV) 1517 | (font < 0 /* locale font */)? localeFonts[-1-font][figLanguage].FaceName : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1518 | #endif | ~~~~~~ 1519 | lfFaceName[font], | ~~~~~~~~~~~~~~~~ genemf.c:701:13: note: declared here 701 | static void textunicode(); | ^~~~~~~~~~~ genemf.c:1544:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1544 | emh_write(&em_fn, sizeof(EMREXTCREATEFONTINDIRECTW), (size_t)1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: In function 'pos2point': genemf.c:1584:13: warning: old-style function definition [-Wold-style-definition] 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c: At top level: genemf.c:1596:1: error: conflicting types for 'arrow_length'; have 'double(F_arrow *)' {aka 'double(struct f_arrow *)'} 1596 | arrow_length(F_arrow *a) | ^~~~~~~~~~~~ genemf.c:672:15: note: previous declaration of 'arrow_length' with type 'double(void)' 672 | static double arrow_length(); | ^~~~~~~~~~~~ genemf.c: In function 'arrow': genemf.c:1626:13: warning: old-style function definition [-Wold-style-definition] 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c:1776:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1776 | emh_write(&em_pl, sizeof(EMRPOLYLINE16), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1777:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1777 | emh_write(apts, sizeof(POINTS), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1801:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1801 | emh_write(&em_pl, sizeof(EMRPOLYLINE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1802:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1802 | emh_write(aptl, sizeof(POINTL), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: In function 'arc_arrow': genemf.c:1808:13: warning: old-style function definition [-Wold-style-definition] 1808 | static void arc_arrow(p, q, arw, arc) | ^~~~~~~~~ genemf.c:1819:5: error: too many arguments to function 'pos2point'; expected 0, have 2 1819 | pos2point(&P, p); | ^~~~~~~~~ ~~ genemf.c:1584:13: note: declared here 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c:1820:5: error: too many arguments to function 'direction'; expected 0, have 4 1820 | direction(&P, q, &dir, &d); | ^~~~~~~~~ ~~ genemf.c:688:12: note: declared here 688 | static int direction(); | ^~~~~~~~~ genemf.c:1821:5: error: too many arguments to function 'arrow'; expected 0, have 4 1821 | arrow(&P, arw, (F_line *)arc, &dir); | ^~~~~ ~~ genemf.c:1626:13: note: declared here 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c: In function 'arc_arrow_adjust': genemf.c:1826:13: warning: old-style function definition [-Wold-style-definition] 1826 | static void arc_arrow_adjust(p, arwpos, arc, r, arw, adir) | ^~~~~~~~~~~~~~~~ genemf.c:1851:5: error: too many arguments to function 'arc_rotate'; expected 0, have 4 1851 | arc_rotate(p, cx, cy, adir * l / (1.8 * r + l)); | ^~~~~~~~~~ ~ genemf.c:679:13: note: declared here 679 | static void arc_rotate(); | ^~~~~~~~~~ genemf.c:1871:5: error: too many arguments to function 'arc_rotate'; expected 0, have 4 1871 | arc_rotate(arwpos, cx, cy, adir * th); | ^~~~~~~~~~ ~~~~~~ genemf.c:679:13: note: declared here 679 | static void arc_rotate(); | ^~~~~~~~~~ genemf.c:1878:9: error: too many arguments to function 'direction'; expected 0, have 4 1878 | if (direction(&origpos, arwpos, &dir, &dirlen) == false) | ^~~~~~~~~ ~~~~~~~~ genemf.c:688:12: note: declared here 688 | static int direction(); | ^~~~~~~~~ genemf.c:1896:10: error: too many arguments to function 'distance'; expected 0, have 4 1896 | d2 = distance(cx, cy, (double) p2.x, (double) p2.y); | ^~~~~~~~ ~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1897:10: error: too many arguments to function 'distance'; expected 0, have 4 1897 | d3 = distance(cx, cy, (double) p3.x, (double) p3.y); | ^~~~~~~~ ~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1910:9: error: too many arguments to function 'direction'; expected 0, have 4 1910 | if (direction(&p2, &p1, &dir, &dirlen) == false) | ^~~~~~~~~ ~~~ genemf.c:688:12: note: declared here 688 | static int direction(); | ^~~~~~~~~ genemf.c:1965:9: error: too many arguments to function 'arc_rotate'; expected 0, have 4 1965 | arc_rotate(p, cx, cy, adir * (double)arc->thickness / (2.0 * r)); | ^~~~~~~~~~ ~ genemf.c:679:13: note: declared here 679 | static void arc_rotate(); | ^~~~~~~~~~ genemf.c: At top level: genemf.c:1971:1: error: conflicting types for 'arc_radius'; have 'double(F_arc *)' {aka 'double(struct f_arc *)'} 1971 | arc_radius(F_arc *a) | ^~~~~~~~~~ genemf.c:676:15: note: previous declaration of 'arc_radius' with type 'double(void)' 676 | static double arc_radius(); | ^~~~~~~~~~ genemf.c: In function 'arc_radius': genemf.c:1974:13: error: too many arguments to function 'distance'; expected 0, have 4 1974 | return (distance((double)a->point[0].x, (double)a->point[0].y, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1976:13: error: too many arguments to function 'distance'; expected 0, have 4 1976 | distance((double)a->point[1].x, (double)a->point[1].y, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1978:13: error: too many arguments to function 'distance'; expected 0, have 4 1978 | distance((double)a->point[2].x, (double)a->point[2].y, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c: At top level: genemf.c:1984:1: error: conflicting types for 'translate'; have 'void(double *, double *, double, double)' 1984 | translate(double *x, double *y, double tx, double ty) | ^~~~~~~~~ genemf.c:677:13: note: previous declaration of 'translate' with type 'void(void)' 677 | static void translate(); | ^~~~~~~~~ genemf.c:1993:1: error: conflicting types for 'rotate'; have 'void(double *, double *, double)' 1993 | rotate(double *x, double *y, double angle) | ^~~~~~ genemf.c:678:13: note: previous declaration of 'rotate' with type 'void(void)' 678 | static void rotate(); | ^~~~~~ genemf.c: In function 'arc_rotate': genemf.c:2003:13: warning: old-style function definition [-Wold-style-definition] 2003 | static void arc_rotate(p, cx, cy, angle) | ^~~~~~~~~~ genemf.c: At top level: genemf.c:2017:1: error: conflicting types for 'arcoutline'; have 'void(F_arc *)' {aka 'void(struct f_arc *)'} 2017 | arcoutline(F_arc *a) | ^~~~~~~~~~ genemf.c:680:13: note: previous declaration of 'arcoutline' with type 'void(void)' 680 | static void arcoutline(); | ^~~~~~~~~~ genemf.c: In function 'arcoutline': genemf.c:2025:5: error: too many arguments to function 'pos2point'; expected 0, have 2 2025 | pos2point(&p0, &a->point[0]); | ^~~~~~~~~ ~~~ genemf.c:1584:13: note: declared here 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c:2026:5: error: too many arguments to function 'pos2point'; expected 0, have 2 2026 | pos2point(&p2, &a->point[2]); | ^~~~~~~~~ ~~~ genemf.c:1584:13: note: declared here 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c:2029:9: error: too many arguments to function 'arc_arrow_adjust'; expected 0, have 6 2029 | arc_arrow_adjust(&p0, &arwp0, a, r, a->back_arrow, +1.); | ^~~~~~~~~~~~~~~~ ~~~ genemf.c:1826:13: note: declared here 1826 | static void arc_arrow_adjust(p, arwpos, arc, r, arw, adir) | ^~~~~~~~~~~~~~~~ genemf.c:2030:9: error: too many arguments to function 'arc_arrow_adjust'; expected 0, have 6 2030 | arc_arrow_adjust(&p2, &arwp2, a, r, a->for_arrow, -1.); | ^~~~~~~~~~~~~~~~ ~~~ genemf.c:1826:13: note: declared here 1826 | static void arc_arrow_adjust(p, arwpos, arc, r, arw, adir) | ^~~~~~~~~~~~~~~~ genemf.c:2061:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2061 | emh_write(&em_ar, sizeof(EMRARC), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:2066:9: error: too many arguments to function 'arc_arrow'; expected 0, have 4 2066 | arc_arrow(&a->point[0], &arwp0, a->back_arrow, a); | ^~~~~~~~~ ~~~~~~~~~~~~ genemf.c:1808:13: note: declared here 1808 | static void arc_arrow(p, q, arw, arc) | ^~~~~~~~~ genemf.c:2067:9: error: too many arguments to function 'arc_arrow'; expected 0, have 4 2067 | arc_arrow(&a->point[2], &arwp2, a->for_arrow, a); | ^~~~~~~~~ ~~~~~~~~~~~~ genemf.c:1808:13: note: declared here 1808 | static void arc_arrow(p, q, arw, arc) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2073:1: error: conflicting types for 'arcinterior'; have 'void(F_arc *)' {aka 'void(struct f_arc *)'} 2073 | arcinterior(F_arc *a) | ^~~~~~~~~~~ genemf.c:681:13: note: previous declaration of 'arcinterior' with type 'void(void)' 681 | static void arcinterior(); | ^~~~~~~~~~~ genemf.c: In function 'arcinterior': genemf.c:2095:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2095 | emh_write(&em_ch, sizeof(EMRCHORD), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:2101:1: error: conflicting types for 'arc_reverse'; have 'void(F_arc *)' {aka 'void(struct f_arc *)'} 2101 | arc_reverse(F_arc *arc) | ^~~~~~~~~~~ genemf.c:682:13: note: previous declaration of 'arc_reverse' with type 'void(void)' 682 | static void arc_reverse(); | ^~~~~~~~~~~ genemf.c:2114:1: error: conflicting types for 'circle'; have 'void(F_ellipse *)' {aka 'void(struct f_ellipse *)'} 2114 | circle(F_ellipse *e) | ^~~~~~ genemf.c:683:13: note: previous declaration of 'circle' with type 'void(void)' 683 | static void circle(); | ^~~~~~ genemf.c: In function 'circle': genemf.c:2131:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2131 | emh_write(&em_el, sizeof(EMRELLIPSE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:2137:1: error: conflicting types for 'ellipse'; have 'void(F_ellipse *)' {aka 'void(struct f_ellipse *)'} 2137 | ellipse(F_ellipse *e) | ^~~~~~~ genemf.c:684:13: note: previous declaration of 'ellipse' with type 'void(void)' 684 | static void ellipse(); | ^~~~~~~ genemf.c: In function 'ellipse': genemf.c:2154:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2154 | emh_write(&em_el, sizeof(EMRELLIPSE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:2161:1: error: conflicting types for 'rotated_ellipse'; have 'void(F_ellipse *)' {aka 'void(struct f_ellipse *)'} 2161 | rotated_ellipse(F_ellipse *e) | ^~~~~~~~~~~~~~~ genemf.c:685:13: note: previous declaration of 'rotated_ellipse' with type 'void(void)' 685 | static void rotated_ellipse(); | ^~~~~~~~~~~~~~~ genemf.c: In function 'rotated_ellipse': genemf.c:2209:5: error: too many arguments to function 'shape'; expected 0, have 4 2209 | shape(&l, 0, 0, polygon); | ^~~~~ ~~ genemf.c:699:13: note: declared here 699 | static void shape(); | ^~~~~ genemf.c: At top level: genemf.c:2215:1: error: conflicting types for 'icprod'; have 'int(int, int, int, int)' 2215 | icprod(int x1, int y1, int x2, int y2) | ^~~~~~ genemf.c:686:12: note: previous declaration of 'icprod' with type 'int(void)' 686 | static int icprod(); | ^~~~~~ genemf.c:2224:1: error: conflicting types for 'cwarc'; have 'int(F_arc *)' {aka 'int(struct f_arc *)'} 2224 | cwarc(F_arc *a) | ^~~~~ genemf.c:687:12: note: previous declaration of 'cwarc' with type 'int(void)' 687 | static int cwarc(); | ^~~~~ genemf.c: In function 'direction': genemf.c:2237:12: warning: old-style function definition [-Wold-style-definition] 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2256:1: error: conflicting types for 'distance'; have 'double(double, double, double, double)' 2256 | distance(double x1, double y1, double x2, double y2) | ^~~~~~~~ genemf.c:689:15: note: previous declaration of 'distance' with type 'double(void)' 689 | static double distance(); | ^~~~~~~~ genemf.c: In function 'emh_write': genemf.c:2266:15: warning: old-style function definition [-Wold-style-definition] 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2280:1: error: conflicting types for 'is_flip'; have 'int(int, int)' 2280 | is_flip(int rot, int flip) | ^~~~~~~ genemf.c:691:12: note: previous declaration of 'is_flip' with type 'int(void)' 691 | static int is_flip(); | ^~~~~~~ genemf.c:2288:1: error: conflicting types for 'encode_bitmap'; have 'void(F_pic *, int, int)' {aka 'void(struct f_pic *, int, int)'} 2288 | encode_bitmap(F_pic *pic, int bpp, int rot) | ^~~~~~~~~~~~~ genemf.c:692:13: note: previous declaration of 'encode_bitmap' with type 'void(void)' 692 | static void encode_bitmap(); | ^~~~~~~~~~~~~ genemf.c: In function 'encode_bitmap': genemf.c:2348:17: error: too many arguments to function 'emh_write'; expected 0, have 4 2348 | emh_write(cbits, (size_t) 4, (size_t) 1, EMH_DATA); \ | ^~~~~~~~~ ~~~~~ genemf.c:2368:21: note: in expansion of macro 'WRITEBITS' 2368 | WRITEBITS; | ^~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2348:17: error: too many arguments to function 'emh_write'; expected 0, have 4 2348 | emh_write(cbits, (size_t) 4, (size_t) 1, EMH_DATA); \ | ^~~~~~~~~ ~~~~~ genemf.c:2375:25: note: in expansion of macro 'WRITEBITS' 2375 | WRITEBITS; | ^~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2348:17: error: too many arguments to function 'emh_write'; expected 0, have 4 2348 | emh_write(cbits, (size_t) 4, (size_t) 1, EMH_DATA); \ | ^~~~~~~~~ ~~~~~ genemf.c:2386:13: note: in expansion of macro 'WRITEBITS' 2386 | WRITEBITS; | ^~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2393:1: error: conflicting types for 'picbox'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2393 | picbox(F_line *l) | ^~~~~~ genemf.c:693:13: note: previous declaration of 'picbox' with type 'void(void)' 693 | static void picbox(); | ^~~~~~ genemf.c: In function 'picbox': genemf.c:2549:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2549 | emh_write(&em_sd, sizeof(EMRSTRETCHDIBITS), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2550:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2550 | emh_write(&bmi, sizeof(BITMAPINFO), (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2561:13: error: too many arguments to function 'emh_write'; expected 0, have 4 2561 | emh_write(coltab, coltabsize, (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2577:1: error: conflicting types for 'polygon'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2577 | polygon(F_line *l) | ^~~~~~~ genemf.c:694:13: note: previous declaration of 'polygon' with type 'void(void)' 694 | static void polygon(); | ^~~~~~~ genemf.c: In function 'polygon': genemf.c:2633:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2633 | emh_write(&em_pg, sizeof(EMRPOLYGON16), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2634:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2634 | emh_write(apts, sizeof(POINTS), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2660:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2660 | emh_write(&em_pg, sizeof(EMRPOLYGON), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2661:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2661 | emh_write(aptl, sizeof(POINTL), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: In function 'polyline_adjust': genemf.c:2669:12: warning: old-style function definition [-Wold-style-definition] 2669 | static int polyline_adjust(p, q, l) | ^~~~~~~~~~~~~~~ genemf.c:2676:9: error: too many arguments to function 'direction'; expected 0, have 4 2676 | if (direction(p, q, &dir, &d)) { | ^~~~~~~~~ ~ genemf.c:2237:12: note: declared here 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2688:1: error: conflicting types for 'polyline'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2688 | polyline(F_line *l) | ^~~~~~~~ genemf.c:696:13: note: previous declaration of 'polyline' with type 'void(void)' 696 | static void polyline(); | ^~~~~~~~ genemf.c: In function 'polyline': genemf.c:2739:17: error: too many arguments to function 'polyline_adjust'; expected 0, have 3 2739 | polyline_adjust(&p0, p0.next, alen); /* shorten line segment */ | ^~~~~~~~~~~~~~~ ~~~ genemf.c:2669:12: note: declared here 2669 | static int polyline_adjust(p, q, l) | ^~~~~~~~~~~~~~~ genemf.c:2757:17: error: too many arguments to function 'polyline_adjust'; expected 0, have 3 2757 | polyline_adjust(&pn, q, alen); /* shorten line segment */ | ^~~~~~~~~~~~~~~ ~~~ genemf.c:2669:12: note: declared here 2669 | static int polyline_adjust(p, q, l) | ^~~~~~~~~~~~~~~ genemf.c:2799:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2799 | emh_write(&em_pl, sizeof(EMRPOLYLINE16), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2800:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2800 | emh_write(apts, sizeof(POINTS), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2828:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2828 | emh_write(&em_pl, sizeof(EMRPOLYLINE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2829:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2829 | emh_write(aptl, sizeof(POINTL), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2844:13: error: too many arguments to function 'direction'; expected 0, have 4 2844 | if (direction(p, q, &dir, &d)) { | ^~~~~~~~~ ~ genemf.c:2237:12: note: declared here 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c:2845:13: error: too many arguments to function 'arrow'; expected 0, have 4 2845 | arrow(p, l->back_arrow, l, &dir); | ^~~~~ ~ genemf.c:1626:13: note: declared here 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c:2852:13: error: too many arguments to function 'direction'; expected 0, have 4 2852 | if (direction(p, q, &dir, &d)) { | ^~~~~~~~~ ~ genemf.c:2237:12: note: declared here 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c:2853:13: error: too many arguments to function 'arrow'; expected 0, have 4 2853 | arrow(p, l->for_arrow, l, &dir); | ^~~~~ ~ genemf.c:1626:13: note: declared here 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c: At top level: genemf.c:2860:1: error: conflicting types for 'rect'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2860 | rect(F_line *l) | ^~~~ genemf.c:697:13: note: previous declaration of 'rect' with type 'void(void)' 697 | static void rect(); | ^~~~ genemf.c: In function 'rect': genemf.c:2882:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2882 | emh_write(&em_rt, sizeof(EMRRECTANGLE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2887:1: error: conflicting types for 'roundrect'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2887 | roundrect(F_line *l) | ^~~~~~~~~ genemf.c:698:13: note: previous declaration of 'roundrect' with type 'void(void)' 698 | static void roundrect(); | ^~~~~~~~~ genemf.c: In function 'roundrect': genemf.c:2910:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2910 | emh_write(&em_rr, sizeof(EMRROUNDRECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2918:1: error: conflicting types for 'shape'; have 'void(F_line *, int, int, void (*)(F_line *))' {aka 'void(struct f_line *, int, int, void (*)(struct f_line *))'} 2918 | shape( | ^~~~~ genemf.c:699:13: note: previous declaration of 'shape' with type 'void(void)' 699 | static void shape(); | ^~~~~ genemf.c:2935:1: error: conflicting types for 'shape_interior'; have 'void(F_line *, void (*)(F_line *))' {aka 'void(struct f_line *, void (*)(struct f_line *))'} 2935 | shape_interior(F_line *l, void (*drawshape)(F_line *)) | ^~~~~~~~~~~~~~ genemf.c:700:13: note: previous declaration of 'shape_interior' with type 'void(void)' 700 | static void shape_interior(); | ^~~~~~~~~~~~~~ genemf.c:2950:1: error: conflicting types for 'textunicode'; have 'void(char *, int *, short int **, int *)' 2950 | textunicode( | ^~~~~~~~~~~ genemf.c:701:13: note: previous declaration of 'textunicode' with type 'void(void)' 701 | static void textunicode(); | ^~~~~~~~~~~ genemf.c:3030:1: error: conflicting types for 'text'; have 'void(int, int, RECTL *, char *)' {aka 'void(int, int, struct tagRECTL *, char *)'} 3030 | text( | ^~~~ genemf.c:702:13: note: previous declaration of 'text' with type 'void(void)' 702 | static void text(); | ^~~~ genemf.c: In function 'text': genemf.c:3067:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3067 | emh_write(&em_tx, sizeof(EMREXTTEXTOUTW), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:3068:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3068 | emh_write(utext, (size_t) 1, (size_t) n_unicode, EMH_DATA); | ^~~~~~~~~ ~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:3075:1: error: conflicting types for 'textcolr'; have 'void(int)' 3075 | textcolr(int color) | ^~~~~~~~ genemf.c:703:13: note: previous declaration of 'textcolr' with type 'void(void)' 703 | static void textcolr(); | ^~~~~~~~ genemf.c: In function 'textcolr': genemf.c:3092:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3092 | emh_write(&em_tc, sizeof(EMRSETTEXTCOLOR), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:3097:1: error: conflicting types for 'textalign'; have 'void(int)' 3097 | textalign(int align) | ^~~~~~~~~ genemf.c:704:13: note: previous declaration of 'textalign' with type 'void(void)' 704 | static void textalign(); | ^~~~~~~~~ genemf.c: In function 'textalign': genemf.c:3111:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3111 | emh_write(&em_ta, sizeof(EMRSETTEXTALIGN), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:3117:1: error: conflicting types for 'moveto'; have 'void(int, int)' 3117 | moveto(int x, int y) | ^~~~~~ genemf.c:706:13: note: previous declaration of 'moveto' with type 'void(void)' 706 | static void moveto(); | ^~~~~~ genemf.c: In function 'moveto': genemf.c:3130:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3130 | emh_write(&em_mv, sizeof(EMRMOVETOEX), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: In function 'genemf_start': genemf.c:3294:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3294 | emh_write(&emh, sizeof(ENHMETAHEADER), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:3295:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3295 | emh_write(uni_description, (size_t) 1, (size_t) n_unicode, EMH_DATA); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:3312:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3312 | emh_write(&em_sm, sizeof(EMRSETMAPMODE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: In function 'genemf_end': genemf.c:3573:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3573 | emh_write(&em_eof, sizeof(EMREOF), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:689:15: warning: 'distance' used but never defined 689 | static double distance(); | ^~~~~~~~ genemf.c:694:13: warning: 'polygon' used but never defined 694 | static void polygon(); | ^~~~~~~ genemf.c:699:13: warning: 'shape' used but never defined 699 | static void shape(); | ^~~~~ genemf.c:701:13: warning: 'textunicode' used but never defined 701 | static void textunicode(); | ^~~~~~~~~~~ make[3]: *** [Makefile:459: genemf.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genlatex.o genlatex.c genlatex.c: In function 'genlatex_start': genlatex.c:309:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int *, int *)' [-Wincompatible-pointer-types] 309 | translate_coordinates = translate2; | ^ genlatex.c:214:1: note: 'translate2' declared here 214 | translate2(int *xp, int *yp) | ^~~~~~~~~~ genlatex.c:310:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(double *, double *)' [-Wincompatible-pointer-types] 310 | translate_coordinates_d = translate2_d; | ^ genlatex.c:221:1: note: 'translate2_d' declared here 221 | translate2_d(double *xp, double *yp) | ^~~~~~~~~~~~ genlatex.c:104:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 104 | #define TRANS2(x1,y1,x2,y2) (*translate_coordinates)(&x1,&y1); \ | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:312:9: note: in expansion of macro 'TRANS2' 312 | TRANS2(llx, lly, urx, ury); | ^~~~~~ genlatex.c:105:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 105 | (*translate_coordinates)(&x2,&y2) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:312:9: note: in expansion of macro 'TRANS2' 312 | TRANS2(llx, lly, urx, ury); | ^~~~~~ genlatex.c: In function 'single_line': genlatex.c:104:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 104 | #define TRANS2(x1,y1,x2,y2) (*translate_coordinates)(&x1,&y1); \ | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:595:9: note: in expansion of macro 'TRANS2' 595 | TRANS2(x1, y1, x2, y2); | ^~~~~~ genlatex.c:105:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 105 | (*translate_coordinates)(&x2,&y2) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:595:9: note: in expansion of macro 'TRANS2' 595 | TRANS2(x1, y1, x2, y2); | ^~~~~~ genlatex.c: In function 'put_arc_box': genlatex.c:644:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int, int, double, int, double)' [-Wincompatible-pointer-types] 644 | put_line = put_solidline; | ^ genlatex.c:378:1: note: 'put_solidline' declared here 378 | put_solidline(int x, int y, int sx, int sy, double l, int arrow, double val) | ^~~~~~~~~~~~~ genlatex.c:648:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int, int, double, int, double)' [-Wincompatible-pointer-types] 648 | put_line = put_dashline; | ^ genlatex.c:438:1: note: 'put_dashline' declared here 438 | put_dashline(int x, int y, int sx, int sy, double l, int arrow, double val) | ^~~~~~~~~~~~ genlatex.c:652:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int, int, double, int, double)' [-Wincompatible-pointer-types] 652 | put_line = put_dotline; | ^ genlatex.c:498:1: note: 'put_dotline' declared here 498 | put_dotline(int x, int y, int sx, int sy, double l, int arrow, double val) | ^~~~~~~~~~~ genlatex.c:658:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int, int, double, int, double)' [-Wincompatible-pointer-types] 658 | put_line = put_solidline; | ^ genlatex.c:378:1: note: 'put_solidline' declared here 378 | put_solidline(int x, int y, int sx, int sy, double l, int arrow, double val) | ^~~~~~~~~~~~~ genlatex.c:668:9: error: too many arguments to function 'put_line'; expected 0, have 7 668 | put_line (llx+radius, lly, 1, 0, swidth, 0, val); | ^~~~~~~~ ~~~~~~~~~~ genlatex.c:669:9: error: too many arguments to function 'put_line'; expected 0, have 7 669 | put_line (llx+radius, ury, 1, 0, swidth, 0, val); | ^~~~~~~~ ~~~~~~~~~~ genlatex.c:670:9: error: too many arguments to function 'put_line'; expected 0, have 7 670 | put_line (llx, lly+radius, 0, 1, sheight, 0, val); | ^~~~~~~~ ~~~ genlatex.c:671:9: error: too many arguments to function 'put_line'; expected 0, have 7 671 | put_line (urx, lly+radius, 0, 1, sheight, 0, val); | ^~~~~~~~ ~~~ genlatex.c: In function 'genlatex_line': genlatex.c:103:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 103 | #define TRANS(x,y) (*translate_coordinates)(&x,&y) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:727:13: note: in expansion of macro 'TRANS' 727 | TRANS(x, y); | ^~~~~ genlatex.c:103:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 103 | #define TRANS(x,y) (*translate_coordinates)(&x,&y) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:737:13: note: in expansion of macro 'TRANS' 737 | TRANS(x, y); | ^~~~~ genlatex.c:103:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 103 | #define TRANS(x,y) (*translate_coordinates)(&x,&y) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:742:17: note: in expansion of macro 'TRANS' 742 | TRANS(x, y); | ^~~~~ genlatex.c: In function 'genlatex_ellipse': genlatex.c:103:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 103 | #define TRANS(x,y) (*translate_coordinates)(&x,&y) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:812:9: note: in expansion of macro 'TRANS' 812 | TRANS(x, y); | ^~~~~ genlatex.c: In function 'genlatex_text': genlatex.c:103:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 103 | #define TRANS(x,y) (*translate_coordinates)(&x,&y) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:851:9: note: in expansion of macro 'TRANS' 851 | TRANS(x, y); | ^~~~~ genlatex.c: In function 'genlatex_arc': genlatex.c:104:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 104 | #define TRANS2(x1,y1,x2,y2) (*translate_coordinates)(&x1,&y1); \ | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:1042:9: note: in expansion of macro 'TRANS2' 1042 | TRANS2(p1.x, p1.y, p2.x, p2.y); | ^~~~~~ genlatex.c:105:34: error: too many arguments to function 'translate_coordinates'; expected 0, have 2 105 | (*translate_coordinates)(&x2,&y2) | ~^~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:1042:9: note: in expansion of macro 'TRANS2' 1042 | TRANS2(p1.x, p1.y, p2.x, p2.y); | ^~~~~~ genlatex.c:106:34: error: too many arguments to function 'translate_coordinates_d'; expected 0, have 2 106 | #define TRANSD(x,y) (*translate_coordinates_d)(&x,&y) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ genlatex.c:1043:9: note: in expansion of macro 'TRANSD' 1043 | TRANSD(cx, cy); | ^~~~~~ make[3]: *** [Makefile:459: genlatex.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genmf.o genmf.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genge.o genge.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genbitmaps.o genbitmaps.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genmap.o genmap.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genpic.o genpic.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o gendxf.o gendxf.c gendxf.c: In function 'gendxf_option': gendxf.c:149:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fscanf(ffp, "%d%d%lf%lf%lf", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | &standard[font], /* 0-4 6-9 30-39*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | &alternate[font], /* 0-4 6-9 30-39*/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | &slant[font], /* degrees */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | &wide[font], /* ~1.0 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | &high[font]); /* ~1.0 */ | ~~~~~~~~~~~~ gendxf.c:163:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | fscanf(ffp, "%d%lf%d%lf%lf", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | &line_type[pattern], /* -1-6 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | &line_space[pattern], /* inches */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | &fill_type[pattern], /* 1-5 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | &fill_space[pattern], /* inches */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | &fill_angle[pattern]); /* degrees */ | ~~~~~~~~~~~~~~~~~~~~~ gendxf.c:184:41: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | fscanf(ffp, "%d%lf", | ^~~~~~~~~~~~~~~~~~~~ 185 | &pen_number[color], /* 1-8 */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | &pen_thickness[color]); /* mm */ | ~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o gengbx.o gengbx.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genmp.o genmp.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genepic.o genepic.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o gencgm.o gencgm.c gencgm.c: In function 'point': gencgm.c:331:1: warning: old-style function definition [-Wold-style-definition] 331 | point(p) | ^~~~~ gencgm.c: In function 'conv_pattern_index': gencgm.c:531:12: warning: old-style function definition [-Wold-style-definition] 531 | static int conv_pattern_index(index) | ^~~~~~~~~~~~~~~~~~ gencgm.c: In function 'hatchindex': gencgm.c:538:1: warning: old-style function definition [-Wold-style-definition] 538 | hatchindex(index) | ^~~~~~~~~~ gencgm.c: In function 'cgm_arrow': gencgm.c:689:1: warning: old-style function definition [-Wold-style-definition] 689 | cgm_arrow(P, a, l, dir) | ^~~~~~~~~ gencgm.c: In function 'direction': gencgm.c:783:1: warning: old-style function definition [-Wold-style-definition] 783 | direction(p, q, dir, dist) | ^~~~~~~~~ gencgm.c: In function 'polyline_arrow_adjust': gencgm.c:807:1: warning: old-style function definition [-Wold-style-definition] 807 | polyline_arrow_adjust(P, q, a) | ^~~~~~~~~~~~~~~~~~~~~ gencgm.c: In function 'line': gencgm.c:832:1: warning: old-style function definition [-Wold-style-definition] 832 | line(p, q) | ^~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o genpict2e.o genpict2e.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/transfig-3.2.8b-build/fig2dev-3.2.8b/fig2dev/dev' make[2]: *** [Makefile:579: all-recursive] Error 1 make[1]: *** [Makefile:397: all-recursive] Error 1 make: *** [Makefile:334: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DqO7PF (%build) RPM build warnings: /home/pterjan/rpmbuild/SPECS/transfig.spec line 26: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DqO7PF (%build) I: [iurt_root_command] ERROR: chroot