Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xcircuit.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674041967.682618/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.39hhyh85:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.39hhyh85:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '78365f84d6a849b7bd63788e38d85377', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674041967.682618/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.39hhyh85:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/xcircuit.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/xcircuit-3.10.30-5.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xcircuit.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674041967.682618/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.39hhyh85:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.39hhyh85:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '7ca90d0578af4bc98a76deb843e1b630', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674041967.682618/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.39hhyh85:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/xcircuit.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qBCHPu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xcircuit-3.10.30 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xcircuit-3.10.30.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd xcircuit-3.10.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xcircuit-3.9.40-format-security.patch):' Patch #0 (xcircuit-3.9.40-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file svg.c Hunk #1 succeeded at 1133 (offset 25 lines). patching file tclxcircuit.c Hunk #1 succeeded at 3877 (offset 1 line). Hunk #2 succeeded at 7404 (offset 110 lines). Hunk #3 succeeded at 7490 (offset 110 lines). Hunk #4 succeeded at 7507 (offset 110 lines). + sed -i lib/tcl/tkcon.tcl -e 's|package require -exact|package require|' + sed -i Makefile.am -e 's|/lib/|/lib64/|' + autoreconf autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:7: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:7: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:7: the top level configure.in:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from... configure.in:14: the top level configure.in:44: warning: The macro `AC_ISC_POSIX' is obsolete. configure.in:44: You should run autoupdate. ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from... configure.in:44: the top level configure.in:78: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:78: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:78: the top level configure.in:104: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:104: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:104: the top level configure.in:116: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:116: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:116: the top level configure.in:129: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:129: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.in:129: the top level configure.in:143: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:143: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:143: the top level configure.in:1068: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:1068: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... configure.in:1068: the top level configure.in:1154: warning: AC_OUTPUT should be used without arguments. configure.in:1154: You should run autoupdate. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:14: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation Makefile.am:93: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' Xw/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') asg/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') spiceparser/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + sed -i Makefile.in -e 's|LD_RUN_PATH =|LD_RUN_PATH_DIE =|' + sed -i examples/xc_remote.sh -e 's|/usr/local/bin|/usr/bin|' + chmod ugo-x lib/tcl/console.tcl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6EitvV + umask 022 + cd /builddir/build/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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 xcircuit-3.10.30 + export WISH=/usr/bin/wish + WISH=/usr/bin/wish + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 --- ./configure.backup 2023-01-18 11:41:16.373659072 +0000 +++ ./configure 2023-01-18 11:41:16.785662681 +0000 @@ -2020,7 +2020,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 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=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-tcl=/usr/lib64 --with-tk=/usr/lib64 checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/xcircuit-3.10.30/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/xcircuit-3.10.30/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 whether make sets $(MAKE)... (cached) yes checking for x86_64-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 library containing strerror... none required checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gm4... no checking for gnum4... no checking for m4... /usr/bin/m4 checking for sin in -lm... yes 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 size of void *... 8 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XtToolkitInitialize in -lXt... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for setenv... yes checking for putenv... yes checking for vfork... yes checking for dirent.h... yes checking for 64-bit X11 libraries... checking for /usr/X11R6/lib64... no checking if -Wno-pointer-sign accepted in CFLAGS... yes checking for deflate in -lz... yes checking for va_copy... yes checking for __va_copy... yes checking if u_char defined... yes checking for X11/xpm.h... yes checking for XpmCreateImageFromData in -lXpm... yes checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for cairo... yes checking for fontconfig... yes checking for ghostscript/gdevdsp.h... yes checking for tclConfig.sh... /usr/lib64/tclConfig.sh checking for tkConfig.sh... /usr/lib64/tkConfig.sh checking for wish executable... /usr/bin/wish checking for gs... gs checking for ngspice... ngspice checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Xw/Makefile config.status: creating asg/Makefile config.status: creating spiceparser/Makefile config.status: executing depfiles commands Configuration results: ---------------------------------------------------- Using Tcl/Tk interface Using Cairo graphics 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC + make -j2 Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' make tcl make[1]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' Making tcl library object list=''; for subdir in $list; do \ test "$subdir" = . || (echo "Making tcl in $subdir"; \ cd $subdir && make ) \ done make lib/tcl/xcircuit.so make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o menudep.o menudep.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o elements.o elements.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o events.o events.c elements.c:57:15: warning: declaration of built-in function 'atan2' without a prototype; expected 'double(double, double)' [-Wbuiltin-declaration-mismatch] 57 | extern double atan2(); | ^~~~~ In file included from elements.c:31: elements.c: In function 'splinebutton': elements.c:1144:9: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 1144 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ elements.c: In function 'arcbutton': elements.c:1292:9: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 1292 | (xcEventHandler)trackarc, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ elements.c: In function 'boxbutton': elements.c:1410:9: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 1410 | (xcEventHandler)trackbox, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ elements.c: In function 'startwire': elements.c:1520:11: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 1520 | (xcEventHandler)trackwire, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ elements.c: In function 'wire_op': elements.c:2300:10: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 2300 | (xcEventHandler)trackwire, NULL); | ^ xcircuit.h:1128:67: note: in definition of macro 'xcRemoveEventHandler' 1128 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ In file included from events.c:42: events.c: In function 'pathedit': events.c:3599:13: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3599 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ events.c:3631:13: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3631 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ events.c:3664:16: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3664 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ events.c:3695:13: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 3695 | (xcEventHandler)trackarc, NULL); | ^ xcircuit.h:1127:67: note: in definition of macro 'xcAddEventHandler' 1127 | #define xcAddEventHandler(a,b,c,d,e) Tk_CreateEventHandler(a,b,d,e) | ^ events.c: In function 'path_op': events.c:6031:25: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6031 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1128:67: note: in definition of macro 'xcRemoveEventHandler' 1128 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6069:16: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6069 | (xcEventHandler)trackbox, NULL); | ^ xcircuit.h:1128:67: note: in definition of macro 'xcRemoveEventHandler' 1128 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6150:20: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6150 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1128:67: note: in definition of macro 'xcRemoveEventHandler' 1128 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6248:16: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6248 | (xcEventHandler)trackarc, NULL); | ^ xcircuit.h:1128:67: note: in definition of macro 'xcRemoveEventHandler' 1128 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c:6338:21: warning: cast between incompatible function types from 'void (*)(struct Tk_Window_ *, char *, char *)' to 'void (*)(void *, XEvent *)' [-Wcast-function-type] 6338 | (xcEventHandler)trackelement, NULL); | ^ xcircuit.h:1128:67: note: in definition of macro 'xcRemoveEventHandler' 1128 | #define xcRemoveEventHandler(a,b,c,d,e) Tk_DeleteEventHandler(a,b,d,e) | ^ events.c: In function 'functiondispatch': events.c:2181:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 2181 | if (areawin->topinstance == xobjs.libtop[LIBLIB]) break; | ^ events.c:2182:7: note: here 2182 | case XCF_Move: | ^~~~ elements.c: In function 'updatepath': elements.c:1203:29: warning: 'cptr' may be used uninitialized [-Wmaybe-uninitialized] 1203 | addcycle(ngen, 0, cptr->flags & (EDITX | EDITY)); | ~~~~^~~~~~~ elements.c:1165:17: note: 'cptr' was declared here 1165 | pointselect *cptr; | ^~~~ elements.c: In function 'join': elements.c:2092:26: warning: 'polytype' may be used uninitialized [-Wmaybe-uninitialized] 2092 | (*newpoly)->style = polytype; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ elements.c:1938:46: note: 'polytype' was declared here 1938 | short numpolys, numlabels, numpoints, polytype; | ^~~~~~~~ elements.c:2137:25: warning: 'polycolor' may be used uninitialized [-Wmaybe-uninitialized] 2137 | (*newpath)->color = polycolor; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ elements.c:1939:14: note: 'polycolor' was declared here 1939 | int polycolor; | ^~~~~~~~~ elements.c:2138:25: warning: 'polywidth' may be used uninitialized [-Wmaybe-uninitialized] 2138 | (*newpath)->width = polywidth; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ elements.c:1940:14: note: 'polywidth' was declared here 1940 | float polywidth; | ^~~~~~~~~ elements.c:2120:32: warning: 'testpoint' may be used uninitialized [-Wmaybe-uninitialized] 2120 | testpoint2->x = testpoint->x; | ~~~~~~~~~^~~ elements.c:1941:15: note: 'testpoint' was declared here 1941 | XPoint *testpoint, *testpoint2, *begpoint, *endpoint, arcpoint[4]; | ^~~~~~~~~ events.c: In function 'checkcycle': events.c:1248:7: warning: 'tmppt' may be used uninitialized [-Wmaybe-uninitialized] 1248 | if (tmppt >= 0) { /* Ignore nonexistent cycles */ | ^ events.c:1202:10: note: 'tmppt' was declared here 1202 | short tmppt, points; | ^~~~~ events.c:1250:28: warning: 'points' may be used uninitialized [-Wmaybe-uninitialized] 1250 | if (tmppt < 0) tmppt += points; | ^~ events.c:1202:17: note: 'points' was declared here 1202 | short tmppt, points; | ^~~~~~ events.c: In function 'printpos': events.c:2844:22: warning: 'lwid' may be used uninitialized [-Wmaybe-uninitialized] 2844 | f2 = ((float)(lwid) * iscale * oscale) / IN_CM_CONVERT; | ^~~~~~~~~~~~~ events.c:2722:14: note: 'lwid' was declared here 2722 | int llen, lwid; | ^~~~ events.c: In function 'pathclosepoint': events.c:3061:11: warning: 'rpoint' may be used uninitialized [-Wmaybe-uninitialized] 3061 | return rpoint; | ^~~~~~ events.c:3024:12: note: 'rpoint' was declared here 3024 | XPoint *rpoint; | ^~~~~~ events.c: In function 'elementrescale': events.c:3364:7: warning: 'oldsize' may be used uninitialized [-Wmaybe-uninitialized] 3364 | register_for_undo(XCF_Rescale, UNDO_MORE, areawin->topinstance, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3365 | SELTOGENERIC(selectobj), (double)oldsize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events.c:3343:10: note: 'oldsize' was declared here 3343 | float oldsize; | ^~~~~~~ events.c: In function 'xc_lower': events.c:3840:11: warning: 'botidx' may be used uninitialized [-Wmaybe-uninitialized] 3840 | (*botidx)--; | ~^~~~~~~~ events.c:3813:33: note: 'botidx' was declared here 3813 | short *sel, botsel, minsel, *botidx, limit, *orderlist, i; | ^~~~~~ events.c: In function 'printname': events.c:4480:30: warning: '%d' directive writing between 1 and 6 bytes into a region of size 5 [-Wformat-overflow=] 4480 | sprintf(pagestr, " (p. %d)", areawin->page + 1); | ^~ events.c:4480:24: note: directive argument in the range [-32767, 32768] 4480 | sprintf(pagestr, " (p. %d)", areawin->page + 1); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:906, from events.c:10: In function 'sprintf', inlined from 'printname' at events.c:4480:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 13 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 ()); | ~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o filelist.o filelist.c filelist.c: In function 'genfilelist': filelist.c:784:36: warning: variable 'entertext' set but not used [-Wunused-but-set-variable] 784 | xcWidget listarea, lscroll, entertext; | ^~~~~~~~~ filelist.c: In function 'findcrashfiles': filelist.c:267:25: warning: '%s' directive writing up to 255 bytes into a region of size 149 [-Wformat-overflow=] 267 | sprintf(_STR, "%s/%s", xobjs.tempdir, dp->d_name); | ^~ In file included from /usr/include/stdio.h:906, from filelist.c:6: In function 'sprintf', inlined from 'findcrashfiles' at filelist.c:267:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ filelist.c: In function 'listfiles': filelist.c:444:31: warning: '%s' directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=] 444 | sprintf(_STR2, "%s%s", cwdname, dp->d_name); | ^~ In function 'sprintf', inlined from 'listfiles' at filelist.c:444:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 1 or more bytes (assuming 256) into a destination of size 250 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o files.o files.c files.c: In function 'importgraphic': files.c:1922:10: warning: unused variable 'spcfile' [-Wunused-variable] 1922 | FILE *spcfile; | ^~~~~~~ files.c: In function 'loadfile': files.c:2350:30: warning: the comparison will always evaluate as 'true' for the address of 'teststr2' will never be NULL [-Waddress] 2350 | if ((teststr2 != NULL) && (!strcmp(teststr2, "scale"))) | ^~ files.c:2028:22: note: 'teststr2' declared here 2028 | char teststr[50], teststr2[20], pagestr[100]; | ^~~~~~~~ files.c:2437:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2437 | else | ^~~~ files.c:2441:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2441 | if ((pdchar = strrchr(topobject->name, '.')) != NULL) { | ^~ files.c: In function 'readlabel': files.c:2723:17: warning: unused variable 'cval' [-Wunused-variable] 2723 | int cval, cindex; | ^~~~ files.c: In function 'objectread': files.c:4481:43: warning: use of 'h' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 4481 | sscanf(lineptr, "%*s %hd %hf %hd %hd", &(*newlabel)->anchor, | ^ files.c:3679:10: warning: unused variable 'widthkey' [-Wunused-variable] 3679 | char *widthkey = NULL; | ^~~~~~~~ files.c: In function 'savetechnology': files.c:5183:10: warning: unused variable 'loctechnology' [-Wunused-variable] 5183 | char *loctechnology; | ^~~~~~~~~~~~~ files.c: In function 'savefile': files.c:5635:44: warning: format '%f' expects argument of type 'double', but argument 3 has type 'char *' [-Wformat=] 5635 | fprintf(ps, "%%%%Creator: XCircuit v%2.1f rev%d\n", PROG_VERSION, PROG_REVISION); | ~~~~^ | | | double | %2.1s files.c:5635:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'char *' [-Wformat=] 5635 | fprintf(ps, "%%%%Creator: XCircuit v%2.1f rev%d\n", PROG_VERSION, PROG_REVISION); | ~^ | | | int | %s files.c:5566:16: warning: unused variable 'j' [-Wunused-variable] 5566 | int findex, j; | ^ files.c:5560:64: warning: unused variable 'ascbuf' [-Wunused-variable] 5560 | char outname[150], temp[150], prologue[150], *fname, *fptr, ascbuf[6]; | ^~~~~~ files.c:5559:21: warning: unused variable 'enc' [-Wunused-variable] 5559 | FILE *ps, *pro, *enc; | ^~~ files.c: In function 'printRGBvalues': files.c:6012:8: warning: unused variable 'i' [-Wunused-variable] 6012 | int i; | ^ files.c: In function 'writesegment': files.c:6217:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 6217 | sprintf(_STR, ""); | ^~ files.c: In function 'printparams': files.c:6439:16: warning: unused variable 'deflt_expr' [-Wunused-variable] 6439 | char *deflt_expr = NULL; | ^~~~~~~~~~ files.c:6438:18: warning: unused variable 'nondefault' [-Wunused-variable] 6438 | Boolean nondefault = TRUE; | ^~~~~~~~~~ files.c: In function 'skiptocomment': files.c:1957:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1957 | if (pch == '%') fgets(temp, length, ps); | ^~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'loadfile': files.c:2324:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2324 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ files.c:2380:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2380 | fgets(endptr, 149, ps); | ^~~~~~~~~~~~~~~~~~~~~~ files.c:2408:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2408 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ files.c: In function 'readimagedata': files.c:3540:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3540 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ files.c:3550:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3550 | fgets(temp, 149, ps); /* Additional piped filter lines */ | ^~~~~~~~~~~~~~~~~~~~ files.c:3552:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3552 | fgets(temp, 149, ps); /* Initial data line */ | ^~~~~~~~~~~~~~~~~~~~ files.c:3568:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3568 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ files.c:3587:19: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3587 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ files.c:3604:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3604 | fgets(temp, 149, ps); | ^~~~~~~~~~~~~~~~~~~~ files.c:3658:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3658 | fgets(temp, 149, ps); /* definition line */ | ^~~~~~~~~~~~~~~~~~~~ files.c:3659:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3659 | fgets(temp, 149, ps); /* pick up name of image from here */ | ^~~~~~~~~~~~~~~~~~~~ files.c:3663:28: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3663 | for (x = 0; x < 5; x++) fgets(temp, 149, ps); /* skip image dictionary */ | ^~~~~~~~~~~~~~~~~~~~ files.c: In function 'getlib': files.c:1115:4: warning: 'savebutton' is used uninitialized [-Wuninitialized] 1115 | popupprompt(button, "Enter library to load:", "\0", loadblib, savebutton, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1116 | "lps"); | ~~~~~~ files.c:1111:16: note: 'savebutton' was declared here 1111 | buttonsave *savebutton; | ^~~~~~~~~~ files.c: In function 'getuserlib': files.c:1128:4: warning: 'savebutton' is used uninitialized [-Wuninitialized] 1128 | popupprompt(button, "Enter library to load:", "\0", loadulib, savebutton, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1129 | "lps"); | ~~~~~~ files.c:1123:16: note: 'savebutton' was declared here 1123 | buttonsave *savebutton; | ^~~~~~~~~~ events.c: In function 'nextpathcycle': events.c:1337:52: warning: 'curpt' may be used uninitialized [-Wmaybe-uninitialized] 1337 | if ((thispoly->points + cycle)->x == curpt->x && | ~~~~~^~~ events.c:1265:12: note: 'curpt' was declared here 1265 | XPoint *curpt; | ^~~~~ events.c: In function 'pathedit': events.c:3566:16: warning: 'dist' may be used uninitialized [-Wmaybe-uninitialized] 3566 | if (dist < mindist) { | ^ events.c:3544:24: note: 'dist' was declared here 3544 | int mincycle, dist, mindist = 1e6; | ^~~~ events.c:3578:16: warning: 'mincycle' may be used uninitialized [-Wmaybe-uninitialized] 3578 | makerefcycle(lastpoly->cycle, mincycle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events.c:3544:14: note: 'mincycle' was declared here 3544 | int mincycle, dist, mindist = 1e6; | ^~~~~~~~ events.c:3601:25: warning: 'savept' may be used uninitialized [-Wmaybe-uninitialized] 3601 | printpos(savept->x, savept->y); | ~~~~~~^~~ events.c:3520:12: note: 'savept' was declared here 3520 | XPoint *savept; | ^~~~~~ files.c: In function 'elemcompare': files.c:560:11: warning: 'bres' may be used uninitialized [-Wmaybe-uninitialized] 560 | return bres; | ^~~~ files.c:521:12: note: 'bres' was declared here 521 | Boolean bres; | ^~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o flate.o flate.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o fontfile.o fontfile.c files.c: In function 'libopen': files.c:1275:32: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1275 | sprintf(inname, "%s/%s", tmp_s, expname); | ^ In file included from /usr/include/stdio.h:906, from files.c:6: In function 'sprintf', inlined from 'libopen' at files.c:1275:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 151) into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ files.c: In function 'libopen': files.c:1278:35: warning: '%s' directive writing 4 bytes into a region of size between 0 and 149 [-Wformat-overflow=] 1278 | sprintf(inname, "%s/%s%s", tmp_s, expname, suffix); | ^~ In function 'sprintf', inlined from 'libopen' at files.c:1278:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 6 or more bytes (assuming 155) into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ files.c: In function 'libopen': files.c:1286:30: warning: '%s' directive writing up to 149 bytes into a region of size 125 [-Wformat-overflow=] 1286 | sprintf(inname, "%s/%s", BUILTINS_DIR, expname); | ^~ ~~~~~~~ In function 'sprintf', inlined from 'libopen' at files.c:1286:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 26 and 175 bytes into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ files.c: In function 'libopen': files.c:1289:33: warning: '%s' directive writing up to 149 bytes into a region of size 125 [-Wformat-overflow=] 1289 | sprintf(inname, "%s/%s%s", BUILTINS_DIR, expname, suffix); | ^~ ~~~~~~~ In function 'sprintf', inlined from 'libopen' at files.c:1289:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 30 and 179 bytes into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ files.c: In function 'readlabel': files.c:2639:11: warning: 'endptr' may be used uninitialized [-Wmaybe-uninitialized] 2639 | while (*segptr != '\0') { /* Look through all segments */ | ^~~~~~~ files.c:2634:10: note: 'endptr' was declared here 2634 | char *endptr, *segptr = lineptr; | ^~~~~~ files.c: In function 'readparams': files.c:3039:23: warning: 'objops' may be used uninitialized [-Wmaybe-uninitialized] 3039 | newops->type = (newinst) ? objops->type : (u_char)XC_FLOAT; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c:2858:22: note: 'objops' was declared here 2858 | oparamptr newops, objops, fops; | ^~~~~~ files.c:2979:24: warning: 'substrend' may be used uninitialized [-Wmaybe-uninitialized] 2979 | *substrend = '\0'; | ~~~~~~~~~~~^~~~~~ files.c:2958:16: note: 'substrend' was declared here 2958 | char *substrend, *arraysave; | ^~~~~~~~~ In file included from files.c:38: xcircuit.h:86:18: warning: 'arraysave' may be used uninitialized [-Wmaybe-uninitialized] 86 | #define strdup Tcl_Strdup files.c:2958:28: note: 'arraysave' was declared here 2958 | char *substrend, *arraysave; | ^~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o formats.o formats.c formats.c: In function 'loadlgf': formats.c:352:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 352 | for (lineptr = temp; *lineptr != '\n'; lineptr++); *lineptr = '\0'; | ^~~ formats.c:352:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 352 | for (lineptr = temp; *lineptr != '\n'; lineptr++); *lineptr = '\0'; | ^ formats.c:409:22: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 409 | fgets(temp, 499, ps); | ^~~~~~~~~~~~~~~~~~~~ formats.c:71:26: warning: '.lgf' directive writing 4 bytes into a region of size between 1 and 150 [-Wformat-overflow=] 71 | sprintf(inname, "%s.lgf", _STR); | ^~~~ In file included from /usr/include/stdio.h:906, from formats.c:6: In function 'sprintf', inlined from 'loadlgf' at formats.c:71:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 154 bytes into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ formats.c: In function 'loadlgf': formats.c:74:29: warning: '.lfo' directive writing 4 bytes into a region of size between 1 and 150 [-Wformat-overflow=] 74 | sprintf(inname, "%s.lfo", _STR); | ^~~~ In function 'sprintf', inlined from 'loadlgf' at formats.c:74:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 154 bytes into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ formats.c: In function 'loadlgf': formats.c:436:83: warning: 'signals' may be used uninitialized [-Wmaybe-uninitialized] 436 | strptr->data.string = (char *)malloc(1 + strlen(signals[k])); | ^ formats.c:61:11: note: 'signals' was declared here 61 | char **signals; | ^~~~~~~ formats.c:413:36: warning: 'signets' may be used uninitialized [-Wmaybe-uninitialized] 413 | if (signets[k] == nval) { | ~~~~~~~^~~ formats.c:62:11: note: 'signets' was declared here 62 | short *signets; | ^~~~~~~ formats.c:397:44: warning: 'libobj' may be used uninitialized [-Wmaybe-uninitialized] 397 | (*newinst)->thisobject = *libobj; | ^~~~~~~ formats.c:63:15: note: 'libobj' was declared here 63 | objectptr *libobj; | ^~~~~~ files.c: In function 'objectread': files.c:4074:36: warning: 'newpath' may be used uninitialized [-Wmaybe-uninitialized] 4074 | NEW_SPLINE(newspline, (*newpath)); | ~^~~~~~~~~ files.c:3686:13: note: 'newpath' was declared here 3686 | pathptr *newpath; | ^~~~~~~ files.c:4426:16: warning: 'newgp' may be used uninitialized [-Wmaybe-uninitialized] 4426 | if ((newgp != NULL) && (*newgp != NULL)) { | ^ files.c:4379:25: note: 'newgp' was declared here 4379 | graphicptr *newgp; | ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o functions.o functions.c functions.c: In function 'converttocurve': functions.c:441:11: warning: unused variable 'newselect' [-Wunused-variable] 441 | short *newselect; | ^~~~~~~~~ functions.c:437:16: warning: unused variable 'ggen' [-Wunused-variable] 437 | genericptr *ggen; | ^~~~ functions.c: In function 'manhattanize': functions.c:1220:12: warning: variable 'curpt' set but not used [-Wunused-but-set-variable] 1220 | XPoint *curpt, *bpt, *bbpt, *fpt, *ffpt; | ^~~~~ functions.c: In function 'UDrawX': functions.c:2010:4: warning: implicit declaration of function 'UDrawXAt'; did you mean 'UDrawX'? [-Wimplicit-function-declaration] 2010 | UDrawXAt(&wpt); | ^~~~~~~~ | UDrawX functions.c: In function 'UDoLatex': functions.c:2950:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] 2950 | fprintf(f, "\\rotatebox{-%d}{", thislabel->rotation); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int double | %f functions.c: In function 'findsplinemin': functions.c:393:24: warning: 'ival' may be used uninitialized [-Wmaybe-uninitialized] 393 | tval = (float)(ival + 1) / (INTSEGS + 1); | ~~~~~~^~~~ functions.c:378:20: note: 'ival' was declared here 378 | short j, ival; | ^~~~ files.c: In function 'loadlibrary': files.c:1746:28: warning: '%s' directive writing up to 149 bytes into a region of size 144 [-Wformat-overflow=] 1746 | sprintf(temp, "fonts/%s", _STR); | ^~ ~~~~ In function 'sprintf', inlined from 'loadlibrary' at files.c:1746:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 156 bytes into a destination of size 150 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ files.c: In function 'loadfile': files.c:2116:39: warning: '%s' directive writing up to 149 bytes into a region of size 80 [-Wformat-overflow=] 2116 | sprintf(topobject->name, "%s", _STR); | ^~ ~~~~ In function 'sprintf', inlined from 'loadfile' at files.c:2116:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 150 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ functions.c: In function 'UGetRescaleBox': functions.c:2259:28: warning: 'newscale' may be used uninitialized [-Wmaybe-uninitialized] 2259 | float savescale, newscale; | ^~~~~~~~ files.c: In function 'printOneObject': files.c:6829:31: warning: 'img' may be used uninitialized [-Wmaybe-uninitialized] 6829 | fptr = strrchr(img->filename, '/'); | ~~~^~~~~~~~~~ files.c:6570:15: note: 'img' was declared here 6570 | Imagedata *img; | ^~~ functions.c: In function 'TopDoLatex': functions.c:3002:25: warning: '.tex' directive writing 4 bytes into a region of size between 1 and 100 [-Wformat-overflow=] 3002 | sprintf(filename, "%s.tex", filename); | ^~~~ In file included from /usr/include/stdio.h:906, from functions.c:10: In function 'sprintf', inlined from 'TopDoLatex' at functions.c:3002:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 104 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 5 overlaps destination object 'filename' [-Wrestrict] functions.c: In function 'TopDoLatex': functions.c:2981:9: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 2981 | char filename[100], extension[10], *dotptr; | ^~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o graphic.o graphic.c graphic.c: In function 'addnewimage': graphic.c:281:8: warning: unused variable 'screen' [-Wunused-variable] 281 | int screen = DefaultScreen(dpy); | ^~~~~~ graphic.c: In function 'gradient_field': graphic.c:446:24: warning: unused variable 'imax' [-Wunused-variable] 446 | int width, height, imax, x, y, i; | ^~~~ graphic.c: In function 'new_graphic': graphic.c:350:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 350 | else fgets(buf, 127, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:362:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | else fgets(buf, 127, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:374:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 374 | else fgets(buf, 127, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:386:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 386 | else fgets(buf, 127, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:391:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 391 | fread(&c, 1, 1, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:402:14: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 402 | fread(&r, 1, 1, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:403:14: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 403 | fread(&g, 1, 1, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:404:14: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 404 | fread(&b, 1, 1, fg); | ^~~~~~~~~~~~~~~~~~~ graphic.c:409:9: warning: 'iptr' may be used uninitialized [-Wmaybe-uninitialized] 409 | iptr->refcount++; | ~~~~^~~~~~~~~~ graphic.c:318:16: note: 'iptr' was declared here 318 | Imagedata *iptr; | ^~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o keybindings.o keybindings.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o libraries.o libraries.c libraries.c: In function 'libmoveobject': libraries.c:364:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 364 | for (; j < xobjs.userlibs[libsource].number; j++) | ^~~ libraries.c:367:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 367 | xobjs.userlibs[libsource].number--; | ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o netlist.o netlist.c In file included from netlist.c:47: netlist.c: In function 'select_invalidate_netlist': xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ netlist.c:372:29: note: in expansion of macro 'TOPOLY' 372 | if (!nonnetwork(TOPOLY(&gptr))) | ^~~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ netlist.c:376:18: note: in expansion of macro 'TOLABEL' 376 | if ((TOLABEL(&gptr))->pin == LOCAL || (TOLABEL(&gptr))->pin == GLOBAL) | ^~~~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ netlist.c:376:52: note: in expansion of macro 'TOLABEL' 376 | if ((TOLABEL(&gptr))->pin == LOCAL || (TOLABEL(&gptr))->pin == GLOBAL) | ^~~~~~~ xcircuit.h:198:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ netlist.c:380:18: note: in expansion of macro 'TOOBJINST' 380 | if ((TOOBJINST(&gptr))->thisobject->schemtype != NONETWORK) | ^~~~~~~~~ netlist.c: In function 'addportcall': netlist.c:2623:15: warning: variable 'cinst' set but not used [-Wunused-but-set-variable] 2623 | objinstptr cinst; | ^~~~~ netlist.c: In function 'ratsnest': netlist.c:3187:26: warning: variable 'sub_bus' set but not used [-Wunused-but-set-variable] 3187 | int i, netid, points, sub_bus, lbus; | ^~~~~~~ netlist.c: In function 'writehierarchy': netlist.c:4686:14: warning: variable 'portid' set but not used [-Wunused-but-set-variable] 4686 | int pnet, portid, length, plen, subnet, modlen; /* netid, (jdk) */ | ^~~~~~ libraries.c: In function 'composelib': libraries.c:935:11: warning: 'drawname' may be used uninitialized [-Wmaybe-uninitialized] 935 | (*drawname)->position.x = xpos + (width >> 1); | ~^~~~~~~~~~ libraries.c:779:14: note: 'drawname' was declared here 779 | labelptr *drawname; | ^~~~~~~~ libraries.c: In function 'copycat': libraries.c:1432:39: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1432 | sprintf((*newobj)->name, "_%s", oldobj->name); | ^ In file included from /usr/include/stdio.h:906, from libraries.c:10: In function 'sprintf', inlined from 'copycat' at libraries.c:1432:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 81 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libraries.c: In function 'copycat': libraries.c:1542:4: warning: 'newobj' may be used uninitialized [-Wmaybe-uninitialized] 1542 | addtoinstlist(USERLIB - LIBRARY, *newobj, FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libraries.c:1404:15: note: 'newobj' was declared here 1404 | objectptr *newobj, *curlib, oldobj; | ^~~~~~ netlist.c: In function 'promote_net': netlist.c:2068:15: warning: 'firstid' may be used uninitialized [-Wmaybe-uninitialized] 2068 | int netid, firstid, lbus; /* curid, (jdk) */ | ^~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o ngspice.o ngspice.c ngspice.c: In function 'start_spice': ngspice.c:161:31: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 161 | int std_in[2], std_out[2], ret; | ^~~ ngspice.c: In function 'send_to_spice': ngspice.c:222:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | write(pipeWrite, text, tlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ngspice.c:224:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | write(pipeWrite, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ngspice.c: In function 'resume_spice': ngspice.c:389:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 389 | write(pipeWrite, "resume\n", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlist.c: In function 'mergenets': netlist.c:2374:11: warning: 'merged' may be used uninitialized [-Wmaybe-uninitialized] 2374 | return merged; | ^~~~~~ netlist.c:2367:12: note: 'merged' was declared here 2367 | Boolean merged; | ^~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o render.o render.c netlist.c: In function 'makelocalpins': netlist.c:2853:31: warning: 'locpin' may be used uninitialized [-Wmaybe-uninitialized] 2853 | netnames->localpin = stringcopy(locpin); | ^~~~~~~~~~~~~~~~~~ netlist.c:2830:16: note: 'locpin' was declared here 2830 | stringpart *locpin; | ^~~~~~ netlist.c:2847:13: warning: 'locnet' may be used uninitialized [-Wmaybe-uninitialized] 2847 | if (netnames->netid == locnet) | ^ netlist.c:2831:8: note: 'locnet' was declared here 2831 | int locnet, callnet; | ^~~~~~ netlist.c: In function 'pintonet': netlist.c:3157:14: warning: 'tmplist' may be used uninitialized [-Wmaybe-uninitialized] 3157 | return tmplist; /* Returns list with partial entries */ | ^~~~~~~ netlist.c:3116:26: note: 'tmplist' was declared here 3116 | Genericlist netlist, *tmplist; | ^~~~~~~ netlist.c: In function 'gennetlist': netlist.c:791:25: warning: 'netlist' may be used uninitialized [-Wmaybe-uninitialized] 791 | if (netlist == NULL) { | ^ netlist.c:581:17: note: 'netlist' was declared here 581 | Genericlist *netlist, *tmplist, *buspins, *resolved_net, newlist; | ^~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o selection.o selection.c netlist.c: In function 'genprefixlist': netlist.c:3484:22: warning: 'cinst' may be used uninitialized [-Wmaybe-uninitialized] 3484 | strptr = findtextinstring(":", &locpos, plabel->string, cinst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlist.c:3475:15: note: 'cinst' was declared here 3475 | objinstptr cinst; | ^~~~~ selection.c: In function 'advancecycle': selection.c:660:10: warning: unused variable 'cycles' [-Wunused-variable] 660 | short cycles = 0; | ^~~~~~ selection.c: In function 'removecycle': selection.c:744:17: warning: unused variable 'pptr' [-Wunused-variable] 744 | pointselect *pptr, **cycptr = NULL; | ^~~~ selection.c: In function 'selectarea': selection.c:977:41: warning: unused variable 'hheight' [-Wunused-variable] 977 | int locpos, cx, cy, hwidth, hheight; | ^~~~~~~ selection.c:977:33: warning: unused variable 'hwidth' [-Wunused-variable] 977 | int locpos, cx, cy, hwidth, hheight; | ^~~~~~ selection.c:977:29: warning: unused variable 'cy' [-Wunused-variable] 977 | int locpos, cx, cy, hwidth, hheight; | ^~ selection.c:977:25: warning: unused variable 'cx' [-Wunused-variable] 977 | int locpos, cx, cy, hwidth, hheight; | ^~ selection.c: In function 'reset_cycles': selection.c:1639:12: warning: unused variable 'cpoly' [-Wunused-variable] 1639 | polyptr cpoly; | ^~~~~ selection.c: In function 'pathselect': selection.c:351:48: warning: 'newdist' may be used uninitialized [-Wmaybe-uninitialized] 351 | if ((!(TOARC(curgen)->style & UNCLOSED)) && (newdist > sqrwirelim)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ selection.c:328:17: note: 'newdist' was declared here 328 | long newdist; | ^~~~~~~ selection.c: In function 'checkforcycles': selection.c:436:10: warning: 'cycptr' may be used uninitialized [-Wmaybe-uninitialized] 436 | if (cycptr != NULL) | ^ selection.c:417:17: note: 'cycptr' was declared here 417 | pointselect *cycptr; | ^~~~~~ selection.c: In function 'addcycle': selection.c:505:14: warning: 'cycptr' may be used uninitialized [-Wmaybe-uninitialized] 505 | if (*cycptr == NULL) { | ^~~~~~~ selection.c:477:25: note: 'cycptr' was declared here 477 | pointselect *pptr, **cycptr; | ^~~~~~ selection.c:533:11: warning: 'pptr' may be used uninitialized [-Wmaybe-uninitialized] 533 | return pptr; | ^~~~ selection.c:477:17: note: 'pptr' was declared here 477 | pointselect *pptr, **cycptr; | ^~~~ netlist.c: In function 'ratsnest': netlist.c:3260:25: warning: 'newpoly' may be used uninitialized [-Wmaybe-uninitialized] 3260 | poly_add_point(*newpoly, &portpos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlist.c:3185:20: note: 'newpoly' was declared here 3185 | polyptr ppoly, *newpoly; | ^~~~~~~ selection.c: In function 'advancecycle': selection.c:685:8: warning: 'cycptr' may be used uninitialized [-Wmaybe-uninitialized] 685 | if (*cycptr == NULL) return; | ^~~~~~~ selection.c:659:43: note: 'cycptr' was declared here 659 | pointselect *pptr, *endptr, *fcycle, **cycptr, tmpcyc; | ^~~~~~ selection.c: In function 'areaelement': selection.c:964:11: warning: 'selected' may be used uninitialized [-Wmaybe-uninitialized] 964 | return selected; | ^~~~~~~~ selection.c:919:12: note: 'selected' was declared here 919 | Boolean selected; | ^~~~~~~~ selection.c: In function 'recurse_select_element': selection.c:1707:28: warning: 'jlast' may be used uninitialized [-Wmaybe-uninitialized] 1707 | for (k = jlast; k < areawin->selects; k++) | ~~^~~~~~~~~~~~~~~~~~ selection.c:1657:24: note: 'jlast' was declared here 1657 | int i, j, k, ilast, jlast; | ^~~~~ netlist.c: In function 'updatenets': netlist.c:5418:7: warning: 'thisinst' may be used uninitialized [-Wmaybe-uninitialized] 5418 | createnets(thisinst, quiet); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ netlist.c:5384:15: note: 'thisinst' was declared here 5384 | objinstptr thisinst; | ^~~~~~~~ netlist.c:5420:32: warning: 'ssave' may be used uninitialized [-Wmaybe-uninitialized] 5420 | areawin->selectlist = regen_selection(areawin->topinstance, ssave); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlist.c:5405:19: note: 'ssave' was declared here 5405 | uselection *ssave; | ^~~~~ selection.c: In function 'selectarea': selection.c:1158:11: warning: 'selected' may be used uninitialized [-Wmaybe-uninitialized] 1158 | return selected; | ^~~~~~~~ selection.c:975:17: note: 'selected' was declared here 975 | Boolean selected; | ^~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o svg.o svg.c svg.c: In function 'SVGCreateImages': svg.c:206:7: warning: unused variable 'pixel' [-Wunused-variable] 206 | } pixel; | ^~~~~ svg.c: In function 'SVGDrawObject': svg.c:438:17: warning: variable 'tmpwidth' set but not used [-Wunused-but-set-variable] 438 | float tmpwidth; | ^~~~~~~~ svg.c: In function 'SVGDrawString': svg.c:549:40: warning: unused variable 'scolor' [-Wunused-variable] 549 | int pos, defaultcolor, curcolor, scolor; | ^~~~~~ svg.c: In function 'xctcl_svg': svg.c:1138:71: warning: the comparison will always evaluate as 'false' for the address of 'name' will never be NULL [-Waddress] 1138 | else if (xobjs.pagelist[areawin->page]->pageinst->thisobject->name == NULL) | ^~ In file included from svg.c:40: xcircuit.h:1046:17: note: 'name' declared here 1046 | char name[80]; | ^~~~ svg.c: In function 'svg_blendcolor': svg.c:108:18: warning: 'bred' may be used uninitialized [-Wmaybe-uninitialized] 108 | bred = ((bred * amount) + (255 * (8 - amount))) >> 3; | ~~~~~~^~~~~~~~~ svg.c:93:11: note: 'bred' was declared here 93 | int i, bred, bgreen, bblue; | ^~~~ svg.c:109:22: warning: 'bgreen' may be used uninitialized [-Wmaybe-uninitialized] 109 | bgreen = ((bgreen * amount) + (255 * (8 - amount))) >> 3; | ~~~~~~~~^~~~~~~~~ svg.c:93:17: note: 'bgreen' was declared here 93 | int i, bred, bgreen, bblue; | ^~~~~~ svg.c:110:20: warning: 'bblue' may be used uninitialized [-Wmaybe-uninitialized] 110 | bblue = ((bblue * amount) + (255 * (8 - amount))) >> 3; | ~~~~~~~^~~~~~~~~ svg.c:93:25: note: 'bblue' was declared here 93 | int i, bred, bgreen, bblue; | ^~~~~ svg.c: In function 'SVGDrawGraphic': svg.c:286:24: warning: 'img' may be used uninitialized [-Wmaybe-uninitialized] 286 | strcpy(outname, img->filename); | ~~~^~~~~~~~~~ svg.c:271:16: note: 'img' was declared here 271 | Imagedata *img; | ^~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o text.o text.c svg.c: In function 'SVGDrawString': svg.c:924:39: warning: 'ffont' may be used uninitialized [-Wmaybe-uninitialized] 924 | objectptr drawchar = fonts[ffont].encoding[(u_char)32]; | ^ svg.c:548:19: note: 'ffont' was declared here 548 | short fstyle, ffont, tmpanchor, baseline, deltay; | ^~~~~ text.c:560:14: warning: 'nonprinttex' defined but not used [-Wunused-variable] 560 | static char *nonprinttex[] = { | ^~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o undo.o undo.c undo.c: In function 'free_undo_data': undo.c:1627:17: warning: variable 'erec' set but not used [-Wunused-but-set-variable] 1627 | editelement *erec; | ^~~~ text.c: In function 'break_up_bus': text.c:1102:33: warning: 'matched' may be used uninitialized [-Wmaybe-uninitialized] 1102 | return (matched == 0) ? NULL : subnets; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ text.c:1015:38: note: 'matched' was declared here 1015 | int istart, iend, i, j, netstart, matched; | ^~~~~~~ text.c: In function 'stringcopyall': text.c:1295:29: warning: 'topend' may be used uninitialized [-Wmaybe-uninitialized] 1295 | else topend->nextpart = newpart; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ text.c:1287:44: note: 'topend' was declared here 1287 | stringpart *strptr, *newpart, *newtop, *topend; | ^~~~~~ text.c:1305:11: warning: 'newtop' may be used uninitialized [-Wmaybe-uninitialized] 1305 | return newtop; | ^~~~~~ text.c:1287:35: note: 'newtop' was declared here 1287 | stringpart *strptr, *newpart, *newtop, *topend; | ^~~~~~ text.c: In function 'stringcopyback': text.c:1341:28: warning: 'curtop' may be used uninitialized [-Wmaybe-uninitialized] 1341 | if (need_free) freelabel(curtop); | ^~~~~~~~~~~~~~~~~ text.c:1316:25: note: 'curtop' was declared here 1316 | stringpart *rettop, *curtop, *savend = NULL; | ^~~~~~ text.c:1341:16: warning: 'need_free' may be used uninitialized [-Wmaybe-uninitialized] 1341 | if (need_free) freelabel(curtop); | ^ text.c:1319:12: note: 'need_free' was declared here 1319 | Boolean need_free; | ^~~~~~~~~ text.c:1407:11: warning: 'rettop' may be used uninitialized [-Wmaybe-uninitialized] 1407 | return rettop; | ^~~~~~ text.c:1316:16: note: 'rettop' was declared here 1316 | stringpart *rettop, *curtop, *savend = NULL; | ^~~~~~ text.c: In function 'ULength': text.c:1925:19: warning: 'tbreak.x' may be used uninitialized [-Wmaybe-uninitialized] 1925 | tbreak.x -= 0.5 * tlinfo->padding[linenum]; | ^~ text.c:1889:11: note: 'tbreak.x' was declared here 1889 | XPoint tbreak; | ^~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o tkSimple.o tkSimple.c text.c: In function 'UDrawString0': text.c:1818:20: warning: 'fstyle' may be used uninitialized [-Wmaybe-uninitialized] 1818 | UDrawCharString(textptr, 0, strlen(textptr), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1819 | &newpoint, fstyle, ffont, group, scolor, tmpscale); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:1501:11: note: 'fstyle' was declared here 1501 | short fstyle, ffont, tmpanchor; | ^~~~~~ text.c:1818:20: warning: 'ffont' may be used uninitialized [-Wmaybe-uninitialized] 1818 | UDrawCharString(textptr, 0, strlen(textptr), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1819 | &newpoint, fstyle, ffont, group, scolor, tmpscale); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:1501:19: note: 'ffont' was declared here 1501 | short fstyle, ffont, tmpanchor; | ^~~~~ text.c:1721:55: warning: 'oldfont' may be used uninitialized [-Wmaybe-uninitialized] 1721 | cairo_set_font_face(areawin->cr, fonts[oldfont].font_face); | ^ text.c:1506:11: note: 'oldfont' was declared here 1506 | short oldfont, oldstyle; | ^~~~~~~ text.c: In function 'joinlabels': text.c:129:4: warning: 'dest' may be used uninitialized [-Wmaybe-uninitialized] 129 | UDrawString(dest, dest->color, areawin->topinstance); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:96:13: note: 'dest' was declared here 96 | labelptr dest, source; | ^~~~ text.c:120:28: warning: 'endpart' may be used uninitialized [-Wmaybe-uninitialized] 120 | endpart->nextpart = source->string; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ text.c:94:16: note: 'endpart' was declared here 94 | stringpart *endpart; | ^~~~~~~ tkSimple.c: In function 'Tk_SimpleObjCmd': tkSimple.c:183:8: warning: 'new' may be used uninitialized [-Wmaybe-uninitialized] 183 | if (new == NULL) { | ^ tkSimple.c:145:15: note: 'new' was declared here 145 | Tk_Window new; | ^~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o cairo.o cairo.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -pedantic -Wall -Wextra -c -o utf8encodings.o utf8encodings.c cairo.c: In function 'UDrawArc': cairo.c:587:55: warning: using floating-point absolute value function 'fabs' when argument is of integer type 'short int' [-Wabsolute-value] 587 | cairo_move_to(areawin->cr, thearc->position.x + fabs(thearc->radius) | ^~~~ cairo.c:592:15: warning: using floating-point absolute value function 'fabs' when argument is of integer type 'short int' [-Wabsolute-value] 592 | + fabs(thearc->radius) * cos(theta), thearc->position.y); | ^~~~ cairo.c:594:55: warning: using floating-point absolute value function 'fabs' when argument is of integer type 'short int' [-Wabsolute-value] 594 | cairo_line_to(areawin->cr, thearc->position.x + fabs(thearc->radius) | ^~~~ cairo.c: At top level: cairo.c:1336:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1336 | (int (*)(void*, void*)) gs_display_dummy, /* display_open */ | ^ cairo.c:1337:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1337 | (int (*)(void*, void*)) gs_display_dummy, /* display_preclose */ | ^ cairo.c:1338:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1338 | (int (*)(void*, void*)) gs_display_dummy, /* display_close */ | ^ cairo.c:1339:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *, int, int, int, unsigned int)' [-Wcast-function-type] 1339 | (int (*)(void*, void*, int, int, int, unsigned int)) gs_display_dummy, | ^ cairo.c:1342:5: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, void *)' [-Wcast-function-type] 1342 | (int (*)(void*, void*)) gs_display_dummy, /* display_sync */ | ^ cairo.c:1348:1: warning: missing initializer for field 'display_adjust_band_height' of 'display_callback' {aka 'struct display_callback_s'} [-Wmissing-field-initializers] 1348 | }; | ^ In file included from cairo.c:38: /usr/include/ghostscript/gdevdsp.h:321:11: note: 'display_adjust_band_height' declared here 321 | int (*display_adjust_band_height)(void *handle, void *device, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o menudep menudep.o ./menudep gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" \ -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -IXw -I/usr/include -I/usr/include \ xcwrap.c -c -o xcwrap.o gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o help.o help.c cairo.c: In function 'UDrawPath': cairo.c:652:44: warning: 'xp' may be used uninitialized [-Wmaybe-uninitialized] 652 | if ((thespline->ctrl[0].x != xp->x) || (thespline->ctrl[0].y != xp->y)) | ~~^~~ cairo.c:607:12: note: 'xp' was declared here 607 | XPoint *xp; | ^~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o menucalls.o menucalls.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o parameter.o parameter.c In file included from parameter.c:32: parameter.c: In function 'indicateparams': xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:353:35: note: in expansion of macro 'TOARC' 353 | UDrawCircle(&TOARC(&thiselem)->position, ops->which); | ^~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:356:35: note: in expansion of macro 'TOLABEL' 356 | UDrawCircle(&TOLABEL(&thiselem)->position, ops->which); | ^~~~~~~ xcircuit.h:198:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:359:35: note: in expansion of macro 'TOOBJINST' 359 | UDrawCircle(&TOOBJINST(&thiselem)->position, ops->which); | ^~~~~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:362:34: note: in expansion of macro 'TOPOLY' 362 | UDrawCircle(TOPOLY(&thiselem)->points + k, ops->which); | ^~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:365:35: note: in expansion of macro 'TOSPLINE' 365 | UDrawCircle(&TOSPLINE(&thiselem)->ctrl[k], ops->which); | ^~~~~~~~ parameter.c: In function 'exprsub': xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:500:32: note: in expansion of macro 'TOPATH' 500 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:510:33: note: in expansion of macro 'TOPOLY' 510 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:514:25: note: in expansion of macro 'TOSPLINE' 514 | TOSPLINE(&thiselem)->ctrl[k].x = ival; | ^~~~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:521:32: note: in expansion of macro 'TOPATH' 521 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:531:33: note: in expansion of macro 'TOPOLY' 531 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:535:25: note: in expansion of macro 'TOSPLINE' 535 | TOSPLINE(&thiselem)->ctrl[k].y = ival; | ^~~~~~~~ parameter.c: In function 'epsubstitute': xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:649:29: note: in expansion of macro 'TOPATH' 649 | pgen = TOPATH(&thiselem)->plist; | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:657:34: note: in expansion of macro 'TOPATH' 657 | for (pgen = TOPATH(&thiselem)->plist; pgen < | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:658:33: note: in expansion of macro 'TOPATH' 658 | TOPATH(&thiselem)->plist + | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:659:33: note: in expansion of macro 'TOPATH' 659 | TOPATH(&thiselem)->parts; pgen++) { | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:675:29: note: in expansion of macro 'TOPATH' 675 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:688:30: note: in expansion of macro 'TOPOLY' 688 | setpt = TOPOLY(&thiselem)->points; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:690:38: note: in expansion of macro 'TOPOLY' 690 | for (i = 0; i < TOPOLY(&thiselem)->number; i++) { | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:691:33: note: in expansion of macro 'TOPOLY' 691 | setpt = TOPOLY(&thiselem)->points + i; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:696:30: note: in expansion of macro 'TOPOLY' 696 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:702:32: note: in expansion of macro 'TOSPLINE' 702 | setpt = &(TOSPLINE(&thiselem)->ctrl[0]); | ^~~~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:705:35: note: in expansion of macro 'TOSPLINE' 705 | setpt = &(TOSPLINE(&thiselem)->ctrl[i]); | ^~~~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:710:22: note: in expansion of macro 'TOSPLINE' 710 | TOSPLINE(&thiselem)->ctrl[k].x = ival; | ^~~~~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:715:19: note: in expansion of macro 'TOLABEL' 715 | TOLABEL(&thiselem)->position.x = ival; | ^~~~~~~ xcircuit.h:198:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:718:19: note: in expansion of macro 'TOOBJINST' 718 | TOOBJINST(&thiselem)->position.x = ival; | ^~~~~~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:721:19: note: in expansion of macro 'TOARC' 721 | TOARC(&thiselem)->position.x = ival; | ^~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:730:29: note: in expansion of macro 'TOPATH' 730 | pgen = TOPATH(&thiselem)->plist; | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:738:34: note: in expansion of macro 'TOPATH' 738 | for (pgen = TOPATH(&thiselem)->plist; pgen < | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:739:33: note: in expansion of macro 'TOPATH' 739 | TOPATH(&thiselem)->plist + | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:740:33: note: in expansion of macro 'TOPATH' 740 | TOPATH(&thiselem)->parts; pgen++) { | ^~~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:756:29: note: in expansion of macro 'TOPATH' 756 | pgen = TOPATH(&thiselem)->plist + epp->pdata.pathpt[0]; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:769:30: note: in expansion of macro 'TOPOLY' 769 | setpt = TOPOLY(&thiselem)->points; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:771:38: note: in expansion of macro 'TOPOLY' 771 | for (i = 0; i < TOPOLY(&thiselem)->number; i++) { | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:772:33: note: in expansion of macro 'TOPOLY' 772 | setpt = TOPOLY(&thiselem)->points + i; | ^~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:777:30: note: in expansion of macro 'TOPOLY' 777 | setpt = TOPOLY(&thiselem)->points + k; | ^~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:783:32: note: in expansion of macro 'TOSPLINE' 783 | setpt = &(TOSPLINE(&thiselem)->ctrl[0]); | ^~~~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:786:35: note: in expansion of macro 'TOSPLINE' 786 | setpt = &(TOSPLINE(&thiselem)->ctrl[i]); | ^~~~~~~~ menucalls.c: In function 'setwwidth': xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:791:22: note: in expansion of macro 'TOSPLINE' 791 | TOSPLINE(&thiselem)->ctrl[k].y = ival; | ^~~~~~~~ menucalls.c:557:13: warning: 'oldwidth' may be used uninitialized [-Wmaybe-uninitialized] 557 | if (oldwidth != tmpres) | ^ menucalls.c:519:22: note: 'oldwidth' was declared here 519 | float tmpres, oldwidth; | ^~~~~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:796:19: note: in expansion of macro 'TOLABEL' 796 | TOLABEL(&thiselem)->position.y = ival; | ^~~~~~~ xcircuit.h:198:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:799:19: note: in expansion of macro 'TOOBJINST' 799 | TOOBJINST(&thiselem)->position.y = ival; | ^~~~~~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:802:19: note: in expansion of macro 'TOARC' 802 | TOARC(&thiselem)->position.y = ival; | ^~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:810:19: note: in expansion of macro 'TOPOLY' 810 | TOPOLY(&thiselem)->style = ival; | ^~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:813:19: note: in expansion of macro 'TOSPLINE' 813 | TOSPLINE(&thiselem)->style = ival; | ^~~~~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:816:19: note: in expansion of macro 'TOARC' 816 | TOARC(&thiselem)->style = ival; | ^~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:819:19: note: in expansion of macro 'TOPATH' 819 | TOPATH(&thiselem)->style = ival; | ^~~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:827:19: note: in expansion of macro 'TOLABEL' 827 | TOLABEL(&thiselem)->anchor = ival; | ^~~~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:835:19: note: in expansion of macro 'TOARC' 835 | TOARC(&thiselem)->angle1 = fval; | ^~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:844:19: note: in expansion of macro 'TOARC' 844 | TOARC(&thiselem)->angle1 = fval; | ^~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:853:19: note: in expansion of macro 'TOARC' 853 | TOARC(&thiselem)->radius = ival; | ^~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:854:19: note: in expansion of macro 'TOARC' 854 | TOARC(&thiselem)->yaxis = ival; | ^~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:863:19: note: in expansion of macro 'TOARC' 863 | TOARC(&thiselem)->yaxis = ival; | ^~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:872:19: note: in expansion of macro 'TOLABEL' 872 | TOLABEL(&thiselem)->rotation = fval; | ^~~~~~~ xcircuit.h:198:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:875:19: note: in expansion of macro 'TOOBJINST' 875 | TOOBJINST(&thiselem)->rotation = fval; | ^~~~~~~~~ xcircuit.h:197:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 197 | #define TOLABEL(a) (*((labelptr *)(a))) | ~^~~~~~~~~~~~~~~~ parameter.c:883:19: note: in expansion of macro 'TOLABEL' 883 | TOLABEL(&thiselem)->scale = fval; | ^~~~~~~ xcircuit.h:198:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 198 | #define TOOBJINST(a) (*((objinstptr *)(a))) | ~^~~~~~~~~~~~~~~~~~ parameter.c:886:19: note: in expansion of macro 'TOOBJINST' 886 | TOOBJINST(&thiselem)->scale = fval; | ^~~~~~~~~ xcircuit.h:196:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 196 | #define TOPOLY(a) (*((polyptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:894:19: note: in expansion of macro 'TOPOLY' 894 | TOPOLY(&thiselem)->width = fval; | ^~~~~~ xcircuit.h:200:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 200 | #define TOSPLINE(a) (*((splineptr *)(a))) | ~^~~~~~~~~~~~~~~~~ parameter.c:897:19: note: in expansion of macro 'TOSPLINE' 897 | TOSPLINE(&thiselem)->width = fval; | ^~~~~~~~ xcircuit.h:199:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 199 | #define TOARC(a) (*((arcptr *)(a))) | ~^~~~~~~~~~~~~~ parameter.c:900:19: note: in expansion of macro 'TOARC' 900 | TOARC(&thiselem)->width = fval; | ^~~~~ xcircuit.h:201:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 201 | #define TOPATH(a) (*((pathptr *)(a))) | ~^~~~~~~~~~~~~~~ parameter.c:903:19: note: in expansion of macro 'TOPATH' 903 | TOPATH(&thiselem)->width = fval; | ^~~~~~ parameter.c: In function 'unmakeparam': parameter.c:2373:14: warning: unused variable 'testop' [-Wunused-variable] 2373 | oparamptr testop; | ^~~~~~ menucalls.c: In function 'setallstylemarks': menucalls.c:901:25: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 901 | sprintf(fstr, "%d", fillfactor); | ^~ menucalls.c:901:24: note: directive argument in the range [-2147483648, 99] 901 | sprintf(fstr, "%d", fillfactor); | ^~~~ In file included from /usr/include/stdio.h:906, from menucalls.c:9: In function 'sprintf', inlined from 'setallstylemarks' at menucalls.c:901:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 12 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 ()); | ~~~~~~~~~~~~~~~~~ menucalls.c: In function 'setelementstyle': menucalls.c:1010:35: warning: 'estyle' may be used uninitialized [-Wmaybe-uninitialized] 1010 | oldstyle = newstyle = *estyle; | ^~~~~~~ menucalls.c:995:20: note: 'estyle' was declared here 995 | short *estyle; | ^~~~~~ parameter.c: In function 'exprsub': parameter.c:535:56: warning: 'ival' may be used uninitialized [-Wmaybe-uninitialized] 535 | TOSPLINE(&thiselem)->ctrl[k].y = ival; parameter.c:476:11: note: 'ival' was declared here 476 | int k, ival; | ^~~~ parameter.c: In function 'epsubstitute': parameter.c:863:43: warning: 'ival' may be used uninitialized [-Wmaybe-uninitialized] 863 | TOARC(&thiselem)->yaxis = ival; parameter.c:556:14: note: 'ival' was declared here 556 | int i, k, ival, diff; | ^~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o python.o python.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o rcfile.o rcfile.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o schema.o schema.c parameter.c: In function 'makenumericalp': parameter.c:1689:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 1689 | sprintf(new_key, "%s%d", getnumericalpkey(mode), pidx); | ^~ parameter.c:1689:27: note: directive argument in the range [-2147483647, 2147483647] 1689 | sprintf(new_key, "%s%d", getnumericalpkey(mode), pidx); | ^~~~~~ In file included from /usr/include/stdio.h:906, from parameter.c:11: In function 'sprintf', inlined from 'makenumericalp' at parameter.c:1689:10: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 12) into a destination of size 7 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ schema.c: In function 'checkpagename': schema.c:212:49: warning: ':2' directive writing 2 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 212 | sprintf(thispageobj->name, "%s:2", thispageobj->name); | ^~ In file included from /usr/include/stdio.h:906, from schema.c:10: In function 'sprintf', inlined from 'checkpagename' at schema.c:212:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 82 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 5 overlaps destination object 'thispageobj' [-Wrestrict] schema.c: In function 'checkpagename': schema.c:173:29: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 173 | int checkpagename(objectptr thispageobj) | ~~~~~~~~~~^~~~~~~~~~~ schema.c:206:13: warning: 'thispage' may be used uninitialized [-Wmaybe-uninitialized] 206 | if (p == thispage) continue; | ^ schema.c:175:11: note: 'thispage' was declared here 175 | int p, thispage; | ^~~~~~~~ schema.c: In function 'connectivity': schema.c:352:60: warning: 'snew' may be used uninitialized [-Wmaybe-uninitialized] 352 | Tcl_SetObjResult(xcinterp, Tcl_NewStringObj(snew, strlen(snew))); | ^~~~~~~~~~~~ schema.c:254:10: note: 'snew' was declared here 254 | char *snew; | ^~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o tclxcircuit.o tclxcircuit.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o xcircuit.o xcircuit.c tclxcircuit.c: In function 'tcl_vprintf': tclxcircuit.c:148:19: warning: variable 'result' set but not used [-Wunused-but-set-variable] 148 | int i, nchars, result, escapes = 0; | ^~~~~~ xcircuit.c: In function 'getscreenDPI': xcircuit.c:528:18: warning: unused variable 'var' [-Wunused-variable] 528 | char *type, *var; | ^~~ xcircuit.c: In function 'Tcl_GetHandleFromObj': xcircuit.c:1601:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] 1601 | long l; | ^ tclxcircuit.c: In function 'xctcl_label': tclxcircuit.c:4055:49: warning: variable 'jval2' set but not used [-Wunused-but-set-variable] 4055 | int i, idx, idx2, nidx, result, value, jval, jval2; | ^~~~~ tclxcircuit.c:4055:43: warning: variable 'jval' set but not used [-Wunused-but-set-variable] 4055 | int i, idx, idx2, nidx, result, value, jval, jval2; | ^~~~ tclxcircuit.c: In function 'xctcl_doborder': tclxcircuit.c:4745:31: warning: variable 'rval' set but not used [-Wunused-but-set-variable] 4745 | int result, i, idx, value, rval = -1; | ^~~~ tclxcircuit.c: In function 'xctcl_promptsavepage': tclxcircuit.c:7053:14: warning: variable 'pageobj' set but not used [-Wunused-but-set-variable] 7053 | objectptr pageobj; | ^~~~~~~ xcircuit.c: In function 'findnearcolor': xcircuit.c:736:7: warning: 'dist' may be used uninitialized [-Wmaybe-uninitialized] 736 | if (dist > 750000) { | ^ xcircuit.c:704:11: note: 'dist' was declared here 704 | u_long dist, mindist; | ^~~~ xcircuit.c:743:11: warning: 'minidx' may be used uninitialized [-Wmaybe-uninitialized] 743 | return minidx; | ^~~~~~ xcircuit.c:705:8: note: 'minidx' was declared here 705 | int minidx; | ^~~~~~ tclxcircuit.c: In function 'build_app_database': tclxcircuit.c:9857:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 9857 | if (appdata.filefont == NULL) | ^~ tclxcircuit.c:9859:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9859 | if (appdata.filefont == NULL) | ^~ tclxcircuit.c:9859:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] tclxcircuit.c:9861:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9861 | if (appdata.filefont == NULL) { | ^~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o xtfuncs.o xtfuncs.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o xtgui.o xtgui.c tclxcircuit.c: In function 'tcl_vprintf': tclxcircuit.c:177:7: warning: 'strncpy' output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] 177 | strncpy(bigstr, outptr, 24); | ^ tclxcircuit.c:192:7: warning: 'strncpy' output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] 192 | strncpy(finalstr, outptr, 24); | ^ tclxcircuit.c: In function 'xctcl_netlist': tclxcircuit.c:1802:13: warning: 'refptptr' may be used uninitialized [-Wmaybe-uninitialized] 1802 | UTransformbyCTM(&locctm, refptptr, &refpoint, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:1619:28: note: 'refptptr' was declared here 1619 | XPoint refpoint, *refptptr; | ^~~~~~~~ tclxcircuit.c: In function 'xctcl_rotate': tclxcircuit.c:2789:13: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 2789 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:2757:16: note: 'listPtr' was declared here 2757 | Tcl_Obj *listPtr, *objPtr; | ^~~~~~~ tclxcircuit.c: In function 'getanchoring': tclxcircuit.c:3982:17: warning: 'rval' may be used uninitialized [-Wmaybe-uninitialized] 3982 | return (rval & bitfield); | ~~~~~~^~~~~~~~~~~ tclxcircuit.c:3935:11: note: 'rval' was declared here 3935 | int i, rval; | ^~~~ tclxcircuit.c: In function 'xctcl_doborder': tclxcircuit.c:4824:25: warning: 'objPtr' may be used uninitialized [-Wmaybe-uninitialized] 4824 | Tcl_ListObjAppendElement(interp, listPtr, objPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:4810:25: note: 'objPtr' was declared here 4810 | Tcl_Obj *objPtr, *listPtr = NULL; | ^~~~~~ tclxcircuit.c:4888:17: warning: 'mask' may be used uninitialized [-Wmaybe-uninitialized] 4888 | rval = setelementstyle((Tk_Window)clientData, (u_short)value, mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:4746:12: note: 'mask' was declared here 4746 | u_short mask; | ^~~~ tclxcircuit.c:4888:17: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 4888 | rval = setelementstyle((Tk_Window)clientData, (u_short)value, mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:4745:24: note: 'value' was declared here 4745 | int result, i, idx, value, rval = -1; | ^~~~~ tclxcircuit.c: In function 'xctcl_instance': tclxcircuit.c:5992:19: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 5992 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5970:22: note: 'listPtr' was declared here 5970 | Tcl_Obj *listPtr; | ^~~~~~~ tclxcircuit.c:6046:19: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 6046 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:6015:22: note: 'listPtr' was declared here 6015 | Tcl_Obj *listPtr, *coord; | ^~~~~~~ tclxcircuit.c:5946:19: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 5946 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5922:22: note: 'listPtr' was declared here 5922 | Tcl_Obj *listPtr; | ^~~~~~~ tclxcircuit.c:5900:19: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 5900 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5873:22: note: 'listPtr' was declared here 5873 | Tcl_Obj *listPtr, *coord; | ^~~~~~~ tclxcircuit.c:5860:19: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 5860 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5839:22: note: 'listPtr' was declared here 5839 | Tcl_Obj *listPtr; | ^~~~~~~ tclxcircuit.c:5762:19: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 5762 | Tcl_SetObjResult(interp, listPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:5741:22: note: 'listPtr' was declared here 5741 | Tcl_Obj *listPtr; | ^~~~~~~ tclxcircuit.c: In function 'xctcl_tech': tclxcircuit.c:8454:28: warning: 'technology' may be used uninitialized [-Wmaybe-uninitialized] 8454 | if (!usertech) AddNewTechnology(technology, filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:8107:10: note: 'technology' was declared here 8107 | char *technology, *filename, *libobjname; | ^~~~~~~~~~ tclxcircuit.c: In function 'evaluate_raw': tclxcircuit.c:9147:45: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 9147 | snprintf(promoted, 12, "%g", ips->parameter.fvalue); | ^ In file included from /usr/include/stdio.h:906, from tclxcircuit.c:10: In function 'snprintf', inlined from 'evaluate_raw' at tclxcircuit.c:9147:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 14 bytes into a destination of size 12 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from tclxcircuit.c:30: tclxcircuit.c: In function 'evaluate_raw': tclxcircuit.c:9159:30: warning: 'promoted' may be used uninitialized [-Wmaybe-uninitialized] 9159 | (max(strlen(promoted), strlen(pkey)))); tclxcircuit.c:9077:20: note: 'promoted' was declared here 9077 | char psave, *promoted, *newexpr; | ^~~~~~~~ tclxcircuit.c: In function 'GetParameterValue': tclxcircuit.c:2848:13: warning: 'robj' may be used uninitialized [-Wmaybe-uninitialized] 2848 | Tcl_Obj *robj; | ^~~~ tclxcircuit.c: In function 'xctcl_element': tclxcircuit.c:6145:13: warning: 'listPtr' may be used uninitialized [-Wmaybe-uninitialized] 6145 | Tcl_ListObjAppendElement(interp, listPtr, objPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:6076:13: note: 'listPtr' was declared here 6076 | Tcl_Obj *listPtr; | ^~~~~~~ tclxcircuit.c: In function 'xctcl_config': tclxcircuit.c:6912:13: warning: 'curpage' may be used uninitialized [-Wmaybe-uninitialized] 6912 | setdscale(NULL, &(curpage->drawingscale)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxcircuit.c:6381:14: note: 'curpage' was declared here 6381 | Pagedata *curpage; | ^~~~~~~ tclxcircuit.c: In function 'W0vprintf': tclxcircuit.c:10337:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 10337 | strncpy(bigstr, tstr, size); | ^ tclxcircuit.c:10329:14: note: length computed here 10329 | size = strlen(tstr); | ^~~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_page': tclxcircuit.c:7997:16: warning: 'astr' may be used uninitialized [-Wmaybe-uninitialized] 7997 | if (newstr == astr) free(astr); | ^ tclxcircuit.c:7295:29: note: 'astr' was declared here 7295 | char *filename, *froot, *astr; | ^~~~ tclxcircuit.c:7953:29: warning: 'pageobj' may be used uninitialized [-Wmaybe-uninitialized] 7953 | if (!strcmp(pageobj->name, _STR2)) return TCL_OK; /* no change in string */ | ~~~~~~~^~~~~~ tclxcircuit.c:7300:14: note: 'pageobj' was declared here 7300 | objectptr pageobj; | ^~~~~~~ rm -f lib/tcl/xcircuit.so gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -Wl,-z,relro -Wl,--as-needed -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 -shared -fPIC -Wl,-soname,lib/tcl/xcircuit.so -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -o lib/tcl/xcircuit.so -Wl,-z,relro -Wl,--as-needed -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 -Wl,--export-dynamic -Wl,--version-script=symbol.map xcwrap.o \ elements.o events.o filelist.o files.o flate.o fontfile.o formats.o functions.o graphic.o help.o keybindings.o libraries.o menucalls.o netlist.o ngspice.o parameter.o python.o rcfile.o render.o schema.o selection.o svg.o text.o undo.o tclxcircuit.o tkSimple.o xcircuit.o xtfuncs.o xtgui.o cairo.o utf8encodings.o \ -Wl,-z,relro -Wl,--as-needed -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 -lc -ldl -lz -lpthread -lm -lz -lXt -lSM -lICE -lm -lX11 -lXpm -lcairo -lfontconfig -lfreetype -lgs \ -L/usr/lib64 -ltcl8.6 -L/usr/lib64 -ltk8.6 -lm /usr/bin/ld: /tmp/ccjXcyff.ltrans4.ltrans.o: in function `xctcl_svg': /builddir/build/BUILD/xcircuit-3.10.30/svg.c:223: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' make lib/tcl/xcircuit.sh make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' sed -e '/XCLIBDIR/s#XCLIBDIR#/usr/lib64/xcircuit-3.10#' \ -e '/WRAPPER_INIT/s/WRAPPER_INIT/xcircuit.tcl/' \ -e '/CONSOLE_SCRIPT/s/CONSOLE_SCRIPT/console.tcl/' \ -e '/CONSOLE/s/CONSOLE/tkcon.tcl/' \ -e '/PROG_VERSION/s/PROG_VERSION/3.10/' \ -e '/PROG_REVISION/s/PROG_REVISION/30/' \ -e '/TCLLIBDIR/s#TCLLIBDIR#/usr/lib64 #' \ -e '/WISH_EXE/s#WISH_EXE#/usr/bin/wish#' \ lib/tcl/xcircuit.sh.in > lib/tcl/xcircuit.sh chmod 0755 lib/tcl/xcircuit.sh make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' make lib/tcl/xcircuit.tcl make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' sed -e '/LIBDIR/s#LIBDIR#/usr/lib64/xcircuit-3.10#' \ -e '/SCRIPTSDIR/s#SCRIPTSDIR#/usr/lib64/xcircuit-3.10#' \ lib/tcl/xcircuit.tcl.in > lib/tcl/xcircuit.tcl chmod 0755 lib/tcl/xcircuit.tcl make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' make xcircexec make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o xcircexec.o xcircexec.c rm -f ./xcircexec gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -IXw -I/usr/include -I/usr/include \ xcircexec.c -o xcircexec -L/usr/lib64 -ltcl8.6 -L/usr/lib64 -ltk8.6 \ -Wl,-z,relro -Wl,--as-needed -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 -ldl -lz -lpthread -lm -lz -lXt -lSM -lICE -lm -lX11 -lXpm -lcairo -lfontconfig -lfreetype -lgs -lm make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' make xcircdnull make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -IXw -I/usr/include -I/usr/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -c -o xcircdnull.o xcircdnull.c rm -f ./xcircdnull gcc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-pointer-sign -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.10\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_LIBXT=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DHAVE_CAIRO=1 -DHAVE_GHOSTSCRIPT_GDEVDSP_H=1 -DHAVE_GS=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -DPROG_VERSION=\"3.10\" -DPROG_REVISION=\"30\" -DCAD_DIR=\"/usr/lib64\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/usr/lib64/xcircuit-3.10/app-defaults\" -DSCRIPTS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_DIR=\"/usr/lib64/xcircuit-3.10\" -DBUILTINS_FILE=\"\" -DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/usr/lib64/xcircuit-3.10\" -DPROLOGUE_FILE=\"xcircps2.pro\" -DCYRILLIC_ENC_FILE=\"cyrillic.enc\" -DISOLATIN2_ENC_FILE=\"isolatin2.enc\" -DISOLATIN5_ENC_FILE=\"isolatin5.enc\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -IXw -I/usr/include -I/usr/include \ xcircdnull.c -o xcircdnull -L/usr/lib64 -ltcl8.6 -L/usr/lib64 -ltk8.6 \ -Wl,-z,relro -Wl,--as-needed -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 -ldl -lz -lpthread -lm -lz -lXt -lSM -lICE -lm -lX11 -lXpm -lcairo -lfontconfig -lfreetype -lgs -lm make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' make[1]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cBgq00 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 xcircuit-3.10.30 + make 'INSTALL=install -p' DESTDIR=/builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64 install Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' make install-tcl make[1]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' Installing standard XCircuit library files make install-data-local make[2]: Entering directory '/builddir/build/BUILD/xcircuit-3.10.30' Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' sed -e '/LIBDIR/s#LIBDIR#/usr/lib64#' \ -e "/^LGF/s/^LGF //" \ -e "/^TCL/s/^TCL //" \ -e '/^PYTHON /d' \ -e '/^TCL /d' \ -e '/^LGF /d' \ -e '/^NOINTERP /d' \ lib/xcircuit.1.in > lib/xcircuit.1 Installing app-defaults file /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/app-defaults mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64 mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10 mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/app-defaults /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/man mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/man install -p -m 644 lib/XCircuit.ad /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/app-defaults/XCircuit install -p -m 644 lib/xcircuit.1 /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/man/xcircuit.1 Installing library and netlist files /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10 ( cd lib ; for i in xcircps2.pro cyrillic.enc isolatin2.enc isolatin5.enc *.lps *.cir; do \ install -p -m 644 $i /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10; \ done ) ( cd lib/tcl ; for i in xcstartup.tcl; do \ install -p -m 644 $i /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10; \ done ) Installing .lps font files /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/fonts mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/fonts for i in courier courieriso2 courieriso5 helvetica helveticaiso2 helveticaiso5 myfont symbol times_roman times_romaniso2 times_romaniso5; do \ install -p -m 644 lib/fonts/$i.lps /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/fonts; \ done Installing .xfe font files for i in courier courieriso courieriso2 courieriso5 courier_cyrillic helvetica helveticaiso helveticaiso2 helveticaiso5 helvetica_cyrillic times_roman times_romaniso times_romaniso2 times_romaniso5 times_roman_cyrillic myfont symbol; do \ install -p -m 644 lib/fonts/$i.xfe /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/fonts; \ done Installing scripts (if option enabled) if test "" != ""; then \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/python; \ for i in spice gettext pagebbox; do \ install -p -m 644 lib/python/$i.py \ /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/python; \ done; \ fi make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' Installing Tcl files /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10 /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10 ( cd lib/tcl ; for i in xcircuit.so *.tcl ; do \ install -p -m 644 $i /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10; \ done ) install -p -m 644 xcircexec /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10 install -p -m 644 xcircdnull /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10 chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/tkcon.tcl chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/console.tcl chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/xcircuit.so chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/xcircexec chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/xcircdnull if test ".so" != ".so"; then \ ( cd /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10; \ rm -f xcircuit.so ; \ ln -s xcircuit.so xcircuit.so ) ; \ fi Installing GIF images /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/pixmaps mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/pixmaps ( cd lib/pixmaps ; for i in `ls *.gif *.xbm *.ico` ; do \ install -p -m 644 $i /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/pixmaps; \ done ) Installing shell script as xcircuit executable /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/bin install -p -m 644 lib/tcl/xcircuit.sh /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/bin/xcircuit chmod 0755 /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/bin/xcircuit make[1]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' + make install-man mandir=/builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/man Makefile:1030: warning: overriding recipe for target 'all-recursive' Makefile:606: warning: ignoring old recipe for target 'all-recursive' Makefile:1033: warning: overriding recipe for target 'install-recursive' Makefile:606: warning: ignoring old recipe for target 'install-recursive' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 lib/xcircuit.1 '/builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/man/man1' + rm -rf examples/win32 + chmod -x examples/FlareLED.ps examples/USAflag.ps examples/analog1.ps examples/analog2.ps examples/analoglib1.lps examples/border.ps examples/buses.ps examples/diffamp_test.ps examples/diffamp_test2.ps examples/diffamp_test3.ps examples/envelope.ps examples/fourttest.ps examples/logic.sim examples/logic8.ps examples/panzoom.py examples/prelude.ps examples/systemd1.lgf examples/test.py examples/threestage.ps examples/vcoblock.ps examples/xc_remote.sh examples/xcclock.ps + mkdir -p /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/icons/hicolor/32x32/apps/ + install -cpm 0644 /builddir/build/SOURCES/xcircuit.png /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/icons/hicolor/32x32/apps/xcircuit.png + sed -i '7 a\export TCLLIBPATH=/usr/lib64' /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/bin/xcircuit + desktop-file-install --vendor '' --dir /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/applications /builddir/build/SOURCES/xcircuit.desktop + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.10.30-5.fc38 --unique-debug-suffix -3.10.30-5.fc38.x86_64 --unique-debug-src-base xcircuit-3.10.30-5.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xcircuit-3.10.30 extracting debug info from /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/xcircdnull extracting debug info from /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/xcircexec extracting debug info from /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/lib64/xcircuit-3.10/xcircuit.so original debug info size: 2116kB, size after compression: 1872kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 4402 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xcircuit-3.10.30-5.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1Kv6Sw + umask 022 + cd /builddir/build/BUILD + cd xcircuit-3.10.30 + DOCDIR=/builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/doc/xcircuit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/doc/xcircuit + cp -pr CHANGES /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/doc/xcircuit + cp -pr README README.CharEncoding README.Tcl README.ngspice README.notes /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/doc/xcircuit + cp -pr TODO /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/doc/xcircuit + cp -pr examples/ /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/doc/xcircuit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CJ38g4 + umask 022 + cd /builddir/build/BUILD + cd xcircuit-3.10.30 + LICENSEDIR=/builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/licenses/xcircuit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/licenses/xcircuit + cp -pr COPYRIGHT /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64/usr/share/licenses/xcircuit + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(xcircuit.desktop) lib/tcl/xcircuit.so()(64bit) lib/tcl/xcircuit.so(XCIRCUIT_3.8)(64bit) xcircuit = 3.10.30-5.fc38 xcircuit(x86-64) = 3.10.30-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libgs.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: xcircuit-debugsource-3.10.30-5.fc38.x86_64 Provides: xcircuit-debugsource = 3.10.30-5.fc38 xcircuit-debugsource(x86-64) = 3.10.30-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xcircuit-debuginfo-3.10.30-5.fc38.x86_64 Provides: debuginfo(build-id) = 61728fc9603e6b6f71c5187b6776dc9310444ffb debuginfo(build-id) = 98ab45b7d996ec30334e5392039a6660c19444ab debuginfo(build-id) = be12398417230c756a464d4cc24ab305f4ed8788 xcircuit-debuginfo = 3.10.30-5.fc38 xcircuit-debuginfo(x86-64) = 3.10.30-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xcircuit-debugsource(x86-64) = 3.10.30-5.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64 Wrote: /builddir/build/RPMS/xcircuit-3.10.30-5.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xcircuit-debugsource-3.10.30-5.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xcircuit-debuginfo-3.10.30-5.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.L1CufK + umask 022 + cd /builddir/build/BUILD + cd xcircuit-3.10.30 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xcircuit-3.10.30-5.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.FzmOtB + umask 022 + cd /builddir/build/BUILD + rm -rf xcircuit-3.10.30 xcircuit-3.10.30.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0