Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/xfig.spec'], chrootPath='/var/lib/mock/f42-build-59155557-6571348/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '102bf9fd50414b88be80474e93a60de9', '-D', '/var/lib/mock/f42-build-59155557-6571348/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/xfig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/xfig-3.2.9-5.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xfig.spec'], chrootPath='/var/lib/mock/f42-build-59155557-6571348/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4b3e3bb7620247678e981dbc82749483', '-D', '/var/lib/mock/f42-build-59155557-6571348/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xfig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.y2BmTZ Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LEX5t8 + umask 022 + cd /builddir/build/BUILD/xfig-3.2.9-build + cd /builddir/build/BUILD/xfig-3.2.9-build + rm -rf xfig-3.2.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xfig-3.2.9.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xfig-3.2.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xfig-icons.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Sanitize-a-call-to-realloc-ticket-165.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-exporting-only-active-layers-ticket-163.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Map-symbol-and-dingbat-glyphs-to-their-unicode-locat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xfig-3.2.9-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps doc/html/animate.js + sed -i.orig 's/\r//' doc/html/japanese/button_frame.fig + touch -r doc/html/japanese/button_frame.fig.orig doc/html/japanese/button_frame.fig + rm doc/html/japanese/button_frame.fig.orig + for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps doc/html/animate.js + sed -i.orig 's/\r//' doc/html/japanese/japanese.ps + touch -r doc/html/japanese/japanese.ps.orig doc/html/japanese/japanese.ps + rm doc/html/japanese/japanese.ps.orig + for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps doc/html/animate.js + sed -i.orig 's/\r//' doc/html/animate.js + touch -r doc/html/animate.js.orig doc/html/animate.js + rm doc/html/animate.js.orig + autoreconf -i configure.ac:29: warning: file 'version.m4' included several times src/Makefile.am:183: warning: escaping \# comment markers is not portable + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KHzUOF + umask 022 + cd /builddir/build/BUILD/xfig-3.2.9-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xfig-3.2.9 + export 'CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing' + CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing' + CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 aarch64-redhat-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 inline... inline checking for grep that handles long lines and -e... /usr/bin/grep checking for fgrep... /usr/bin/grep -F checking whether ln -s works... yes checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a sed that does not truncate output... /usr/bin/sed checking for aarch64-redhat-linux-gnu-ar... no checking for aarch64-redhat-linux-gnu-lib... no checking for aarch64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for library containing pow... -lm checking for library containing FcInit... -lfontconfig checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 sys/time.h... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for X11/X.h... yes checking for jpeglib.h... yes checking for library containing jpeg_read_header... -ljpeg checking for png.h... yes checking for library containing png_read_info... -lpng checking for tiffio.h... no checking for iconv.h... yes checking for library providing iconv... none required checking for ghostscript/iapi.h... no checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking for C/C++ restrict keyword... __restrict__ checking for intptr_t... yes checking for pid_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uintptr_t... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether S_IFDIR is declared... yes checking whether S_IWRITE is declared... yes checking whether REG_NOERROR is declared... yes checking for getcwd... yes checking for nl_langinfo... yes checking for setlocale... yes checking for strerror... yes checking for posix_spawnp... 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 for strndup... yes checking for library containing XpmFree... -lXpm checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating splash-image/spl_bckgnd.fig config.status: creating src/Makefile config.status: creating src/version.fig config.status: creating doc/html/images/xfig-title.fig config.status: creating doc/Makefile config.status: creating doc/xfig.man config.status: creating doc/xfig_man.html config.status: creating tests/Makefile config.status: creating tests/atlocal config.status: creating config.h config.status: executing depfiles commands config.status: executing tests/atconfig commands configure: Compile, CC=gcc XCPPFLAGS=-DXAW_INTERNATIONALIZATION \ CPPFLAGS= CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing Link, gcc CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing XLDFLAGS= \ LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes \ XLIBS=-lXaw3d -lXft -lXt -lX11 LIBS=-lXpm -lpng -ljpeg -lfontconfig -lm Installation locations: /usr/share/X11/app-defaults/ Fig (--with-appdefaultdir) /usr/share/applications/ xfig.desktop (--with-applicationsdir) /usr/share/pixmaps/ xfig.png (--with-icondir) /usr/share/xfig/ Libraries (--datarootdir) /usr/share/doc/xfig/ html (--htmldir) /usr/share/doc/xfig/ doc-files (--docdir) + /usr/bin/make -O -j80 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_arcbox.o d_arcbox.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' d_arcbox.c: In function ‘arcbox_drawing_selected’: d_arcbox.c:48:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 48 | canvas_leftbut_proc = init_arc_box_drawing; | ^ d_arcbox.c:38:17: note: ‘init_arc_box_drawing’ declared here 38 | static void init_arc_box_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ d_arcbox.c: In function ‘init_arc_box_drawing’: d_arcbox.c:62:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 62 | canvas_locmove_proc = resizing_box; | ^ In file included from d_arcbox.c:25: u_elastic.h:55:17: note: ‘resizing_box’ declared here 55 | extern void resizing_box(int x, int y); | ^~~~~~~~~~~~ d_arcbox.c:63:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 63 | canvas_leftbut_proc = create_arc_boxobject; | ^ d_arcbox.c:36:17: note: ‘create_arc_boxobject’ declared here 36 | static void create_arc_boxobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_arcbox.o] Error 1 make[2]: *** Waiting for unfinished jobs.... d_box.c: In function ‘box_drawing_selected’: d_box.c:48:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 48 | canvas_leftbut_proc = init_box_drawing; | ^ In file included from d_box.c:18: d_box.h:19:17: note: ‘init_box_drawing’ declared here 19 | extern void init_box_drawing(int x, int y); | ^~~~~~~~~~~~~~~~ d_box.c: In function ‘init_box_drawing’: d_box.c:62:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 62 | canvas_locmove_proc = resizing_box; | ^ In file included from d_box.c:27: u_elastic.h:55:17: note: ‘resizing_box’ declared here 55 | extern void resizing_box(int x, int y); | ^~~~~~~~~~~~ d_box.c:63:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 63 | canvas_leftbut_proc = create_boxobject; | ^ d_box.c:37:17: note: ‘create_boxobject’ declared here 37 | static void create_boxobject(int x, int y); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_box.o] Error 1 d_picobj.c: In function ‘picobj_drawing_selected’: d_picobj.c:53:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 53 | canvas_leftbut_proc = init_picobj_drawing; | ^ d_picobj.c:41:17: note: ‘init_picobj_drawing’ declared here 41 | static void init_picobj_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_picobj.c: In function ‘init_picobj_drawing’: d_picobj.c:64:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 64 | canvas_leftbut_proc = create_picobj; | ^ d_picobj.c:42:17: note: ‘create_picobj’ declared here 42 | static void create_picobj(int x, int y); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_picobj.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_box.o d_box.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_picobj.o d_picobj.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_spline.o d_spline.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' d_spline.c: In function ‘spline_drawing_selected’: d_spline.c:56:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 56 | canvas_leftbut_proc = init_spline_drawing; | ^ d_spline.c:43:17: note: ‘init_spline_drawing’ declared here 43 | static void init_spline_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_spline.c:57:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 57 | canvas_middlebut_proc = init_spline_freehand_drawing; | ^ d_spline.c:45:17: note: ‘init_spline_freehand_drawing’ declared here 45 | static void init_spline_freehand_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_spline.c: In function ‘init_spline_drawing2’: d_spline.c:83:31: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 83 | canvas_middlebut_proc = create_splineobject; | ^ d_spline.c:44:17: note: ‘create_splineobject’ declared here 44 | static void create_splineobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_spline.c:87:31: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 87 | canvas_middlebut_save = create_splineobject; | ^ d_spline.c:44:17: note: ‘create_splineobject’ declared here 44 | static void create_splineobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_spline.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_break.o e_break.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' e_break.c: In function ‘break_selected’: e_break.c:49:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 49 | init_searchproc_left(init_break_only); | ^~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_break.c:24: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_break.c:35:17: note: ‘init_break_only’ declared here 35 | static void init_break_only(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~ e_break.c:50:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 50 | init_searchproc_middle(init_break_tag); | ^~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_break.c:37:17: note: ‘init_break_tag’ declared here 37 | static void init_break_tag(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~ e_break.c:51:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 51 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_break.c:52:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 52 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_break.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_copy.o e_copy.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_glue.o e_glue.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' e_copy.c: In function ‘copy_selected’: e_copy.c:57:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 57 | init_searchproc_left(init_arb_copy); | ^~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_copy.c:35: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_copy.c:43:17: note: ‘init_arb_copy’ declared here 43 | static void init_arb_copy(F_line *p, int type, int x, int y, int px,int py); | ^~~~~~~~~~~~~ e_copy.c:58:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 58 | init_searchproc_middle(init_constrained_copy); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_copy.c:44:17: note: ‘init_constrained_copy’ declared here 44 | static void init_constrained_copy(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~~~~~~~ e_copy.c:59:27: error: passing argument 1 of ‘init_searchproc_right’ from incompatible pointer type [-Wincompatible-pointer-types] 59 | init_searchproc_right(init_copy_to_scrap); | ^~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:29:46: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_copy.c:46:17: note: ‘init_copy_to_scrap’ declared here 46 | static void init_copy_to_scrap(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~~~~ e_copy.c:60:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 60 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_copy.c:61:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 61 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_copy.c:62:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 62 | canvas_rightbut_proc = object_search_right; | ^ u_search.h:37:17: note: ‘object_search_right’ declared here 37 | void object_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_copy.o] Error 1 e_glue.c: In function ‘compound_selected’: e_glue.c:71:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 71 | init_searchproc_left(tag_object); | ^~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_glue.c:34: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_glue.c:48:17: note: ‘tag_object’ declared here 48 | static void tag_object(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~ e_glue.c:72:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 72 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_glue.c:73:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 73 | canvas_middlebut_proc = init_tag_region; | ^ e_glue.c:46:17: note: ‘init_tag_region’ declared here 46 | static void init_tag_region(int x, int y); | ^~~~~~~~~~~~~~~ e_glue.c:74:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 74 | canvas_rightbut_proc = create_compoundobject; | ^ e_glue.c:44:17: note: ‘create_compoundobject’ declared here 44 | static void create_compoundobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_glue.c: In function ‘init_tag_region’: e_glue.c:127:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 127 | canvas_middlebut_proc = tag_region; | ^ e_glue.c:47:17: note: ‘tag_region’ declared here 47 | static void tag_region(int x, int y); | ^~~~~~~~~~ make[2]: *** [Makefile:883: e_glue.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_ellipse.o d_ellipse.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' d_ellipse.c: In function ‘circle_ellipse_byradius_drawing_selected’: d_ellipse.c:59:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 59 | canvas_leftbut_proc = init_circlebyradius_drawing; | ^ d_ellipse.c:41:17: note: ‘init_circlebyradius_drawing’ declared here 41 | static void init_circlebyradius_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c:60:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 60 | canvas_middlebut_proc = init_ellipsebyradius_drawing; | ^ d_ellipse.c:39:17: note: ‘init_ellipsebyradius_drawing’ declared here 39 | static void init_ellipsebyradius_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function ‘init_ellipsebyradius_drawing’: d_ellipse.c:77:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 77 | canvas_locmove_proc = resizing_ebr; | ^ In file included from d_ellipse.c:28: u_elastic.h:68:17: note: ‘resizing_ebr’ declared here 68 | extern void resizing_ebr(int x, int y), elastic_ebr(void), resizing_ebd(int x, int y), elastic_ebd(void); | ^~~~~~~~~~~~ d_ellipse.c:78:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 78 | canvas_leftbut_proc = create_ellipsebyrad; | ^ d_ellipse.c:44:17: note: ‘create_ellipsebyrad’ declared here 44 | static void create_ellipsebyrad(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c:79:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 79 | canvas_middlebut_proc = create_ellipsebyrad; | ^ d_ellipse.c:44:17: note: ‘create_ellipsebyrad’ declared here 44 | static void create_ellipsebyrad(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function ‘circle_ellipse_bydiameter_drawing_selected’: d_ellipse.c:138:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 138 | canvas_leftbut_proc = init_circlebydiameter_drawing; | ^ d_ellipse.c:42:17: note: ‘init_circlebydiameter_drawing’ declared here 42 | static void init_circlebydiameter_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c:139:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 139 | canvas_middlebut_proc = init_ellipsebydiameter_drawing; | ^ d_ellipse.c:40:17: note: ‘init_ellipsebydiameter_drawing’ declared here 40 | static void init_ellipsebydiameter_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function ‘init_ellipsebydiameter_drawing’: d_ellipse.c:155:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 155 | canvas_locmove_proc = resizing_ebd; | ^ u_elastic.h:68:64: note: ‘resizing_ebd’ declared here 68 | extern void resizing_ebr(int x, int y), elastic_ebr(void), resizing_ebd(int x, int y), elastic_ebd(void); | ^~~~~~~~~~~~ d_ellipse.c:156:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 156 | canvas_leftbut_proc = create_ellipsebydia; | ^ d_ellipse.c:43:17: note: ‘create_ellipsebydia’ declared here 43 | static void create_ellipsebydia(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c:157:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 157 | canvas_middlebut_proc = create_ellipsebydia; | ^ d_ellipse.c:43:17: note: ‘create_ellipsebydia’ declared here 43 | static void create_ellipsebydia(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function ‘init_circlebyradius_drawing’: d_ellipse.c:222:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 222 | canvas_locmove_proc = resizing_cbr; | ^ u_elastic.h:67:17: note: ‘resizing_cbr’ declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ d_ellipse.c:223:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 223 | canvas_leftbut_proc = create_circlebyrad; | ^ d_ellipse.c:45:17: note: ‘create_circlebyrad’ declared here 45 | static void create_circlebyrad(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_ellipse.c: In function ‘init_circlebydiameter_drawing’: d_ellipse.c:289:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 289 | canvas_locmove_proc = resizing_cbd; | ^ u_elastic.h:67:64: note: ‘resizing_cbd’ declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ d_ellipse.c:290:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 290 | canvas_leftbut_proc = create_circlebydia; | ^ d_ellipse.c:46:17: note: ‘create_circlebydia’ declared here 46 | static void create_circlebydia(int x, int y); | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_ellipse.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_regpoly.o d_regpoly.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' d_regpoly.c: In function ‘regpoly_drawing_selected’: d_regpoly.c:52:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 52 | canvas_leftbut_proc = init_regpoly_drawing; | ^ d_regpoly.c:40:17: note: ‘init_regpoly_drawing’ declared here 40 | static void init_regpoly_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ d_regpoly.c: In function ‘init_regpoly_drawing’: d_regpoly.c:67:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 67 | canvas_locmove_proc = resizing_poly; | ^ In file included from d_regpoly.c:28: u_elastic.h:62:17: note: ‘resizing_poly’ declared here 62 | extern void resizing_poly(int x, int y); | ^~~~~~~~~~~~~ d_regpoly.c:68:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 68 | canvas_leftbut_proc = create_regpoly; | ^ d_regpoly.c:41:17: note: ‘create_regpoly’ declared here 41 | static void create_regpoly(int x, int y); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_regpoly.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_line.o d_line.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' d_line.c: In function ‘line_drawing_selected’: d_line.c:58:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, int)’ [-Wincompatible-pointer-types] 58 | canvas_leftbut_proc = init_line_drawing; | ^ d_line.c:47:21: note: ‘init_line_drawing’ declared here 47 | static void init_line_drawing(int x, int y, int shift); | ^~~~~~~~~~~~~~~~~ d_line.c:59:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 59 | canvas_middlebut_proc = init_line_freehand_drawing; | ^ d_line.c:48:21: note: ‘init_line_freehand_drawing’ declared here 48 | static void init_line_freehand_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ d_line.c:71:30: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 71 | canvas_rightbut_proc = create_lineobject; | ^ In file included from d_line.c:19: d_line.h:25:17: note: ‘create_lineobject’ declared here 25 | extern void create_lineobject(int x, int y); | ^~~~~~~~~~~~~~~~~ d_line.c: In function ‘init_trace_drawing’: d_line.c:124:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, int)’ [-Wincompatible-pointer-types] 124 | canvas_leftbut_proc = get_intermediatepoint; | ^ d_line.h:26:17: note: ‘get_intermediatepoint’ declared here 26 | extern void get_intermediatepoint(int x, int y, int shift); | ^~~~~~~~~~~~~~~~~~~~~ d_line.c:126:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 126 | canvas_locmove_proc = freehand_get_intermediatepoint; | ^ d_line.h:27:17: note: ‘freehand_get_intermediatepoint’ declared here 27 | extern void freehand_get_intermediatepoint(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_line.c:130:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 130 | canvas_leftbut_proc = create_lineobject; | ^ d_line.h:25:17: note: ‘create_lineobject’ declared here 25 | extern void create_lineobject(int x, int y); | ^~~~~~~~~~~~~~~~~ d_line.c:132:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 132 | canvas_locmove_proc = latex_line; | ^ In file included from d_line.c:30: u_elastic.h:78:17: note: ‘latex_line’ declared here 78 | extern void latex_line(int x, int y); | ^~~~~~~~~~ d_line.c:134:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 134 | canvas_locmove_proc = constrainedangle_line; | ^ u_elastic.h:79:17: note: ‘constrainedangle_line’ declared here 79 | extern void constrainedangle_line(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ d_line.c:136:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 136 | canvas_locmove_proc = unconstrained_line; | ^ u_elastic.h:77:17: note: ‘unconstrained_line’ declared here 77 | extern void unconstrained_line(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_line.c:139:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 139 | canvas_middlebut_save = create_lineobject; | ^ d_line.h:25:17: note: ‘create_lineobject’ declared here 25 | extern void create_lineobject(int x, int y); | ^~~~~~~~~~~~~~~~~ d_line.c: In function ‘get_intermediatepoint’: d_line.c:186:10: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 186 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ make[2]: *** [Makefile:883: d_line.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_arc.o d_arc.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_addpt.o e_addpt.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_arrow.o e_arrow.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o object.o object.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' d_arc.c: In function ‘arc_drawing_selected’: d_arc.c:79:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 79 | canvas_leftbut_proc = init_arc_drawing; | ^ d_arc.c:60:17: note: ‘init_arc_drawing’ declared here 60 | static void init_arc_drawing(int x, int y); | ^~~~~~~~~~~~~~~~ d_arc.c:80:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 80 | canvas_middlebut_proc = init_arc_c_drawing; | ^ d_arc.c:62:17: note: ‘init_arc_c_drawing’ declared here 62 | static void init_arc_c_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_arc.c: In function ‘init_arc_drawing’: d_arc.c:108:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 108 | canvas_locmove_proc = resizing_arc; | ^ d_arc.c:63:17: note: ‘resizing_arc’ declared here 63 | static void resizing_arc(int x, int y); | ^~~~~~~~~~~~ d_arc.c:118:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 118 | canvas_locmove_proc = unconstrained_line; | ^ In file included from d_arc.c:36: u_elastic.h:77:17: note: ‘unconstrained_line’ declared here 77 | extern void unconstrained_line(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_arc.c:121:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 121 | canvas_leftbut_proc = get_arcpoint; | ^ d_arc.c:59:17: note: ‘get_arcpoint’ declared here 59 | static void get_arcpoint(int x, int y); | ^~~~~~~~~~~~ d_arc.c: In function ‘init_arc_c_drawing’: d_arc.c:132:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 132 | canvas_locmove_proc = resizing_cbr; | ^ u_elastic.h:67:17: note: ‘resizing_cbr’ declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ d_arc.c: In function ‘get_arcpoint’: d_arc.c:189:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 189 | canvas_leftbut_proc = create_arcobject; | ^ d_arc.c:58:17: note: ‘create_arcobject’ declared here 58 | static void create_arcobject(int lx, int ly); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_arc.o] Error 1 e_addpt.c: In function ‘point_adding_selected’: e_addpt.c:56:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 56 | init_searchproc_left(init_point_adding); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_addpt.c:32: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_addpt.c:41:17: note: ‘init_point_adding’ declared here 41 | static void init_point_adding(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~ e_addpt.c:57:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 57 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_addpt.c: In function ‘init_point_adding’: e_addpt.c:96:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 96 | canvas_locmove_proc = latex_line; | ^ In file included from e_addpt.c:27: u_elastic.h:78:17: note: ‘latex_line’ declared here 78 | extern void latex_line(int x, int y); | ^~~~~~~~~~ e_addpt.c:101:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 101 | canvas_locmove_proc = constrainedangle_line; | ^ u_elastic.h:79:17: note: ‘constrainedangle_line’ declared here 79 | extern void constrainedangle_line(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_addpt.c:108:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 108 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: ‘reshaping_line’ declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_addpt.c: In function ‘init_splinepointadding’: e_addpt.c:160:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 160 | canvas_leftbut_proc = fix_splinepoint_adding; | ^ e_addpt.c:43:17: note: ‘fix_splinepoint_adding’ declared here 43 | static void fix_splinepoint_adding(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~ e_addpt.c: In function ‘fix_splinepoint_adding’: e_addpt.c:179:6: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 179 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ e_addpt.c: In function ‘init_linepointadding’: e_addpt.c:275:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 275 | canvas_leftbut_proc = fix_linepoint_adding; | ^ e_addpt.c:42:17: note: ‘fix_linepoint_adding’ declared here 42 | static void fix_linepoint_adding(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ e_addpt.c: In function ‘fix_linepoint_adding’: e_addpt.c:294:6: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 294 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ make[2]: *** [Makefile:883: e_addpt.o] Error 1 e_arrow.c: In function ‘arrow_head_selected’: e_arrow.c:56:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 56 | init_searchproc_left(add_arrow_head); | ^~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *, int) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)} In file included from e_arrow.c:30: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *, int)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_arrow.c:37:17: note: ‘add_arrow_head’ declared here 37 | static void add_arrow_head(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~ e_arrow.c:57:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 57 | init_searchproc_middle(delete_arrow_head); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *, int) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *, int)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_arrow.c:39:17: note: ‘delete_arrow_head’ declared here 39 | static void delete_arrow_head(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_arrow.c:58:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 58 | canvas_leftbut_proc = point_search_left; | ^ u_search.h:31:17: note: ‘point_search_left’ declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ e_arrow.c:59:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 59 | canvas_middlebut_proc = point_search_middle; | ^ u_search.h:32:17: note: ‘point_search_middle’ declared here 32 | void point_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_arrow.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_tangent.o e_tangent.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' e_tangent.c: In function ‘tangent_selected’: e_tangent.c:55:32: error: passing argument 1 of ‘init_smart_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 55 | init_smart_searchproc_left(init_tangent_adding); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, int, int) In file included from e_tangent.c:30: u_smartsearch.h:26:51: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, int, int)’ 26 | void init_smart_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_tangent.c:40:17: note: ‘init_tangent_adding’ declared here 40 | static void init_tangent_adding(char *p, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~~ e_tangent.c:56:34: error: passing argument 1 of ‘init_smart_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 56 | init_smart_searchproc_middle(init_normal_adding); | ^~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, int, int) u_smartsearch.h:27:53: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, int, int)’ 27 | void init_smart_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_tangent.c:42:17: note: ‘init_normal_adding’ declared here 42 | static void init_normal_adding(char *p, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~ e_tangent.c:57:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 57 | canvas_leftbut_proc = smart_object_search_left; | ^ u_smartsearch.h:30:17: note: ‘smart_object_search_left’ declared here 30 | void smart_object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_tangent.c:58:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 58 | canvas_middlebut_proc = smart_object_search_middle; | ^ u_smartsearch.h:31:17: note: ‘smart_object_search_middle’ declared here 31 | void smart_object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_tangent.o] Error 1 e_convert.c: In function ‘convert_selected’: e_convert.c:58:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 58 | init_searchproc_left(init_convert_line_spline); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_convert.c:36: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:44:17: note: ‘init_convert_line_spline’ declared here 44 | static void init_convert_line_spline(F_line *p, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:59:27: error: passing argument 1 of ‘init_searchproc_right’ from incompatible pointer type [-Wincompatible-pointer-types] 59 | init_searchproc_right(init_convert_open_closed); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)} u_search.h:29:46: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)’} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:46:17: note: ‘init_convert_open_closed’ declared here 46 | static void init_convert_open_closed(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:60:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 60 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_convert.c:62:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 62 | canvas_rightbut_proc = point_search_right; | ^ u_search.h:33:17: note: ‘point_search_right’ declared here 33 | void point_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_convert.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_convert.o e_convert.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_measure.o e_measure.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_chop.o e_chop.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' e_measure.c: In function ‘anglemeas_selected’: e_measure.c:95:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 95 | init_searchproc_middle(init_anglemeas_object_m); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, F_point *, F_point *) {aka void (*)(char *, int, int, int, struct f_point *, struct f_point *)} In file included from e_measure.c:31: u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(char *, int, int, int, struct f_point *, struct f_point *)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:44:13: note: ‘init_anglemeas_object_m’ declared here 44 | static void init_anglemeas_object_m(char *p, int type, int x, int y, F_point *pp, F_point *pq); | ^~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:96:27: error: passing argument 1 of ‘init_searchproc_right’ from incompatible pointer type [-Wincompatible-pointer-types] 96 | init_searchproc_right(init_anglemeas_object_r); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, F_point *, F_point *) {aka void (*)(char *, int, int, int, struct f_point *, struct f_point *)} u_search.h:29:46: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(char *, int, int, int, struct f_point *, struct f_point *)’} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:45:13: note: ‘init_anglemeas_object_r’ declared here 45 | static void init_anglemeas_object_r(char *p, int type, int x, int y, F_point *pp, F_point *pq); | ^~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:97:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 97 | canvas_leftbut_proc = init_anglemeas_threepoints; | ^ e_measure.c:46:13: note: ‘init_anglemeas_threepoints’ declared here 46 | static void init_anglemeas_threepoints(int px, int py); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:98:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 98 | canvas_middlebut_proc = point_search_middle; | ^ u_search.h:32:17: note: ‘point_search_middle’ declared here 32 | void point_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ e_measure.c:99:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 99 | canvas_rightbut_proc = point_search_right; | ^ u_search.h:33:17: note: ‘point_search_right’ declared here 33 | void point_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_measure.c: In function ‘init_anglemeas_threepoints’: e_measure.c:202:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 202 | canvas_locmove_proc = freehand_line_nomsg; | ^ e_measure.c:68:13: note: ‘freehand_line_nomsg’ declared here 68 | static void freehand_line_nomsg(int x, int y); | ^~~~~~~~~~~~~~~~~~~ e_measure.c:204:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 204 | canvas_leftbut_proc = anglemeas_second; | ^ e_measure.c:48:13: note: ‘anglemeas_second’ declared here 48 | static void anglemeas_second(int x, int y); | ^~~~~~~~~~~~~~~~ e_measure.c: In function ‘anglemeas_second’: e_measure.c:221:28: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 221 | canvas_leftbut_proc = anglemeas_third_l; | ^ e_measure.c:50:13: note: ‘anglemeas_third_l’ declared here 50 | static void anglemeas_third_l(int x, int y); | ^~~~~~~~~~~~~~~~~ e_measure.c:222:30: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 222 | canvas_middlebut_proc = anglemeas_third_m; | ^ e_measure.c:51:13: note: ‘anglemeas_third_m’ declared here 51 | static void anglemeas_third_m(int x, int y); | ^~~~~~~~~~~~~~~~~ e_measure.c: In function ‘lenmeas_selected’: e_measure.c:308:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 308 | init_searchproc_left(init_lenmeas_object_l); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, int, int) u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, int, int)’ 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:59:13: note: ‘init_lenmeas_object_l’ declared here 59 | static void init_lenmeas_object_l(char *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~~~~~ e_measure.c:309:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 309 | init_searchproc_middle(init_lenmeas_object_m); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, int, int) u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, int, int)’ 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:60:13: note: ‘init_lenmeas_object_m’ declared here 60 | static void init_lenmeas_object_m(char *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~~~~~ e_measure.c:310:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 310 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_measure.c:311:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 311 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_measure.c: In function ‘areameas_selected’: e_measure.c:416:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 416 | init_searchproc_left(init_areameas_object_l); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, int, int) u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, int, int)’ 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:64:13: note: ‘init_areameas_object_l’ declared here 64 | static void init_areameas_object_l(char *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~~~~~~ e_measure.c:417:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 417 | init_searchproc_middle(init_areameas_object_m); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(char *, int, int, int, int, int) u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(char *, int, int, int, int, int)’ 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_measure.c:65:13: note: ‘init_areameas_object_m’ declared here 65 | static void init_areameas_object_m(char *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~~~~~~ e_measure.c:418:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 418 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_measure.c:419:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 419 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_measure.c:420:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, int)’ [-Wincompatible-pointer-types] 420 | canvas_rightbut_proc = clear_areameas_memory; | ^ e_measure.c:66:13: note: ‘clear_areameas_memory’ declared here 66 | static void clear_areameas_memory(int x, int y, int arg); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_measure.o] Error 1 e_chop.c: In function ‘chop_selected’: e_chop.c:96:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 96 | canvas_leftbut_proc = object_search_left; /* point search for axe */ | ^ In file included from e_chop.c:38: u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_chop.c:97:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 97 | canvas_middlebut_proc = object_search_middle; /* object search for log */ | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_chop.c: At top level: e_chop.c:110:1: error: conflicting types for ‘select_axe_object’; have ‘void(void *, int, int, int, F_point *, F_point *)’ {aka ‘void(void *, int, int, int, struct f_point *, struct f_point *)’} 110 | select_axe_object(void *obj, int type, int x, int y, F_point *p, F_point * q) | ^~~~~~~~~~~~~~~~~ e_chop.c:47:13: note: previous declaration of ‘select_axe_object’ with type ‘void(void)’ 47 | static void select_axe_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c:134:1: error: conflicting types for ‘clear_axe_objects’; have ‘void(void *, int, int, int, F_point *, F_point *)’ {aka ‘void(void *, int, int, int, struct f_point *, struct f_point *)’} 134 | clear_axe_objects(void *obj, int type, int x, int y, F_point *p, F_point * q) | ^~~~~~~~~~~~~~~~~ e_chop.c:49:13: note: previous declaration of ‘clear_axe_objects’ with type ‘void(void)’ 49 | static void clear_axe_objects(); | ^~~~~~~~~~~~~~~~~ e_chop.c: In function ‘point_sort_fcn’: e_chop.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | point_sort_fcn(a, b) | ^~~~~~~~~~~~~~ e_chop.c: In function ‘point_sort_reverse_fcn’: e_chop.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | point_sort_reverse_fcn(a, b) | ^~~~~~~~~~~~~~~~~~~~~~ e_chop.c: In function ‘dice_polygons’: e_chop.c:236:11: warning: variable ‘last_ptype’ set but not used [-Wunused-but-set-variable] 236 | ptype_e last_ptype = PTYPE_NONE; | ^~~~~~~~~~ e_chop.c: In function ‘dice_polylines’: e_chop.c:342:11: warning: variable ‘last_ptype’ set but not used [-Wunused-but-set-variable] 342 | ptype_e last_ptype = PTYPE_NONE; | ^~~~~~~~~~ e_chop.c:341:7: warning: variable ‘last_y’ set but not used [-Wunused-but-set-variable] 341 | int last_y = -1; | ^~~~~~ e_chop.c:340:7: warning: variable ‘last_x’ set but not used [-Wunused-but-set-variable] 340 | int last_x = -1; | ^~~~~~ e_chop.c: At top level: e_chop.c:829:1: error: conflicting types for ‘select_log_object’; have ‘void(void *, int, int, int, F_point *, F_point *)’ {aka ‘void(void *, int, int, int, struct f_point *, struct f_point *)’} 829 | select_log_object(void *obj, int type, int x, int y, F_point *p, F_point *q) | ^~~~~~~~~~~~~~~~~ e_chop.c:48:13: note: previous declaration of ‘select_log_object’ with type ‘void(void)’ 48 | static void select_log_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c: In function ‘select_log_object’: e_chop.c:839:5: warning: case label value is less than minimum value for type [-Wswitch-outside-range] 839 | case -1: | ^~~~ e_chop.c:853:5: warning: case label value is less than minimum value for type [-Wswitch-outside-range] 853 | case -1: | ^~~~ e_chop.c:867:5: warning: case label value is less than minimum value for type [-Wswitch-outside-range] 867 | case -1: | ^~~~ e_chop.c: At top level: e_chop.c:47:13: warning: ‘select_axe_object’ used but never defined 47 | static void select_axe_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c:48:13: warning: ‘select_log_object’ used but never defined 48 | static void select_log_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c:49:13: warning: ‘clear_axe_objects’ used but never defined 49 | static void clear_axe_objects(); | ^~~~~~~~~~~~~~~~~ e_chop.c:829:1: warning: ‘select_log_object’ defined but not used [-Wunused-function] 829 | select_log_object(void *obj, int type, int x, int y, F_point *p, F_point *q) | ^~~~~~~~~~~~~~~~~ e_chop.c:134:1: warning: ‘clear_axe_objects’ defined but not used [-Wunused-function] 134 | clear_axe_objects(void *obj, int type, int x, int y, F_point *p, F_point * q) | ^~~~~~~~~~~~~~~~~ e_chop.c:110:1: warning: ‘select_axe_object’ defined but not used [-Wunused-function] 110 | select_axe_object(void *obj, int type, int x, int y, F_point *p, F_point * q) | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_chop.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_align.o e_align.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_deletept.o e_deletept.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_placelib.o e_placelib.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_rotate.o e_rotate.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_move.o e_move.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_flip.o e_flip.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_delete.o e_delete.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_joinsplit.o e_joinsplit.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_drag.o u_drag.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_movept.o e_movept.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_picobj.o f_picobj.c e_align.c: In function ‘align_selected’: e_align.c:75:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 75 | init_searchproc_left(init_align); | ^~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_align.c:31: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:54:17: note: ‘init_align’ declared here 54 | static void init_align(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~ e_align.c:76:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 76 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_align.c:77:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 77 | canvas_middlebut_proc = init_align_canvas; | ^ e_align.c:55:17: note: ‘init_align_canvas’ declared here 55 | static void init_align_canvas(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_align.o] Error 1 e_deletept.c: In function ‘delete_point_selected’: e_deletept.c:51:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 51 | init_searchproc_left(init_delete_point); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)} In file included from e_deletept.c:32: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_deletept.c:40:17: note: ‘init_delete_point’ declared here 40 | static void init_delete_point(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_deletept.c:52:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 52 | canvas_leftbut_proc = point_search_left; | ^ u_search.h:31:17: note: ‘point_search_left’ declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_deletept.o] Error 1 e_placelib.c: In function ‘put_selected’: e_placelib.c:90:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 90 | canvas_locmove_proc = init_move_object; | ^ e_placelib.c:59:17: note: ‘init_move_object’ declared here 59 | static void init_move_object(int x, int y); | ^~~~~~~~~~~~~~~~ e_placelib.c:92:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 92 | canvas_leftbut_proc = place_lib_object; | ^ e_placelib.c:63:17: note: ‘place_lib_object’ declared here 63 | static void place_lib_object(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~ e_placelib.c:93:31: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, int)’ [-Wincompatible-pointer-types] 93 | canvas_middlebut_proc = sel_place_lib_obj_proc; | ^ e_placelib.c:65:17: note: ‘sel_place_lib_obj_proc’ declared here 65 | static void sel_place_lib_obj_proc(int x, int y, int shift); | ^~~~~~~~~~~~~~~~~~~~~~ e_placelib.c:94:30: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, int)’ [-Wincompatible-pointer-types] 94 | canvas_rightbut_proc = cancel_place_lib_obj; | ^ In file included from e_placelib.c:18: e_placelib.h:23:17: note: ‘cancel_place_lib_obj’ declared here 23 | extern void cancel_place_lib_obj(int x, int y, int shift); | ^~~~~~~~~~~~~~~~~~~~ e_placelib.c: In function ‘init_move_object’: e_placelib.c:308:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 308 | canvas_locmove_proc = move_object; | ^ e_placelib.c:276:1: note: ‘move_object’ declared here 276 | move_object(int x, int y) | ^~~~~~~~~~~ e_placelib.c:309:21: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 309 | canvas_ref_proc = move_object; | ^ e_placelib.c:276:1: note: ‘move_object’ declared here 276 | move_object(int x, int y) | ^~~~~~~~~~~ make[2]: *** [Makefile:883: e_placelib.o] Error 1 e_rotate.c: In function ‘rotate_selected’: e_rotate.c:116:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 116 | init_searchproc_left(init_rotate); | ^~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_rotate.c:38: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_rotate.c:58:17: note: ‘init_rotate’ declared here 58 | static void init_rotate(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~ e_rotate.c:117:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 117 | init_searchproc_middle(init_copynrotate); | ^~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_rotate.c:60:17: note: ‘init_copynrotate’ declared here 60 | static void init_copynrotate(F_line *p, int type, int x,int y,int px,int py); | ^~~~~~~~~~~~~~~~ e_rotate.c:118:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 118 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_rotate.c:119:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 119 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_rotate.c:120:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 120 | canvas_rightbut_proc = set_unset_center; | ^ e_rotate.c:59:17: note: ‘set_unset_center’ declared here 59 | static void set_unset_center(int x, int y); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_rotate.o] Error 1 e_move.c: In function ‘move_selected’: e_move.c:47:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 47 | init_searchproc_left(init_arb_move); | ^~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_move.c:29: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_move.c:36:17: note: ‘init_arb_move’ declared here 36 | static void init_arb_move(F_line *p, int type, int x, int y, int px,int py); | ^~~~~~~~~~~~~ e_move.c:48:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 48 | init_searchproc_middle(init_constrained_move); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_move.c:37:17: note: ‘init_constrained_move’ declared here 37 | static void init_constrained_move(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~~~~~~~ e_move.c:49:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 49 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_move.c:50:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 50 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_move.o] Error 1 e_flip.c: In function ‘flip_selected’: e_flip.c:107:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 107 | init_searchproc_left(init_flip); | ^~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_flip.c:30: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_flip.c:51:17: note: ‘init_flip’ declared here 51 | static void init_flip(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~ e_flip.c:108:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 108 | init_searchproc_middle(init_copynflip); | ^~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_flip.c:52:17: note: ‘init_copynflip’ declared here 52 | static void init_copynflip(F_line *p, int type, int x,int y, int px,int py); | ^~~~~~~~~~~~~~ e_flip.c:109:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 109 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_flip.c:110:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 110 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_flip.c:111:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 111 | canvas_rightbut_proc = set_unset_anchor; | ^ e_flip.c:53:17: note: ‘set_unset_anchor’ declared here 53 | static void set_unset_anchor(int x, int y); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_flip.o] Error 1 e_delete.c: In function ‘delete_selected’: e_delete.c:69:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 69 | init_searchproc_left(init_delete); | ^~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_delete.c:45: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_delete.c:55:17: note: ‘init_delete’ declared here 55 | static void init_delete(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~ e_delete.c:70:27: error: passing argument 1 of ‘init_searchproc_right’ from incompatible pointer type [-Wincompatible-pointer-types] 70 | init_searchproc_right(init_delete_to_scrap); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:29:46: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_delete.c:57:17: note: ‘init_delete_to_scrap’ declared here 57 | static void init_delete_to_scrap(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~~~~ e_delete.c:71:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 71 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_delete.c:72:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 72 | canvas_middlebut_proc = init_delete_region; | ^ e_delete.c:56:17: note: ‘init_delete_region’ declared here 56 | static void init_delete_region(int x, int y), delete_region(int x, int y), cancel_delete_region(void); | ^~~~~~~~~~~~~~~~~~ e_delete.c:73:26: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 73 | canvas_rightbut_proc = object_search_right; | ^ u_search.h:37:17: note: ‘object_search_right’ declared here 37 | void object_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ e_delete.c: In function ‘init_delete_region’: e_delete.c:126:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 126 | canvas_middlebut_proc = delete_region; | ^ e_delete.c:56:51: note: ‘delete_region’ declared here 56 | static void init_delete_region(int x, int y), delete_region(int x, int y), cancel_delete_region(void); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_delete.o] Error 1 e_joinsplit.c: In function ‘join_split_selected’: e_joinsplit.c:79:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 79 | init_searchproc_left(init_join); | ^~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)} In file included from e_joinsplit.c:35: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_joinsplit.c:44:17: note: ‘init_join’ declared here 44 | static void init_join(F_line *obj, int type, int x, int y, F_point *p, | ^~~~~~~~~ e_joinsplit.c:80:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 80 | init_searchproc_middle(init_split); | ^~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_joinsplit.c:46:17: note: ‘init_split’ declared here 46 | static void init_split(F_line *obj, int type, int x, int y, int px, int py); | ^~~~~~~~~~ e_joinsplit.c:81:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 81 | canvas_leftbut_proc = point_search_left; /* point search for join */ | ^ u_search.h:31:17: note: ‘point_search_left’ declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ e_joinsplit.c:82:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 82 | canvas_middlebut_proc = object_search_middle; /* object search for split */ | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_joinsplit.c: In function ‘join_lines’: e_joinsplit.c:151:30: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 151 | init_searchproc_left(join_line2); | ^~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)} u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_joinsplit.c:54:17: note: ‘join_line2’ declared here 54 | static void join_line2(F_line *obj, int type, int x, int y, F_point *p, | ^~~~~~~~~~ e_joinsplit.c:152:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 152 | canvas_leftbut_proc = point_search_left; | ^ u_search.h:31:17: note: ‘point_search_left’ declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ e_joinsplit.c: In function ‘join_splines’: e_joinsplit.c:177:30: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 177 | init_searchproc_left(join_spline2); | ^~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)} u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_joinsplit.c:56:17: note: ‘join_spline2’ declared here 56 | static void join_spline2(F_line *obj, int type, int x, int y, F_point *p, | ^~~~~~~~~~~~ e_joinsplit.c:178:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 178 | canvas_leftbut_proc = point_search_left; | ^ u_search.h:31:17: note: ‘point_search_left’ declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_joinsplit.o] Error 1 u_drag.c: In function ‘init_ellipsedragging’: u_drag.c:62:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 62 | canvas_locmove_proc = moving_ellipse; | ^ In file included from u_drag.c:27: u_elastic.h:72:17: note: ‘moving_ellipse’ declared here 72 | extern void moving_ellipse(int x, int y); | ^~~~~~~~~~~~~~ u_drag.c:64:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 64 | canvas_leftbut_proc = place_ellipse; | ^ u_drag.c:43:49: note: ‘place_ellipse’ declared here 43 | static void array_place_ellipse(int x, int y), place_ellipse(int x, int y), place_ellipse_x(int x, int y), cancel_ellipse(void); | ^~~~~~~~~~~~~ u_drag.c:65:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 65 | canvas_middlebut_proc = array_place_ellipse; | ^ u_drag.c:43:13: note: ‘array_place_ellipse’ declared here 43 | static void array_place_ellipse(int x, int y), place_ellipse(int x, int y), place_ellipse_x(int x, int y), cancel_ellipse(void); | ^~~~~~~~~~~~~~~~~~~ u_drag.c: In function ‘init_arcdragging’: u_drag.c:190:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 190 | canvas_locmove_proc = moving_arc; | ^ u_elastic.h:93:17: note: ‘moving_arc’ declared here 93 | extern void moving_arc(int x, int y); | ^~~~~~~~~~ u_drag.c:192:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 192 | canvas_leftbut_proc = place_arc; | ^ u_drag.c:41:49: note: ‘place_arc’ declared here 41 | static void array_place_arc(int x, int y), place_arc(int x, int y), place_arc_x(int x, int y), cancel_drag_arc(void); | ^~~~~~~~~ u_drag.c:193:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 193 | canvas_middlebut_proc = array_place_arc; | ^ u_drag.c:41:13: note: ‘array_place_arc’ declared here 41 | static void array_place_arc(int x, int y), place_arc(int x, int y), place_arc_x(int x, int y), cancel_drag_arc(void); | ^~~~~~~~~~~~~~~ u_drag.c: In function ‘init_linedragging’: u_drag.c:319:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 319 | canvas_locmove_proc = moving_line; | ^ u_elastic.h:84:17: note: ‘moving_line’ declared here 84 | extern void moving_line(int x, int y); | ^~~~~~~~~~~ u_drag.c:321:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 321 | canvas_leftbut_proc = place_line; | ^ u_drag.c:40:49: note: ‘place_line’ declared here 40 | static void array_place_line(int x, int y), place_line(int x, int y), place_line_x(int x, int y), cancel_line(void); | ^~~~~~~~~~ u_drag.c:322:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 322 | canvas_middlebut_proc = array_place_line; | ^ u_drag.c:40:13: note: ‘array_place_line’ declared here 40 | static void array_place_line(int x, int y), place_line(int x, int y), place_line_x(int x, int y), cancel_line(void); | ^~~~~~~~~~~~~~~~ u_drag.c: In function ‘init_textdragging’: u_drag.c:472:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 472 | canvas_locmove_proc = moving_text; | ^ u_elastic.h:102:17: note: ‘moving_text’ declared here 102 | extern void moving_text(int x, int y); | ^~~~~~~~~~~ u_drag.c:474:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 474 | canvas_leftbut_proc = place_text; | ^ u_drag.c:44:49: note: ‘place_text’ declared here 44 | static void array_place_text(int x, int y), place_text(int x, int y), place_text_x(int x, int y), cancel_text(void); | ^~~~~~~~~~ u_drag.c:475:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 475 | canvas_middlebut_proc = array_place_text; | ^ u_drag.c:44:13: note: ‘array_place_text’ declared here 44 | static void array_place_text(int x, int y), place_text(int x, int y), place_text_x(int x, int y), cancel_text(void); | ^~~~~~~~~~~~~~~~ u_drag.c: In function ‘init_splinedragging’: u_drag.c:601:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 601 | canvas_locmove_proc = moving_spline; | ^ u_elastic.h:106:17: note: ‘moving_spline’ declared here 106 | extern void moving_spline(int x, int y); | ^~~~~~~~~~~~~ u_drag.c:603:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 603 | canvas_leftbut_proc = place_spline; | ^ u_drag.c:42:49: note: ‘place_spline’ declared here 42 | static void array_place_spline(int x, int y), place_spline(int x, int y), place_spline_x(int x, int y), cancel_spline(void); | ^~~~~~~~~~~~ u_drag.c:604:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 604 | canvas_middlebut_proc = array_place_spline; | ^ u_drag.c:42:13: note: ‘array_place_spline’ declared here 42 | static void array_place_spline(int x, int y), place_spline(int x, int y), place_spline_x(int x, int y), cancel_spline(void); | ^~~~~~~~~~~~~~~~~~ u_drag.c: In function ‘init_compounddragging’: u_drag.c:732:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 732 | canvas_locmove_proc = moving_box; | ^ u_elastic.h:59:17: note: ‘moving_box’ declared here 59 | extern void moving_box(int x, int y); | ^~~~~~~~~~ u_drag.c:734:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 734 | canvas_leftbut_proc = place_compound; | ^ u_drag.c:45:49: note: ‘place_compound’ declared here 45 | static void array_place_compound(int x, int y), place_compound(int x, int y), place_compound_x(int x, int y), cancel_drag_compound(void); | ^~~~~~~~~~~~~~ u_drag.c:735:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 735 | canvas_middlebut_proc = array_place_compound; | ^ u_drag.c:45:13: note: ‘array_place_compound’ declared here 45 | static void array_place_compound(int x, int y), place_compound(int x, int y), place_compound_x(int x, int y), cancel_drag_compound(void); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: u_drag.o] Error 1 e_movept.c: In function ‘move_point_selected’: e_movept.c:86:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 86 | init_searchproc_left(init_arb_move_point); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *, int) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)} In file included from e_movept.c:29: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *, int)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_movept.c:64:17: note: ‘init_arb_move_point’ declared here 64 | static void init_arb_move_point(F_line *obj, int type, int x, int y, F_point *p, F_point *q, int pnum); | ^~~~~~~~~~~~~~~~~~~ e_movept.c:87:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 87 | init_searchproc_middle(init_stretch_move_point); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *, int) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, F_point *, F_point *, int)’ {aka ‘void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_movept.c:65:17: note: ‘init_stretch_move_point’ declared here 65 | static void init_stretch_move_point(F_line *obj, int type, int x, int y, F_point *p, F_point *q, int pnum); | ^~~~~~~~~~~~~~~~~~~~~~~ e_movept.c:88:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 88 | canvas_leftbut_proc = point_search_left; | ^ u_search.h:31:17: note: ‘point_search_left’ declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ e_movept.c:89:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 89 | canvas_middlebut_proc = point_search_middle; | ^ u_search.h:32:17: note: ‘point_search_middle’ declared here 32 | void point_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ e_movept.c: In function ‘init_ellipsepointmoving’: e_movept.c:219:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 219 | canvas_locmove_proc = constrained_resizing_ebr; | ^ In file included from e_movept.c:32: u_elastic.h:69:17: note: ‘constrained_resizing_ebr’ declared here 69 | extern void constrained_resizing_ebr(int x, int y), constrained_resizing_ebd(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_movept.c:223:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 223 | canvas_locmove_proc = resizing_cbr; | ^ u_elastic.h:67:17: note: ‘resizing_cbr’ declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ e_movept.c:227:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 227 | canvas_locmove_proc = constrained_resizing_ebd; | ^ u_elastic.h:69:57: note: ‘constrained_resizing_ebd’ declared here 69 | extern void constrained_resizing_ebr(int x, int y), constrained_resizing_ebd(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_movept.c:231:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 231 | canvas_locmove_proc = resizing_cbd; | ^ u_elastic.h:67:64: note: ‘resizing_cbd’ declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ e_movept.c:236:5: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 236 | (canvas_locmove_proc)(cur_x, cur_y); | ^ ~~~~~ e_movept.c:240:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 240 | canvas_leftbut_proc = fix_movedellipsepoint; | ^ e_movept.c:68:17: note: ‘fix_movedellipsepoint’ declared here 68 | static void fix_movedellipsepoint(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_movept.c: In function ‘init_arcpointmoving’: e_movept.c:366:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 366 | canvas_locmove_proc = reshaping_arc; | ^ u_elastic.h:96:17: note: ‘reshaping_arc’ declared here 96 | extern void reshaping_arc(int x, int y); | ^~~~~~~~~~~~~ e_movept.c:368:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 368 | canvas_leftbut_proc = fix_movedarcpoint; | ^ e_movept.c:67:17: note: ‘fix_movedarcpoint’ declared here 67 | static void fix_movedarcpoint(int x, int y); | ^~~~~~~~~~~~~~~~~ e_movept.c:372:5: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 372 | (canvas_locmove_proc)(cur_x, cur_y); | ^ ~~~~~ e_movept.c: In function ‘init_splinepointmoving’: e_movept.c:450:37: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 450 | canvas_locmove_proc = latex_line; | ^ u_elastic.h:78:17: note: ‘latex_line’ declared here 78 | extern void latex_line(int x, int y); | ^~~~~~~~~~ e_movept.c:454:37: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 454 | canvas_locmove_proc = constrainedangle_line; | ^ u_elastic.h:79:17: note: ‘constrainedangle_line’ declared here 79 | extern void constrainedangle_line(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_movept.c:458:37: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 458 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: ‘reshaping_line’ declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_movept.c:464:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 464 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: ‘reshaping_line’ declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_movept.c:470:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 470 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: ‘reshaping_line’ declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_movept.c:482:5: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 482 | (canvas_locmove_proc)(cur_x, cur_y); | ^ ~~~~~ e_movept.c:484:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 484 | canvas_leftbut_proc = fix_movedsplinepoint; | ^ e_movept.c:69:17: note: ‘fix_movedsplinepoint’ declared here 69 | static void fix_movedsplinepoint(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ e_movept.c: In function ‘fix_movedsplinepoint’: e_movept.c:503:6: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 503 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ e_movept.c: In function ‘init_compoundpointmoving’: e_movept.c:573:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 573 | canvas_locmove_proc = constrained_resizing_scale_box; | ^ u_elastic.h:58:17: note: ‘constrained_resizing_scale_box’ declared here 58 | extern void constrained_resizing_scale_box(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_movept.c:575:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 575 | canvas_leftbut_proc = fix_movedcompoundpoint; | ^ e_movept.c:49:17: note: ‘fix_movedcompoundpoint’ declared here 49 | static void fix_movedcompoundpoint(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~ e_movept.c:578:5: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 578 | (canvas_locmove_proc)(cur_x, cur_y); | ^ ~~~~~ e_movept.c: In function ‘init_linepointmoving’: e_movept.c:649:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 649 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: ‘reshaping_line’ declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_movept.c:676:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 676 | canvas_locmove_proc = constrained_resizing_box; | ^ u_elastic.h:57:17: note: ‘constrained_resizing_box’ declared here 57 | extern void constrained_resizing_box(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_movept.c:678:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 678 | canvas_leftbut_proc = fix_box; | ^ e_movept.c:70:17: note: ‘fix_box’ declared here 70 | static void fix_box(int x, int y); | ^~~~~~~ e_movept.c:681:9: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 681 | (canvas_locmove_proc)(cur_x, cur_y); | ^ ~~~~~ e_movept.c:694:37: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 694 | canvas_locmove_proc = latex_line; | ^ u_elastic.h:78:17: note: ‘latex_line’ declared here 78 | extern void latex_line(int x, int y); | ^~~~~~~~~~ e_movept.c:698:37: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 698 | canvas_locmove_proc = constrainedangle_line; | ^ u_elastic.h:79:17: note: ‘constrainedangle_line’ declared here 79 | extern void constrainedangle_line(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_movept.c:702:37: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 702 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: ‘reshaping_line’ declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_movept.c:708:33: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 708 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: ‘reshaping_line’ declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_movept.c:713:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 713 | canvas_leftbut_proc = fix_movedlinepoint; | ^ e_movept.c:71:17: note: ‘fix_movedlinepoint’ declared here 71 | static void fix_movedlinepoint(int x, int y); | ^~~~~~~~~~~~~~~~~~ e_movept.c:716:5: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 716 | (canvas_locmove_proc)(cur_x, cur_y); | ^ ~~~~~ e_movept.c: In function ‘fix_movedlinepoint’: e_movept.c:810:6: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 810 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ make[2]: *** [Makefile:883: e_movept.o] Error 1 f_picobj.c:76:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 76 | {"GIF", "GIF", read_gif}, | ^~~~~~~~ f_picobj.c:76:65: note: (near initialization for ‘headers[0].readfunc’) f_picobj.c:52:17: note: ‘read_gif’ declared here 52 | extern int read_gif(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:77:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 77 | {"PCX", "\012\005\001", read_pcx}, | ^~~~~~~~ f_picobj.c:77:65: note: (near initialization for ‘headers[1].readfunc’) In file included from f_picobj.c:43: f_readpcx.h:29:17: note: ‘read_pcx’ declared here 29 | extern int read_pcx(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:78:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 78 | {"EPS", "%!", read_eps}, | ^~~~~~~~ f_picobj.c:78:65: note: (near initialization for ‘headers[2].readfunc’) f_picobj.c:53:17: note: ‘read_eps’ declared here 53 | extern int read_eps(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:79:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 79 | {"PDF", "%PDF", read_pdf}, | ^~~~~~~~ f_picobj.c:79:65: note: (near initialization for ‘headers[3].readfunc’) f_picobj.c:54:17: note: ‘read_pdf’ declared here 54 | extern int read_pdf(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:80:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 80 | {"PPM", "P3", read_ppm}, | ^~~~~~~~ f_picobj.c:80:65: note: (near initialization for ‘headers[4].readfunc’) f_picobj.c:55:17: note: ‘read_ppm’ declared here 55 | extern int read_ppm(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:81:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 81 | {"PPM", "P6", read_ppm}, | ^~~~~~~~ f_picobj.c:81:65: note: (near initialization for ‘headers[5].readfunc’) f_picobj.c:55:17: note: ‘read_ppm’ declared here 55 | extern int read_ppm(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:86:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 86 | {"XBM", "#define", read_xbm}, | ^~~~~~~~ f_picobj.c:86:65: note: (near initialization for ‘headers[6].readfunc’) f_picobj.c:59:17: note: ‘read_xbm’ declared here 59 | extern int read_xbm(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:88:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 88 | {"JPEG", "\377\330\377\340", read_jpg}, | ^~~~~~~~ f_picobj.c:88:65: note: (near initialization for ‘headers[7].readfunc’) f_picobj.c:61:17: note: ‘read_jpg’ declared here 61 | extern int read_jpg(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:89:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 89 | {"JPEG", "\377\330\377\341", read_jpg}, | ^~~~~~~~ f_picobj.c:89:65: note: (near initialization for ‘headers[8].readfunc’) f_picobj.c:61:17: note: ‘read_jpg’ declared here 61 | extern int read_jpg(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:92:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 92 | {"PNG", "\211\120\116\107\015\012\032\012", read_png}, | ^~~~~~~~ f_picobj.c:92:65: note: (near initialization for ‘headers[9].readfunc’) f_picobj.c:64:17: note: ‘read_png’ declared here 64 | extern int read_png(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ f_picobj.c:95:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(F_pic *, struct xfig_stream * restrict)’ {aka ‘int (*)(struct f_pic *, struct xfig_stream * restrict)’} [-Wincompatible-pointer-types] 95 | {"XPM", "/* XPM */", read_xpm}, | ^~~~~~~~ f_picobj.c:95:65: note: (near initialization for ‘headers[10].readfunc’) f_picobj.c:67:17: note: ‘read_xpm’ declared here 67 | extern int read_xpm(F_pic *pic, struct xfig_stream *restrict pic_stream); | ^~~~~~~~ In file included from f_picobj.c:28: f_picobj.c: In function ‘get_picture_status’: f_picobj.h:58:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 58 | #define ABSOLUTE_PATH(internal) (*(internal) == '/' && *((internal)+1) == '/' \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ f_picobj.c:256:33: note: in expansion of macro ‘ABSOLUTE_PATH’ 256 | const char *file = ABSOLUTE_PATH(pics->file); | ^~~~~~~~~~~~~ f_picobj.c: In function ‘read_picobj’: f_picobj.h:58:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 58 | #define ABSOLUTE_PATH(internal) (*(internal) == '/' && *((internal)+1) == '/' \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ f_picobj.c:319:37: note: in expansion of macro ‘ABSOLUTE_PATH’ 319 | char *abs_path = ABSOLUTE_PATH(file); | ^~~~~~~~~~~~~ f_picobj.h:58:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 58 | #define ABSOLUTE_PATH(internal) (*(internal) == '/' && *((internal)+1) == '/' \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ f_picobj.c:344:29: note: in expansion of macro ‘ABSOLUTE_PATH’ 344 | if (!strcmp(ABSOLUTE_PATH(pics->file), abs_path)) { | ^~~~~~~~~~~~~ f_picobj.c:427:13: error: too many arguments to function ‘headers[i].readfunc’; expected 0, have 2 427 | if (headers[i].readfunc(pic, &pic_stream) != PicSuccess) { | ^~~~~~~ ~~~ f_picobj.c:74:19: note: declared here 74 | int (*readfunc)(); | ^~~~~~~~ make[2]: *** [Makefile:883: f_picobj.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_compound.o e_compound.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o mode.o mode.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_wrpcx.o f_wrpcx.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_update.o e_update.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o resources.o resources.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_scale.o e_scale.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' e_compound.c: In function ‘open_compound_selected’: e_compound.c:132:24: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 132 | init_searchproc_left(init_open_compound); | ^~~~~~~~~~~~~~~~~~ | | | void (*)(F_compound *, int, int, int, int, int) {aka void (*)(struct f_compound *, int, int, int, int, int)} In file included from e_compound.c:48: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_compound *, int, int, int, int, int)’ {aka ‘void (*)(struct f_compound *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_compound.c:69:1: note: ‘init_open_compound’ declared here 69 | init_open_compound(F_compound *c, int type, int x, int y, int px, int py) | ^~~~~~~~~~~~~~~~~~ e_compound.c:133:26: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 133 | init_searchproc_middle(init_open_compound_vis); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_compound *, int, int, int, int, int, int) {aka void (*)(struct f_compound *, int, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_compound *, int, int, int, int, int, int)’ {aka ‘void (*)(struct f_compound *, int, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_compound.c:82:1: note: ‘init_open_compound_vis’ declared here 82 | init_open_compound_vis(F_compound *c, int type, int x, int y, int px, int py, | ^~~~~~~~~~~~~~~~~~~~~~ e_compound.c:134:23: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 134 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_compound.c:135:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 135 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_compound.o] Error 1 In function ‘write_pcx_head’, inlined from ‘_write_pcx’ at f_wrpcx.c:57:5: f_wrpcx.c:138:16: warning: ‘pcxhead.reserv’ is used uninitialized [-Wuninitialized] 138 | putc(pcx_hd->reserv, file); | ~~~~~~^~~~~~~~ f_wrpcx.c: In function ‘_write_pcx’: f_wrpcx.c:51:21: note: ‘pcxhead’ declared here 51 | pcxheadr pcxhead; | ^~~~~~~ e_update.c: In function ‘update_selected’: e_update.c:100:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 100 | init_searchproc_left(init_update_object); | ^~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_update.c:46: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_update.c:59:17: note: ‘init_update_object’ declared here 59 | static void init_update_object(F_line *p, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~ e_update.c:101:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 101 | init_searchproc_middle(init_update_settings); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_update.c:61:17: note: ‘init_update_settings’ declared here 61 | static void init_update_settings(F_line *p, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~~~ e_update.c:102:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 102 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_update.c:103:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 103 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_update.o] Error 1 e_scale.c: In function ‘scale_selected’: e_scale.c:112:26: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 112 | init_searchproc_left(init_box_scale); | ^~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_scale.c:51: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:75:17: note: ‘init_box_scale’ declared here 75 | static void init_box_scale(F_line *obj, int type, int x,int y,int px,int py); | ^~~~~~~~~~~~~~ e_scale.c:113:28: error: passing argument 1 of ‘init_searchproc_middle’ from incompatible pointer type [-Wincompatible-pointer-types] 113 | init_searchproc_middle(init_center_scale); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int, int, int)’} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:77:17: note: ‘init_center_scale’ declared here 77 | static void init_center_scale(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_scale.c:114:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 114 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_scale.c:115:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 115 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: ‘object_search_middle’ declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_scale.c: In function ‘init_boxscale_ellipse’: e_scale.c:258:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 258 | canvas_locmove_proc = constrained_resizing_cbd; | ^ In file included from e_scale.c:45: u_elastic.h:70:17: note: ‘constrained_resizing_cbd’ declared here 70 | extern void constrained_resizing_cbd(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:262:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 262 | canvas_locmove_proc = constrained_resizing_ebd; | ^ u_elastic.h:69:57: note: ‘constrained_resizing_ebd’ declared here 69 | extern void constrained_resizing_ebr(int x, int y), constrained_resizing_ebd(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:266:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 266 | canvas_leftbut_proc = fix_boxscale_ellipse; | ^ e_scale.c:88:17: note: ‘fix_boxscale_ellipse’ declared here 88 | static void fix_boxscale_ellipse(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ e_scale.c: In function ‘init_scale_ellipse’: e_scale.c:362:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 362 | canvas_locmove_proc = scaling_ellipse; | ^ u_elastic.h:74:17: note: ‘scaling_ellipse’ declared here 74 | extern void scaling_ellipse(int x, int y); | ^~~~~~~~~~~~~~~ e_scale.c:365:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 365 | canvas_middlebut_proc = fix_scale_ellipse; | ^ e_scale.c:87:17: note: ‘fix_scale_ellipse’ declared here 87 | static void fix_scale_ellipse(int x, int y); | ^~~~~~~~~~~~~~~~~ e_scale.c: In function ‘init_scale_arc’: e_scale.c:441:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 441 | canvas_locmove_proc = scaling_arc; | ^ u_elastic.h:98:17: note: ‘scaling_arc’ declared here 98 | extern void scaling_arc(int x, int y); | ^~~~~~~~~~~ e_scale.c:443:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 443 | canvas_middlebut_proc = fix_scale_arc; | ^ e_scale.c:84:17: note: ‘fix_scale_arc’ declared here 84 | static void fix_scale_arc(int x, int y); | ^~~~~~~~~~~~~ e_scale.c: In function ‘init_scale_spline’: e_scale.c:556:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 556 | canvas_locmove_proc = scaling_spline; | ^ u_elastic.h:108:17: note: ‘scaling_spline’ declared here 108 | extern void scaling_spline(int x, int y); | ^~~~~~~~~~~~~~ e_scale.c:558:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 558 | canvas_middlebut_proc = fix_scale_spline; | ^ e_scale.c:85:17: note: ‘fix_scale_spline’ declared here 85 | static void fix_scale_spline(int x, int y); | ^~~~~~~~~~~~~~~~ e_scale.c: In function ‘init_boxscale_compound’: e_scale.c:675:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 675 | canvas_locmove_proc = constrained_resizing_scale_box; | ^ u_elastic.h:58:17: note: ‘constrained_resizing_scale_box’ declared here 58 | extern void constrained_resizing_scale_box(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:677:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 677 | canvas_leftbut_proc = fix_boxscale_compound; | ^ e_scale.c:91:17: note: ‘fix_boxscale_compound’ declared here 91 | static void fix_boxscale_compound(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_scale.c: In function ‘init_scale_compound’: e_scale.c:723:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 723 | canvas_locmove_proc = scaling_compound; | ^ u_elastic.h:63:17: note: ‘scaling_compound’ declared here 63 | extern void scaling_compound(int x, int y); | ^~~~~~~~~~~~~~~~ e_scale.c:725:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 725 | canvas_middlebut_proc = fix_scale_compound; | ^ e_scale.c:90:17: note: ‘fix_scale_compound’ declared here 90 | static void fix_scale_compound(int x, int y); | ^~~~~~~~~~~~~~~~~~ e_scale.c: In function ‘init_boxscale_line’: e_scale.c:1244:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 1244 | canvas_locmove_proc = constrained_resizing_box; | ^ u_elastic.h:57:17: note: ‘constrained_resizing_box’ declared here 57 | extern void constrained_resizing_box(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:1246:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 1246 | canvas_leftbut_proc = fix_boxscale_line; | ^ e_scale.c:89:17: note: ‘fix_boxscale_line’ declared here 89 | static void fix_boxscale_line(int x, int y); | ^~~~~~~~~~~~~~~~~ e_scale.c: In function ‘init_scale_line’: e_scale.c:1342:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 1342 | canvas_locmove_proc = scaling_line; | ^ u_elastic.h:89:17: note: ‘scaling_line’ declared here 89 | extern void scaling_line(int x, int y); | ^~~~~~~~~~~~ e_scale.c:1343:21: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 1343 | canvas_ref_proc = elastic_scale_curline; | ^ u_elastic.h:90:17: note: ‘elastic_scale_curline’ declared here 90 | extern void elastic_scale_curline(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_scale.c:1344:27: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 1344 | canvas_middlebut_proc = fix_scale_line; | ^ e_scale.c:86:17: note: ‘fix_scale_line’ declared here 86 | static void fix_scale_line(int x, int y); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_scale.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_smartsearch.o u_smartsearch.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_text.o d_text.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' u_smartsearch.c: In function ‘do_smart_object_search’: u_smartsearch.c:242:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 242 | manipulate(e, type, x, y, px, py); | ^~~~~~~~~~ ~ u_smartsearch.c:245:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 245 | manipulate(l, type, x, y, px, py); | ^~~~~~~~~~ ~ u_smartsearch.c:248:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 248 | manipulate(s, type, x, y, px, py); | ^~~~~~~~~~ ~ u_smartsearch.c:251:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 251 | manipulate(t, type, x, y, px, py); | ^~~~~~~~~~ ~ u_smartsearch.c:254:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 254 | manipulate(a, type, x, y, px, py); | ^~~~~~~~~~ ~ u_smartsearch.c:257:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 257 | manipulate(c, type, x, y, px, py); | ^~~~~~~~~~ ~ make[2]: *** [Makefile:883: u_smartsearch.o] Error 1 d_text.c: In function ‘text_drawing_selected’: d_text.c:170:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 170 | canvas_leftbut_proc = init_text_input; | ^ d_text.c:127:17: note: ‘init_text_input’ declared here 127 | static void init_text_input(int x, int y), cancel_text_input(void); | ^~~~~~~~~~~~~~~ d_text.c: In function ‘overlay_text_input’: d_text.c:381:31: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, int)’ [-Wincompatible-pointer-types] 381 | canvas_middlebut_proc = finish_text_input; | ^ d_text.c:227:1: note: ‘finish_text_input’ declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c:382:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 382 | canvas_leftbut_proc = finish_n_start; | ^ d_text.c:213:1: note: ‘finish_n_start’ declared here 213 | finish_n_start(int x, int y) | ^~~~~~~~~~~~~~ d_text.c:426:45: error: passing argument 2 of ‘initialize_char_handler’ from incompatible pointer type [-Wincompatible-pointer-types] 426 | initialize_char_handler(canvas_win, finish_text_input, | ^~~~~~~~~~~~~~~~~ | | | void (*)(int, int, int) d_text.c:136:58: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int, int, int)’ 136 | static void initialize_char_handler(Window w, void (*cr) (/* ??? */), | ~~~~~~~^~~~~~~~~~~~~~~ d_text.c:227:1: note: ‘finish_text_input’ declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c: In function ‘init_text_input’: d_text.c:447:31: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, int)’ [-Wincompatible-pointer-types] 447 | canvas_middlebut_proc = finish_text_input; | ^ d_text.c:227:1: note: ‘finish_text_input’ declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c:448:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 448 | canvas_leftbut_proc = finish_n_start; | ^ d_text.c:213:1: note: ‘finish_n_start’ declared here 213 | finish_n_start(int x, int y) | ^~~~~~~~~~~~~~ d_text.c:569:45: error: passing argument 2 of ‘initialize_char_handler’ from incompatible pointer type [-Wincompatible-pointer-types] 569 | initialize_char_handler(canvas_win, finish_text_input, base_x, base_y); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int, int, int) d_text.c:136:58: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int, int, int)’ 136 | static void initialize_char_handler(Window w, void (*cr) (/* ??? */), | ~~~~~~~^~~~~~~~~~~~~~~ d_text.c:227:1: note: ‘finish_text_input’ declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c: In function ‘initialize_char_handler’: d_text.c:772:17: error: too many arguments to function ‘xim_set_spot’; expected 0, have 2 772 | xim_set_spot(cur_x, cur_y); | ^~~~~~~~~~~~ ~~~~~ d_text.c:150:17: note: declared here 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c: In function ‘move_blinking_cursor’: d_text.c:1173:25: error: too many arguments to function ‘xim_set_spot’; expected 0, have 2 1173 | if (xim_active) xim_set_spot(x, y); | ^~~~~~~~~~~~ ~ d_text.c:150:17: note: declared here 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c: At top level: d_text.c:1399:1: error: conflicting types for ‘xim_set_spot’; have ‘void(int, int)’ 1399 | xim_set_spot(int x, int y) | ^~~~~~~~~~~~ d_text.c:150:17: note: previous declaration of ‘xim_set_spot’ with type ‘void(void)’ 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c:1445:1: error: conflicting types for ‘close_preedit_proc’; have ‘void(int, int)’ 1445 | close_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~~ d_text.c:154:38: note: previous declaration of ‘close_preedit_proc’ with type ‘void(void)’ 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ d_text.c:1459:1: error: conflicting types for ‘open_preedit_proc’; have ‘void(int, int)’ 1459 | open_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~ d_text.c:154:17: note: previous declaration of ‘open_preedit_proc’ with type ‘void(void)’ 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~ d_text.c:1495:1: error: conflicting types for ‘paste_preedit_proc’; have ‘void(int, int)’ 1495 | paste_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~~ d_text.c:154:60: note: previous declaration of ‘paste_preedit_proc’ with type ‘void(void)’ 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ d_text.c:150:17: warning: ‘xim_set_spot’ used but never defined 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c:154:17: warning: ‘open_preedit_proc’ used but never defined 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~ d_text.c:154:38: warning: ‘close_preedit_proc’ used but never defined 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ d_text.c:154:60: warning: ‘paste_preedit_proc’ used but never defined 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ d_text.c:1495:1: warning: ‘paste_preedit_proc’ defined but not used [-Wunused-function] 1495 | paste_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~~ d_text.c:1445:1: warning: ‘close_preedit_proc’ defined but not used [-Wunused-function] 1445 | close_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~~ d_text.c:1399:1: warning: ‘xim_set_spot’ defined but not used [-Wunused-function] 1399 | xim_set_spot(int x, int y) | ^~~~~~~~~~~~ make[2]: *** [Makefile:883: d_text.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_redraw.o u_redraw.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' u_redraw.c: In function ‘redisplay_curobj’: u_redraw.c:447:10: error: too many arguments to function ‘canvas_ref_proc’; expected 0, have 2 447 | (*canvas_ref_proc)(cur_x, cur_y); | ~^~~~~~~~~~~~~~~~~ ~~~~~ make[2]: *** [Makefile:883: u_redraw.o] Error 1 u_search.c: In function ‘vector_rotate’: u_search.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | vector_rotate(a, b, angle) | ^~~~~~~~~~~~~ u_search.c: In function ‘do_object_search’: u_search.c:534:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 534 | manipulate(e, type, x, y, (int) px, py); | ^~~~~~~~~~ ~ u_search.c:537:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 537 | manipulate(l, type, x, y, px, py); | ^~~~~~~~~~ ~ u_search.c:540:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 540 | manipulate(s, type, x, y, px, py); | ^~~~~~~~~~ ~ u_search.c:543:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 543 | manipulate(t, type, x, y, px, py); | ^~~~~~~~~~ ~ u_search.c:546:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 546 | manipulate(a, type, x, y, (int) px, py); | ^~~~~~~~~~ ~ u_search.c:549:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 549 | manipulate(c, type, x, y, px, py); | ^~~~~~~~~~ ~ u_search.c: In function ‘do_point_search’: u_search.c:835:13: error: too many arguments to function ‘manipulate’; expected 0, have 7 835 | manipulate(e, type, x, y, px, py, pnum); | ^~~~~~~~~~ ~ u_search.c:838:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 838 | manipulate(l, type, x, y, px, py); | ^~~~~~~~~~ ~ u_search.c:841:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 841 | manipulate(s, type, x, y, px, py); | ^~~~~~~~~~ ~ u_search.c:844:13: error: too many arguments to function ‘manipulate’; expected 0, have 7 844 | manipulate(a, type, x, y, px, py, pnum); | ^~~~~~~~~~ ~ u_search.c:847:13: error: too many arguments to function ‘manipulate’; expected 0, have 6 847 | manipulate(c, type, x, y, px, py); | ^~~~~~~~~~ ~ make[2]: *** [Makefile:883: u_search.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_search.o u_search.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_convert.o u_convert.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o d_subspline.o d_subspline.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_canvas.o w_canvas.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' w_canvas.c: In function ‘process_keystroke’: w_canvas.c:301:33: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 301 | canvas_kbd_proc(str, (int)strlen(str), | ^~~~~~~~~~~~~~~ ~~~ w_canvas.c:304:33: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 304 | canvas_kbd_proc(compose_buf, 1, (KeySym)0); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~ w_canvas.c:305:33: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 305 | canvas_kbd_proc(compose_buf + 1, 1, (KeySym)0); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ w_canvas.c:308:25: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 308 | canvas_kbd_proc(compose_buf, 1, (KeySym)0); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~ w_canvas.c:309:25: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 309 | canvas_kbd_proc(buf, len, key_sym); | ^~~~~~~~~~~~~~~ ~~~ w_canvas.c:314:17: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 314 | canvas_kbd_proc(buf, len, key_sym); | ^~~~~~~~~~~~~~~ ~~~ w_canvas.c: In function ‘canvas_selected’: w_canvas.c:406:18: error: too many arguments to function ‘canvas_locmove_proc’; expected 0, have 2 406 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ w_canvas.c:472:26: error: too many arguments to function ‘canvas_leftbut_proc’; expected 0, have 3 472 | (*canvas_leftbut_proc) (x, y, be->state & ShiftMask); | ~^~~~~~~~~~~~~~~~~~~~~ ~ w_canvas.c:476:26: error: too many arguments to function ‘canvas_middlebut_proc’; expected 0, have 3 476 | (*canvas_middlebut_proc) (x, y, be->state & ShiftMask); | ~^~~~~~~~~~~~~~~~~~~~~~~ ~ w_canvas.c:480:26: error: too many arguments to function ‘canvas_rightbut_proc’; expected 0, have 3 480 | (*canvas_rightbut_proc) (x, y, be->state & ShiftMask); | ~^~~~~~~~~~~~~~~~~~~~~~ ~ w_canvas.c:515:34: error: too many arguments to function ‘canvas_middlebut_proc’; expected 0, have 3 515 | (*canvas_middlebut_proc)(keyboard_x, keyboard_y, | ~^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ w_canvas.c:518:34: error: too many arguments to function ‘canvas_rightbut_proc’; expected 0, have 3 518 | (*canvas_rightbut_proc)(keyboard_x, keyboard_y, | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ w_canvas.c:521:34: error: too many arguments to function ‘canvas_leftbut_proc’; expected 0, have 3 521 | (*canvas_leftbut_proc)(keyboard_x, keyboard_y, | ~^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ w_canvas.c:633:49: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 633 | canvas_kbd_proc(NULL, 0, key); | ^~~~~~~~~~~~~~~ ~~~~ w_canvas.c: In function ‘get_canvas_clipboard’: w_canvas.c:707:33: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 707 | canvas_kbd_proc((unsigned char *)tmp[i], | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ w_canvas.c:712:17: error: too many arguments to function ‘canvas_kbd_proc’; expected 0, have 3 712 | canvas_kbd_proc((unsigned char *)buf, (int)(*length),(KeySym)0); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: w_canvas.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_pan.o u_pan.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_dir.o w_dir.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' w_dir.c: In function ‘MakeFileList’: w_dir.c:648:62: error: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types] 648 | qsort(filelist, cur_file - filelist, sizeof(char *), (int(*)())SPComp); | ^~~~~~~~~~~~~~~~ | | | int (*)(void) In file included from w_dir.c:68: /usr/include/stdlib.h:971:34: note: expected ‘__compar_fn_t’ {aka ‘int (*)(const void *, const void *)’} but argument is of type ‘int (*)(void)’ 971 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ /usr/include/stdlib.h:948:15: note: ‘__compar_fn_t’ declared here 948 | typedef int (*__compar_fn_t) (const void *, const void *); | ^~~~~~~~~~~~~ w_dir.c:650:65: error: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types] 650 | qsort(dirlist, cur_directory - dirlist, sizeof(char *), (int(*)())SPComp); | ^~~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/stdlib.h:971:34: note: expected ‘__compar_fn_t’ {aka ‘int (*)(const void *, const void *)’} but argument is of type ‘int (*)(void)’ 971 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ /usr/include/stdlib.h:948:15: note: ‘__compar_fn_t’ declared here 948 | typedef int (*__compar_fn_t) (const void *, const void *); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:883: w_dir.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_error.o u_error.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_translate.o u_translate.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_cmdpanel.o w_cmdpanel.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' w_cmdpanel.c:203:44: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 203 | {"New (Meta-N)", 0, new, False}, | ^~~ w_cmdpanel.c:203:44: note: (near initialization for ‘file_menu_items[0].func’) In file included from w_cmdpanel.c:22: w_cmdpanel.h:56:17: note: ‘new’ declared here 56 | extern void new(Widget w, XtPointer closure, XtPointer call_data); | ^~~ w_cmdpanel.c:209:44: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, XButtonEvent *)’ [-Wincompatible-pointer-types] 209 | {"Save (Meta-S)", 0, do_save, False}, | ^~~~~~~ w_cmdpanel.c:209:44: note: (near initialization for ‘file_menu_items[3].func’) In file included from w_cmdpanel.c:64: w_file.h:26:17: note: ‘do_save’ declared here 26 | extern void do_save(Widget w, XButtonEvent *ev); | ^~~~~~~ w_cmdpanel.c:211:60: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *)’ [-Wincompatible-pointer-types] 211 | {"Export... (Meta-X) (Quick = Shift-Meta-X)", 0, popup_export_panel, False}, | ^~~~~~~~~~~~~~~~~~ w_cmdpanel.c:211:60: note: (near initialization for ‘file_menu_items[5].func’) In file included from w_cmdpanel.c:63: w_export.h:53:17: note: ‘popup_export_panel’ declared here 53 | extern void popup_export_panel(Widget w); | ^~~~~~~~~~~~~~~~~~ w_cmdpanel.c:212:60: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *)’ [-Wincompatible-pointer-types] 212 | {"Print... (Meta-P) (Quick = Shift-Meta-P)", 0, popup_print_panel, False}, | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:212:60: note: (near initialization for ‘file_menu_items[6].func’) In file included from w_cmdpanel.c:72: w_print.h:37:17: note: ‘popup_print_panel’ declared here 37 | extern void popup_print_panel(Widget w); | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:213:44: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 213 | {"Exit (Meta-Q)", 1, quit, False}, | ^~~~ w_cmdpanel.c:213:44: note: (near initialization for ‘file_menu_items[7].func’) w_cmdpanel.h:55:17: note: ‘quit’ declared here 55 | extern void quit(Widget w, XtPointer closure, XtPointer call_data); | ^~~~ w_cmdpanel.c:221:45: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 221 | {"Paste Objects (Meta-T) ", 0, paste, False}, | ^~~~~ w_cmdpanel.c:221:45: note: (near initialization for ‘edit_menu_items[1].func’) w_cmdpanel.h:57:17: note: ‘paste’ declared here 57 | extern void paste(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~ w_cmdpanel.c:225:45: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, int, int)’ [-Wincompatible-pointer-types] 225 | {"Delete All (Meta-D) ", 0, delete_all_cmd, False}, | ^~~~~~~~~~~~~~ w_cmdpanel.c:225:45: note: (near initialization for ‘edit_menu_items[5].func’) w_cmdpanel.c:132:17: note: ‘delete_all_cmd’ declared here 132 | void delete_all_cmd(Widget w, int closure, int call_data); | ^~~~~~~~~~~~~~ w_cmdpanel.c:227:45: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *)’ [-Wincompatible-pointer-types] 227 | {"Global settings... (Meta-G) ", 0, show_global_settings, False}, | ^~~~~~~~~~~~~~~~~~~~ w_cmdpanel.c:227:45: note: (near initialization for ‘edit_menu_items[7].func’) w_cmdpanel.h:62:17: note: ‘show_global_settings’ declared here 62 | extern void show_global_settings(Widget w); | ^~~~~~~~~~~~~~~~~~~~ w_cmdpanel.c:243:48: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(ind_sw_info *)’ {aka ‘void (*)(struct ind_sw_struct *)’} [-Wincompatible-pointer-types] 243 | {"Zoom In (Shift-Z)", 5, inc_zoom_centered, False}, | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:243:48: note: (near initialization for ‘view_menu_items[3].func’) In file included from w_cmdpanel.c:67: w_indpanel.h:176:17: note: ‘inc_zoom_centered’ declared here 176 | extern void inc_zoom_centered(ind_sw_info *sw); | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:244:48: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(ind_sw_info *)’ {aka ‘void (*)(struct ind_sw_struct *)’} [-Wincompatible-pointer-types] 244 | {"Zoom Out (z)", 5, dec_zoom_centered, False}, | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:244:48: note: (near initialization for ‘view_menu_items[4].func’) w_indpanel.h:177:17: note: ‘dec_zoom_centered’ declared here 177 | extern void dec_zoom_centered(ind_sw_info *sw); | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:245:48: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(ind_sw_info *)’ {aka ‘void (*)(struct ind_sw_struct *)’} [-Wincompatible-pointer-types] 245 | {"Zoom to Fit canvas (Ctrl-Z)", 8, fit_zoom, False}, | ^~~~~~~~ w_cmdpanel.c:245:48: note: (near initialization for ‘view_menu_items[5].func’) w_indpanel.h:178:17: note: ‘fit_zoom’ declared here 178 | extern void fit_zoom(ind_sw_info *sw); | ^~~~~~~~ w_cmdpanel.c:276:28: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 276 | {"Hold", 0, snap_hold, False}, /* hol snap mode until | ^~~~~~~~~ w_cmdpanel.c:276:28: note: (near initialization for ‘snap_menu_items[0].func’) In file included from w_cmdpanel.c:75: w_snap.h:28:13: note: ‘snap_hold’ declared here 28 | extern void snap_hold(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~ w_cmdpanel.c:278:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 278 | {"Release", 0, snap_release, False}, /* release hold */ | ^~~~~~~~~~~~ w_cmdpanel.c:278:20: note: (near initialization for ‘snap_menu_items[1].func’) w_snap.h:29:13: note: ‘snap_release’ declared here 29 | extern void snap_release(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~~ w_cmdpanel.c:281:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 281 | {"Endpoint", 0, snap_endpoint, False}, /* snap to vertices or other | ^~~~~~~~~~~~~ w_cmdpanel.c:281:20: note: (near initialization for ‘snap_menu_items[3].func’) w_snap.h:30:13: note: ‘snap_endpoint’ declared here 30 | extern void snap_endpoint(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~~~ w_cmdpanel.c:283:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 283 | {"Midpoint", 0, snap_midpoint, False}, /* snap to segment or other | ^~~~~~~~~~~~~ w_cmdpanel.c:283:20: note: (near initialization for ‘snap_menu_items[4].func’) w_snap.h:31:13: note: ‘snap_midpoint’ declared here 31 | extern void snap_midpoint(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~~~ w_cmdpanel.c:285:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 285 | {"Nearest", 0, snap_nearest, False}, /* snap to nearest object */ | ^~~~~~~~~~~~ w_cmdpanel.c:285:20: note: (near initialization for ‘snap_menu_items[5].func’) w_snap.h:32:13: note: ‘snap_nearest’ declared here 32 | extern void snap_nearest(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~~ w_cmdpanel.c:286:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 286 | {"Focus", 0, snap_focus, False}, /* snap to ellipse focus or | ^~~~~~~~~~ w_cmdpanel.c:286:20: note: (near initialization for ‘snap_menu_items[6].func’) w_snap.h:33:13: note: ‘snap_focus’ declared here 33 | extern void snap_focus(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~ w_cmdpanel.c:290:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 290 | {"Normal", 0, snap_normal, False}, /* snap to point that results in | ^~~~~~~~~~~ w_cmdpanel.c:290:20: note: (near initialization for ‘snap_menu_items[8].func’) w_snap.h:35:13: note: ‘snap_normal’ declared here 35 | extern void snap_normal(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~ w_cmdpanel.c:293:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 293 | {"Tangent", 0, snap_tangent, False}, /* snap to point that results in | ^~~~~~~~~~~~ w_cmdpanel.c:293:20: note: (near initialization for ‘snap_menu_items[9].func’) w_snap.h:36:13: note: ‘snap_tangent’ declared here 36 | extern void snap_tangent(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~~ w_cmdpanel.c:295:23: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 295 | {"Intersection", 0, snap_intersect, False}, /* snap to intersection of | ^~~~~~~~~~~~~~ w_cmdpanel.c:295:23: note: (near initialization for ‘snap_menu_items[10].func’) w_snap.h:37:13: note: ‘snap_intersect’ declared here 37 | extern void snap_intersect(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~~~~ w_cmdpanel.c:297:20: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(struct _WidgetRec *, void *, void *)’ [-Wincompatible-pointer-types] 297 | {"Diameter", 0, snap_diameter, False}, /* snap to ellipse or circle | ^~~~~~~~~~~~~ w_cmdpanel.c:297:20: note: (near initialization for ‘snap_menu_items[11].func’) w_snap.h:34:13: note: ‘snap_diameter’ declared here 34 | extern void snap_diameter(Widget w, XtPointer closure, XtPointer call_data); | ^~~~~~~~~~~~~ w_cmdpanel.c: In function ‘create_menu_item’: w_cmdpanel.c:509:73: error: passing argument 3 of ‘XtAddCallback’ from incompatible pointer type [-Wincompatible-pointer-types] 509 | XtAddCallback(entry, XtNcallback, menup->menu[i].func, | ~~~~~~~~~~~~~~^~~~~ | | | void (*)(void) In file included from /usr/include/X11/IntrinsicP.h:51, from w_cmdpanel.h:22: /usr/include/X11/Intrinsic.h:1256:5: note: expected ‘XtCallbackProc’ {aka ‘void (*)(struct _WidgetRec *, void *, void *)’} but argument is of type ‘void (*)(void)’ 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ /usr/include/X11/Intrinsic.h:341:16: note: ‘XtCallbackProc’ declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ w_cmdpanel.c: In function ‘paste’: w_cmdpanel.c:776:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 776 | canvas_locmove_proc = init_move_paste_object; | ^ w_cmdpanel.c:133:17: note: ‘init_move_paste_object’ declared here 133 | static void init_move_paste_object(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~ w_cmdpanel.c:777:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 777 | canvas_ref_proc = move_paste_object; | ^ w_cmdpanel.c:134:17: note: ‘move_paste_object’ declared here 134 | static void move_paste_object(int x, int y); | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:778:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 778 | canvas_leftbut_proc = place_object; | ^ w_cmdpanel.c:135:17: note: ‘place_object’ declared here 135 | static void place_object(int x, int y, unsigned int shift); | ^~~~~~~~~~~~ w_cmdpanel.c:779:31: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 779 | canvas_middlebut_proc = place_object_orig_posn; | ^ w_cmdpanel.c:138:17: note: ‘place_object_orig_posn’ declared here 138 | static void place_object_orig_posn(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~~~ w_cmdpanel.c: In function ‘init_move_paste_object’: w_cmdpanel.c:856:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 856 | canvas_locmove_proc = move_paste_object; | ^ w_cmdpanel.c:826:1: note: ‘move_paste_object’ declared here 826 | move_paste_object(int x, int y) | ^~~~~~~~~~~~~~~~~ w_cmdpanel.c:857:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int)’ [-Wincompatible-pointer-types] 857 | canvas_ref_proc = move_paste_object; | ^ w_cmdpanel.c:826:1: note: ‘move_paste_object’ declared here 826 | move_paste_object(int x, int y) | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: w_cmdpanel.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_scale.o u_scale.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_readxbm.o f_readxbm.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_cursor.o w_cursor.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_quartic.o u_quartic.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_colors.o u_colors.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_readpcx.o f_readpcx.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' f_readpcx.c: In function ‘_read_pcx’: f_readpcx.c:126:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 126 | fread(&header,1,sizeof(struct pcxhed),pcxfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o e_edit.o e_edit.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' e_edit.c: In function ‘edit_item_selected’: e_edit.c:693:30: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 693 | init_searchproc_left(edit_item); | ^~~~~~~~~ | | | void (*)(void *, int, int, int) In file included from e_edit.c:66: u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(void *, int, int, int)’ 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from e_edit.c:26: e_edit.h:37:17: note: ‘edit_item’ declared here 37 | extern void edit_item (void *p, int type, int x, int y); | ^~~~~~~~~ e_edit.c:694:31: error: passing argument 1 of ‘init_searchproc_right’ from incompatible pointer type [-Wincompatible-pointer-types] 694 | init_searchproc_right(edit_spline_point); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_spline *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_spline *, int, int, int, struct f_point *, struct f_point *)} u_search.h:29:46: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_spline *, int, int, int, F_point *, F_point *)’ {aka ‘void (*)(struct f_spline *, int, int, int, struct f_point *, struct f_point *)’} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c:682:17: note: ‘edit_spline_point’ declared here 682 | static void edit_spline_point(F_spline *spline, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_edit.c:695:29: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 695 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: ‘object_search_left’ declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_edit.c:696:31: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 696 | canvas_middlebut_proc = edit_figure_comments; | ^ e_edit.c:684:17: note: ‘edit_figure_comments’ declared here 684 | static void edit_figure_comments(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_edit.c:697:30: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, unsigned int)’ [-Wincompatible-pointer-types] 697 | canvas_rightbut_proc = point_search_right; | ^ u_search.h:33:17: note: ‘point_search_right’ declared here 33 | void point_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_edit.c: In function ‘edit_figure_comments’: e_edit.c:714:38: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 714 | init_searchproc_left(popup_show_comments); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int) {aka void (*)(struct f_line *, int, int, int)} u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(F_line *, int, int, int)’ {aka ‘void (*)(struct f_line *, int, int, int)’} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c:707:17: note: ‘popup_show_comments’ declared here 707 | static void popup_show_comments(F_line *p, int type, int x, int y); | ^~~~~~~~~~~~~~~~~~~ e_edit.c:717:38: error: passing argument 1 of ‘init_searchproc_left’ from incompatible pointer type [-Wincompatible-pointer-types] 717 | init_searchproc_left(edit_item); | ^~~~~~~~~ | | | void (*)(void *, int, int, int) u_search.h:27:45: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(void *, int, int, int)’ 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.h:37:17: note: ‘edit_item’ declared here 37 | extern void edit_item (void *p, int type, int x, int y); | ^~~~~~~~~ e_edit.c: In function ‘f_menu_popup’: e_edit.c:4354:25: error: passing argument 4 of ‘fontpane_popup’ from incompatible pointer type [-Wincompatible-pointer-types] 4354 | set_font_image, font_panel); | ^~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *) In file included from w_color.h:56, from e_edit.c:71: w_indpanel.h:172:93: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(struct _WidgetRec *)’ 172 | extern void fontpane_popup(int *psfont_adr, int *latexfont_adr, int *psflag_adr, void (*showfont_fn) (/* ??? */), Widget show_widget); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c:4310:1: note: ‘set_font_image’ declared here 4310 | set_font_image(Widget widget) | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_edit.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_readgif.o f_readgif.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' f_readgif.c: In function ‘read_gif’: f_readgif.c:271:17: warning: ‘mid’ may be used uninitialized [-Wmaybe-uninitialized] 271 | spawn_pclose(mid); | ^~~~~~~~~~~~~~~~~ f_readgif.c:95:28: note: ‘mid’ was declared here 95 | int i, mid, stat; | ^~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_free.o u_free.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_readeps.o f_readeps.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_load.o f_load.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' f_load.c: In function ‘update_recent_list’: f_load.c:339:22: warning: ‘%1d’ directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow=] 339 | sprintf(num,"%1d",i+1); | ^~~ f_load.c:339:21: note: directive argument in the range [2, 2147483647] 339 | sprintf(num,"%1d",i+1); | ^~~~~ In file included from /usr/include/stdio.h:970, from f_load.c:22: In function ‘sprintf’, inlined from ‘update_recent_list’ at f_load.c:339:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 11 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f_load.c: In function ‘update_recent_list’: f_load.c:340:9: warning: ‘strncpy’ output may be truncated copying 1 byte from a string of length 2 [-Wstringop-truncation] 340 | strncpy(recent_files[i].name,num,1); | ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_ghostscript.o u_ghostscript.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' u_ghostscript.c: In function ‘gsexe_mediabox’: u_ghostscript.c:389:17: warning: ‘isnew’ may be used uninitialized [-Wmaybe-uninitialized] 389 | file_msg("Cannot open pipe with command:\n%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 390 | isnew ? exenew : exeold); | ~~~~~~~~~~~~~~~~~~~~~~~~ u_ghostscript.c:336:17: note: ‘isnew’ was declared here 336 | bool isnew; | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_readold.o f_readold.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_browse.o w_browse.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_spawn.o u_spawn.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_readppm.o f_readppm.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_neuclrtab.o f_neuclrtab.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_fonts.o u_fonts.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' u_fonts.c: In function ‘textextents’: u_fonts.c:330:41: warning: unused variable ‘glyph’ [-Wunused-variable] 330 | XftChar32 glyphs[len], *glyph; | ^~~~~ u_fonts.c:432:49: warning: unused variable ‘glyph’ [-Wunused-variable] 432 | XftChar32 glyphs[len], *glyph; | ^~~~~ u_fonts.c: In function ‘textlength’: u_fonts.c:490:27: warning: unused variable ‘chr’ [-Wunused-variable] 490 | XftChar8 *chr, *s = string; | ^~~ u_fonts.c:489:41: warning: unused variable ‘glyph’ [-Wunused-variable] 489 | XftChar32 glyphs[len], *glyph; | ^~~~~ u_fonts.c: In function ‘textmaxheight’: u_fonts.c:522:41: warning: unused variable ‘glyph’ [-Wunused-variable] 522 | XftChar32 glyphs[len], *glyph; | ^~~~~ u_fonts.c: In function ‘map_symbols’: u_fonts.c:896:38: warning: ‘/*’ within comment [-Wcomment] 896 | /* case 0x57: return 0x2126; /* OHM */ u_fonts.c:913:38: warning: ‘/*’ within comment [-Wcomment] 913 | /* case 0x44: return 0x2206; /* INCREMENT */ u_fonts.c:921:38: warning: ‘/*’ within comment [-Wcomment] 921 | /* case 0xA4: return 0x2215; /* DIVISION SLASH */ u_fonts.c: In function ‘adobe_charset’: u_fonts.c:980:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 980 | if (colon = strchr(fullname, ':')) | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_digitize.o w_digitize.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_capture.o w_capture.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' In function ‘getImageData’, inlined from ‘captureImage.part.0’ at w_capture.c:99:14: w_capture.c:318:24: warning: ‘numcols’ may be used uninitialized [-Wmaybe-uninitialized] 318 | colused[i] = 0; | ~~~~~~~~~~~^~~ w_capture.c: In function ‘captureImage.part.0’: w_capture.c:178:17: note: ‘numcols’ was declared here 178 | int numcols; | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_save.o f_save.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' f_save.c: In function ‘write_comments’: f_save.c:635:12: warning: ‘last’ may be used uninitialized [-Wmaybe-uninitialized] 635 | if (last != '\n') | ^ f_save.c:622:17: note: ‘last’ was declared here 622 | char last; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_bound.o u_bound.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' u_bound.c: In function ‘arrow_bound’: u_bound.c:631:20: warning: ‘q’ may be used uninitialized [-Wmaybe-uninitialized] 631 | p1y = q->y; | ~^~~ u_bound.c:610:25: note: ‘q’ was declared here 610 | F_point *p, *q; | ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_undo.o u_undo.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_create.o u_create.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_print.o u_print.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_elastic.o u_elastic.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_markers.o u_markers.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' u_markers.c: In function ‘toggle_splinehighlight’: u_markers.c:448:11: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] 448 | if (x != fx || y != fy) { | ~~^~~~~ u_markers.c:436:29: note: ‘x’ was declared here 436 | int fx, fy, x, y; | ^ u_markers.c:448:22: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized] 448 | if (x != fx || y != fy) { | ~~^~~~~ u_markers.c:436:32: note: ‘y’ was declared here 436 | int fx, fy, x, y; | ^ u_markers.c: In function ‘toggle_splinemarker’: u_markers.c:426:11: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] 426 | if (x != fx || y != fy) { | ~~^~~~~ u_markers.c:415:29: note: ‘x’ was declared here 415 | int fx, fy, x, y; | ^ u_markers.c:426:22: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized] 426 | if (x != fx || y != fy) { | ~~^~~~~ u_markers.c:415:32: note: ‘y’ was declared here 415 | int fx, fy, x, y; | ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_util.o f_util.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_geom.o u_geom.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_list.o u_list.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o f_read.o f_read.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o w_color.o w_color.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' w_color.c: In function ‘create_color_panel’: w_color.c:318:26: warning: variable ‘form_fg’ set but not used [-Wunused-but-set-variable] 318 | Pixel form_fg; | ^~~~~~~ w_color.c: In function ‘create_cell’: w_color.c:1358:19: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 5 [-Wformat-overflow=] 1358 | sprintf(labl,"%d", indx+NUM_STD_COLS); | ^~ w_color.c:1358:18: note: directive argument in the range [-2147483616, 2147483647] 1358 | sprintf(labl,"%d", indx+NUM_STD_COLS); | ^~~~ In file included from /usr/include/stdio.h:970, from w_color.c:67: In function ‘sprintf’, inlined from ‘create_cell’ at w_color.c:1358:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 12 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function ‘xyToWindowCmap’, inlined from ‘DoGrabPixel’ at w_color.c:2462:5, inlined from ‘lookup_color’ at w_color.c:1236:5: w_color.c:2567:9: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] 2567 | *nx = x; | ~~~~^~~ w_color.c: In function ‘lookup_color’: w_color.c:2451:9: note: ‘x’ was declared here 2451 | int x, y, nx, ny; | ^ In function ‘xyToWindowCmap’, inlined from ‘DoGrabPixel’ at w_color.c:2462:5, inlined from ‘lookup_color’ at w_color.c:1236:5: w_color.c:2568:9: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized] 2568 | *ny = y; | ~~~~^~~ w_color.c: In function ‘lookup_color’: w_color.c:2451:12: note: ‘y’ was declared here 2451 | int x, y, nx, ny; | ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strength-reduce -fno-strict-aliasing -c -o u_draw.o u_draw.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' In file included from u_draw.c:39: u_draw.c: In function ‘create_pic_pixmap’: f_picobj.h:58:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 58 | #define ABSOLUTE_PATH(internal) (*(internal) == '/' && *((internal)+1) == '/' \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c:998:33: note: in expansion of macro ‘ABSOLUTE_PATH’ 998 | ABSOLUTE_PATH(box->pic->pic_cache->file)); | ^~~~~~~~~~~~~ f_picobj.h:58:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 58 | #define ABSOLUTE_PATH(internal) (*(internal) == '/' && *((internal)+1) == '/' \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c:1003:33: note: in expansion of macro ‘ABSOLUTE_PATH’ 1003 | ABSOLUTE_PATH(box->pic->pic_cache->file)); | ^~~~~~~~~~~~~ f_picobj.h:58:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 58 | #define ABSOLUTE_PATH(internal) (*(internal) == '/' && *((internal)+1) == '/' \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c:1117:33: note: in expansion of macro ‘ABSOLUTE_PATH’ 1117 | ABSOLUTE_PATH(box->pic->pic_cache->file)); | ^~~~~~~~~~~~~ f_picobj.h:58:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 58 | #define ABSOLUTE_PATH(internal) (*(internal) == '/' && *((internal)+1) == '/' \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c:1125:37: note: in expansion of macro ‘ABSOLUTE_PATH’ 1125 | ABSOLUTE_PATH(box->pic->pic_cache->file)); | ^~~~~~~~~~~~~ u_draw.c: In function ‘draw_arcbox’: u_draw.c:830:29: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 830 | sprintf(bufx,"%d",i++); | ^ In file included from /usr/include/stdio.h:970, from /usr/include/freetype2/freetype/config/ftstdlib.h:112, from /usr/include/freetype2/freetype/config/ftconfig-64.h:41, from /usr/include/freetype2/freetype/config/ftconfig.h:9, from /usr/include/freetype2/freetype/freetype.h:24, from /usr/include/X11/Xft/Xft.h:41, from object.h:24, from u_draw.h:24, from u_draw.c:23: In function ‘sprintf’, inlined from ‘draw_arcbox’ at u_draw.c:830:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 11 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ u_draw.c: In function ‘draw_pic_pixmap’: u_draw.c:935:10: warning: ‘clipmask’ may be used uninitialized [-Wmaybe-uninitialized] 935 | if (clipmask) | ^ u_draw.c:856:21: note: ‘clipmask’ was declared here 856 | Pixmap clipmask; | ^~~~~~~~ u_draw.c: In function ‘clip_arrows’: u_draw.c:1659:9: warning: ‘mainregion’ may be used uninitialized [-Wmaybe-uninitialized] 1659 | XSetRegion(tool_d, gccache[op], mainregion); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c:1552:21: note: ‘mainregion’ was declared here 1552 | Region mainregion, newregion; | ^~~~~~~~~~ u_draw.c: In function ‘draw_line’: u_draw.c:775:33: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 775 | sprintf(bufx,"%d",i++); | ^ In function ‘sprintf’, inlined from ‘draw_line’ at u_draw.c:775:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 11 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ u_draw.c: In function ‘draw_spline’: u_draw.c:2164:29: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2164 | sprintf(bufx,"%d",i++); | ^ In function ‘sprintf’, inlined from ‘draw_spline’ at u_draw.c:2164:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 11 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ RPM build errors: make[1]: *** [Makefile:543: all-recursive] Error 1 make: *** [Makefile:396: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.KHzUOF (%build) Bad exit status from /var/tmp/rpm-tmp.KHzUOF (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 4b3e3bb7620247678e981dbc82749483 -D /var/lib/mock/f42-build-59155557-6571348/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xfig.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 4b3e3bb7620247678e981dbc82749483 -D /var/lib/mock/f42-build-59155557-6571348/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.vd8eslva:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xfig.spec'